Magento magento-certified-professional-cloud-developer practice test

ud-Developer Exam Question & Answers


Question 1

You have created a new Integration branch and did not receive the administrator email with the
password reset link. What is prohibiting the email from sending?

  • A. You have not enabled the Magento Email module with bin/magento module: enable
  • B. The Outgoing Emails setting is disabled under Environment Settings in the Project Web Ul
  • C. Email is always disabled on all integration branches
  • D. You have not configured SendGrid tor this environment
Answer:

B

Discussions
0 / 600

Question 2

To secure composer credentials you want to remove the auch. Json file from the project repository
How do you do that?

  • A. The build phase runs on a separate server and variables are not available there you must keep the credentials in the auth. j son file, but you can replace the password with its hash
  • B. Add the env:coMPOSER_AUTH variable on the project level and make it visible on the build phase
  • C. Put the composer credentials into/mnt/build/.config/composer/auth.json
  • D. Add the composer_auth variable with the sensitive option enabled
Answer:

B

Discussions
0 / 600

Question 3

A merchant with three websites using en_GB. fr_FR and de_AT requires a change in locale to de_DE
for the German Production website After running the following command on Production you notice
the frontend design of the German website is broken:
Php bin/magento config:set scope=websites scopes code=germ general /local./code de_DE
Static content deployment is set up to on the deploy phase
Why did this happen?

  • A. Static Content is not pre-generated for the de_DE locale
  • B. de_DE is not writeable in pub/static and has to be configured via the .magento.app.yaml file
  • C. The magento-cloud environment: deploy command has not been run yet to generate static content for the new locale
  • D. STA"IC_CONTENT_SYKLINK is not Configured in the .magento.env.yaml file
Answer:

A

Discussions
0 / 600

Question 4

You want to improve the ability to monitor Production deployments by setting up an email
notification system How do you achieve this?

  • A. Enable Deployment Notifications under Configure Environment > Settings in the Protect Web
  • B. Build a custom module which hooks into the deployment phase and sends emails in real-time
  • C. Configure log notifications in the .magento.env.yaml file
  • D. Use the magento-cloud environment:deploy:email command to enable email notifications
Answer:

B

Discussions
0 / 600

Question 5

After making changes lo custom commands in the deploy and build phases you deploy to Staging.
The deployment takes much longer than expected, and Staging is in maintenance mode tor most of
this time.
What do you do to reduce site downtime?

  • A. Set the SKIP_MAINTENANCE_SCD variable to true In the . magento. env. yaml file
  • B. Add a custom command to the post_deploy phase to activate deferred deployment
  • C. Move custom commands from the deploy phase to the build phase.
  • D. Update the SCD_MATRIX variable to include only necessary custom commands
Answer:

C

Discussions
0 / 600

Question 6

The merchant wants to offer specific pricing in different currency markets so you have set up multiple
websites to cover each currency.
Now they want customers to be directed to the appropriate website based on the country they are
in.
How do you configure this?

  • A. Use the Country Mapping in the Fastly settings to map country codes to store views
  • B. In the Project Web UI. enable the Website IP Mapping setting
  • C. Update magento-vars.php to detect the country code from the IP address and map it
  • D. Build or install a Magento extension that changes the default currency code on application init
Answer:

A

Discussions
0 / 600

Question 7

Your project is in a phase where the locales that will be used are still being determined. You need to
configure your project in a manner that will allow them to be changed dynamically
How can you accomplish this?

  • A. Remove the system/default/general/locale configuration from the app/etc/config.php file
  • B. Configure SCD_ON_DEMAND to true in the .magento.env.yaml file
  • C. Run the command vendor/bin/ece-tools locales:unlock on the environment
  • D. Configure DYNAMIC_LOCALES in the SCD_MATRIX to true in the . magento. env. yarn! file
Answer:

B

Discussions
0 / 600

Question 8

After installing a Magento extension that implements a new class for a site and deploying this to an
integration environment you see it is not working.

In the logs you discover the following error:
How do you fix this?

  • A. A support ticket should be riled with Magento Commerce Cloud to fix the filesystem issue
  • B. The extension should be modified so it does not write to generated at runtime
  • C. The file should be generated locally and pushed via Git
  • D. The generated_code_WRITABLE variable should be set to true whenever using extensions
Answer:

A

Discussions
0 / 600

Question 9

You are testing an integration to an external service that requires you to configure an access key in an
environment variable. You created a new environment to validate the functionality The variable
must only impact this environment
How do you configure the variable?

  • A. Use the magento-cloud CLl utility with the environment inheritable and level flags
  • B. Add the variable to the variables section under Project Settings specifying inheritance level
  • C. Add the variable to the .magento.env.yaml file specifying the environment and inheritable
  • D. Use vendor/bin/ece-tools to generate a local config.phpfile and commit the setting
Answer:

B

Discussions
0 / 600

Question 10

You need to get code with a backend order placement security related fix into production as quickly
as possible.
The project currently deploys static content during the build phase with both stags/global/SKIP_SCD
and stage/deploy/STATIC_STATIC_CONTENT_SYMLINK set to false.
What setting in .magento,env,yaml minimizes the overall deployment time?

  • A. Remove all themes from stages/global/SCD_MATRIX so they will not be generated
  • B. Set stage/global/Static_CONTENT_SYMLINK to true to symlink static assets to the init directory
  • C. Set stage/global/SCD_COMPRESSION_LEVEL to 0 to avoid the compression overhead
  • D. Set stage/global/SKIP_SCD to true to completely avoid static content processing
Answer:

B

Discussions
0 / 600
To page 2