Latest Magento-Certified-Professional-Cloud-Developer Practice Tests with Actual Questions

Get Complete pool of questions with Premium PDF and Test Engine

Exam Code : Magento-Certified-Professional-Cloud-Developer
Exam Name : Magento Certified Professional Cloud Developer
Vendor Name : "Magento"







Magento-Certified-Professional-Cloud-Developer Dumps Magento-Certified-Professional-Cloud-Developer Braindumps Magento-Certified-Professional-Cloud-Developer Real Questions Magento-Certified-Professional-Cloud-Developer Practice Test Magento-Certified-Professional-Cloud-Developer dumps free


Magento


Magento-Certified-Professional-Cloud-Developer


Magento Certified Professional Cloud Developer


https://killexams.com/pass4sure/exam-detail/Magento-Certified-Professional-Cloud-Developer


QUESTION 53

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:

The specified /app/generated/code/MyCompany/MyModule/MyClassFactory.php could not be written failed to open stream: Read-only file system


How do you fix this?


  1. A support ticket should be filed with Magento Commerce Cloud to fix the filesystem issue.

  2. The extension should be modified so it does not write to generated at runtime.

  3. The file should be generated locally and pushed via Git.

  4. The GENERATED_CODE_WRITABLE variable should be set to true whenever using extensions.


Correct

Answer: B


Reference: https://support.magento.com/hc/en-us/articles/115002541893-Error-read-only-file-system-when-accessing-the-read-only-directory-var-generation-


QUESTION 54

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?

  1. Remove the system/default/general/locale configuration from the app/etc/config.php file

  2. Configure SCD_ON_DEMAND to true in the .magento.env.yaml file

  3. Run the command vendor/bin/ece-tools locales:unlock on the environment

  4. Configure DYNAMIC_LOCALES in the SCD_MATRIX to true in the .magento.env.yaml file


Correct

Answer: B


Reference: https://devdocs.magento.com/cloud/live/sens-data-over.html


QUESTION 55

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?


  1. Use the Country Mapping in the Fastly settings to map country codes to store views.

  2. In the Project Web UI, enable the Website IP Mapping setting.

  3. Update magento-vars.php to detect the country code from the IP address and map it.

  4. Build or install a Magento extension that changes the default currency code on application init.


Correct

Answer: D


/R eference:


QUESTION 56 After making changes to 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 for most of this time.


What do you do to reduce site downtime?


  1. Set the SKIP_MAINTENANCE_SCD variable to true in the .magento.env.yaml file.

  2. Add a custom command to the post_deploy phase to activate deferred deployment.

  3. Move custom commands from the deploy phase to the build phase.

  4. Update the SCD_MATRIX variable to include only necessary custom commands.


Correct

Answer: A


QUESTION 57

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

  1. Enable Deployment Notifications under Configure Environment > Settings in the Project Web UI

  2. Build a custom module which hooks into the deployment phase and sends emails in real-time

  3. Configure log notifications in the .magento.env.yaml file

  4. Use the magento-cloud environment:deploy:email command to enable email notifications


Correct

Answer: C


Reference: https://devdocs.magento.com/cloud/env/setup-notifications.html


QUESTION 58

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 --scope-code=german general/locale/code de_DE


Static content deployment is set up on the deploy phase. Why did this happen?

  1. Static Content is not pre-generated for the de_DE locale

  2. de_DE is not writeable in pub/static and has to be configured via the .magento.app.yaml file

  3. The magento-cloud environment:deploy command has not been run yet to generate static content for the new locale

  4. STATIC_CONTENT_SYMLINK is not configured in the .magento.env.yaml file

Correct

Answer: C

Section: (none)


QUESTION 59 To secure composer credentials you want to remove the auth.json file from the project repository.


How do you do that?


  1. The build phase runs on a separate server and variables are not available there, you must keep the credentials in the auth.json file, but you can replace the password with its hash

  2. Add the env:COMPOSER_AUTH variable on the project level and make it visible on the build phase

  3. Put the composer credentials into /mnt/build/.config/composer/auth.json

  4. Add the COMPOSER_AUTH variable with the sensitive option enabled


Correct

Answer: A


QUESTION 60 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?


  1. You have not enabled the Magento Email module with bin/magento module:enable

  2. The Outgoing Emails setting is disabled under Environment Settings in the Project Web UI

  3. Email is always disabled on all integration branches

  4. You have not configured SendGrid for this environment


Correct

Answer: B