Exam Details

  • Exam Code
    :MAGENTO-CERTIFIED-PROFESSIONAL-CLOUD-DEVELOPER
  • Exam Name
    :Magento Certified Professional Cloud Developer
  • Certification
    :Magento 2 Developer Architect
  • Vendor
    :Magento
  • Total Questions
    :60 Q&As
  • Last Updated
    :May 12, 2024

Magento Magento 2 Developer Architect MAGENTO-CERTIFIED-PROFESSIONAL-CLOUD-DEVELOPER Questions & Answers

  • Question 21:

    You add a new Composer dependency utilizing composer require. After testing composer install locally, you add the Composer lock and json files and perform a deployment. The build phase fails as Composer is unable to resolve the dependencies.

    Why did this happen?

    A. The versions of PHP on your local environment and integration environment differ

    B. Your commit needs to contain the updated vendor folder

    C. The project cache should have been cleared with the magento-cloud:project-build-cache command

    D. You did not execute the install locally with --require-dev

  • Question 22:

    You built a custom command that runs during the build phase, but it is not generating files properly. Magento Support provided a patch that you added to the project.

    What must you do to ensure this command runs after the patch has been applied?

    A. Ensure your custom command runs after the ece-tools build hooks.

    B. Move your custom command to run in the deploy phase.

    C. Apply the patch manually in your custom command, because patches are always applied at the end of deployment.

    D. Nothing, because patches are already applied when any hook runs.

  • Question 23:

    Your company decided to move a Magento store to a subdomain https://shop.company.com/ and redirect traffic from the old URL https://company.com/ to the new one. Your company is using the Starter plan.

    How do you implement the redirect?

    A. Configure a rewrite rule in the .htaccess file in the pub folder.

    B. Submit a support ticket to add the redirect on the web-server level.

    C. Add a route using the MAGENTO_CLOUD_ROUTES environment variable.

    D. Add a route into the .magento/routes.yaml configuration file.

  • Question 24:

    You upgraded an integration branch in your Magento Commerce Cloud project, but received an error during the deploy phase.

    What are the two ways to review details about the deployment? (Choose two.)

    A. View the logs in the var/reports/ directory on the remote server

    B. View the exception.log file in the var/log/ directory

    C. View the deploy.log file in the /var/log/ directory

    D. View the cloud.log file in the var/log/ directory

  • Question 25:

    You need to test a data-related issue occurring on your Production environment. You replicate the data to your staging environment utilizing the Synchronization tool. When you access your staging environment, you are redirected to your Production environment. Your project is on the Starter plan.

    How do you prevent the redirect?

    A. Use the magento-cloud route:add command to create a route to the Staging URL

    B. Modify the MAGENTO_CLOUD_ROUTES environment variable on your staging environment

    C. Enter the proper URL in the Routes for Staging under the Environment Settings in the Project Web UI

    D. Configure UPDATE_URLS to true in the .magento.env.yaml file

  • Question 26:

    You fixed an issue in a third-party extension using a patch named m2-hotfixes/extension-fix.patch.

    Before committing the patch to the repository you want to test it locally.

    How do you test a patch in a clean working copy?

    A. Commit the patch because the pre-commit hook will abort the commit if any hotfix causes an issue

    B. Run the command git apply m2-hotfixes/extension-fix.patch

    C. Run the command bin/magento setup:hotfix:apply --patch=m2-hotfixes/extension-fix.patch

    D. Configure a deploy hook in .magento.app.yaml that executes vendor/bin/ece-tools hotfix:apply --dry-run

  • Question 27:

    You want to exclude some themes from static assets generation only for integration environments. You are trying to choose where to set the SCD_EXCLUDE_THEMES variable in the .magento.env.yaml file or in the Project Web UI.

    What prevents the usage of the .magento.env.yaml file?

    A. Child environments inherit the variable when you use the .magento.env.yaml file

    B. The code from integration would be merged into the Staging and Production branches

    C. The .magento.env.yaml file can contain only deployment configuration options, which are only available if static assets generation runs on the deploy phase

    D. Only variables which are set using the Project Web UI has the option visible during build

  • Question 28:

    You cloned the Integration branch to your local environment and imported the database dump from

    Integration. You performed composer install and bin/magento setup:install.

    While placing an order using PayPal Express, the following error occurs:

    PayPal gateway has rejected request. Security header is not valid (#10002: Security error).

    What is the cause of this error?

    A. A new encryption key has been created on the setup:install action.

    B. The folder var/session has no write permissions for the web server user.

    C. PayPal Sandbox API credentials are not valid for the local environment.

    D. The PHP extension mcrypt has not been installed locally.

  • Question 29:

    You are debugging an issue with an extension that only occurs in Production. The extension writes

    relevant information using the debug log level.

    However, that specific information is not getting written to the logs on Production.

    How do you fix this?

    A. Enable developer mode in Production for a short period to gather the required information

    B. Write a custom logger that writes the debug information to var/log/custom.log

    C. Enable debug logging in app/etc/config.php locally and deploy it to Production

    D. Enable debug logging in the Admin interface in Production

  • Question 30:

    You created a custom module that is not functioning as expected on your Integration environment. You would like to debug the code using Xdebug. Xdebug is missing from the output of the command php -m.

    What are two ways to load the Xdebug module? (Choose two.)

    A. Create a custom php.ini that includes the extension

    B. You log a support request as PHP modules can only be installed by support

    C. Add xdebug into the .magento.app.yaml file under the extensions section

    D. In the phpserver folder, create a folder conf.d and add a file ext-xdebug.ini that includes the extension

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Magento exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your MAGENTO-CERTIFIED-PROFESSIONAL-CLOUD-DEVELOPER exam preparations and Magento certification application, do not hesitate to visit our Vcedump.com to find your solutions here.