Vcehome > Magento > Magento 2 Developer Architect > MAGENTO-CERTIFIED-PROFESSIONAL-CLOUD-DEVELOPER > MAGENTO-CERTIFIED-PROFESSIONAL-CLOUD-DEVELOPER Online Practice Questions and Answers

MAGENTO-CERTIFIED-PROFESSIONAL-CLOUD-DEVELOPER Online Practice Questions and Answers

Questions 4

You need to increase the Admin Session Lifetime up to 86400 seconds for the branch named Integration and children branches, but not for the Staging and Production branches.

How do you update this on the Integration branch and its child branches?

A. On your local environment, set the Admin Session Lifetime in the Magento admin backend under Stores > Configuration > Advanced > Admin > Security then dump this setting into the app/etc/ config.php file and commit this file

B. Add the following variable on the Integration branch and set its value to 86400: env:CONFIG_STORES_DEFAULT_ADMIN_SECURITY_SESSION_LIFETIME

C. Run the following Magento CLI command: php bin/magento config:set admin/security/session_lifetime 86400

D. On the Integration environment, set the Admin Session Lifetime in the Magento admin backend under Stores > Configuration > Advanced > Admin > Security

Browse 60 Q&As
Questions 5

You are upgrading a project to the latest version of Magento Commerce Cloud and part of the process involves a PHP version upgrade. This is now ready to be tested by the QA Team on the Integration environment.

How do you apply the PHP version upgrade?

A. Change the PHP version in the .magento.app.yaml file and re-deploy

B. SSH into the Integration environment and upgrade PHP manually

C. Change the PHP_VERSION configuration in the .magento.env.yaml file and re-deploy

D. Use the magento-cloud CLI tool to update the PHP_VERSION variable

Browse 60 Q&As
Questions 6

You are adding a new website to the Magento store you manage. This website will run on the same instance of Magento to take advantage of shared integration processes

When accessing the new website URL, it redirects to the original website. The files in /media/ and /static/ do not redirect. The correct URL is present in the website configuration.

What step must you complete for the URL to stop redirecting?

A. Deploy an updated app/etc/config.php that includes the website URL.

B. In the Project Web UI, add a separate branch for the new website, and set the URL in the appropriate branch variable.

C. Deploy an updated magento-vars.php that maps the hostname to the website code.

D. In the Project Web UI, add a JSON variable mapping website codes to URLs.

Browse 60 Q&As
Questions 7

A merchant using Magento Commerce Cloud Pro reports an issue with an order missing transaction data. The application uses a payment gateway integration which posts a series of callbacks to Magento.

You would like to retrieve a complete list of calls to build a timeline of what happened.

How do you achieve this?

A. Use the magento-cloud environment:logs command to retrieve the access.log file from Production

B. Use SSH to access all nodes and investigate the access.log files

C. Use the magento-cloud environment:ssh command to access the environment and investigate the access.log file

D. View the access.log file in the Project Web UI

Browse 60 Q&As
Questions 8

You have a project deploying Static Content on the deploy phase. This process is optimized using the SCD_MATRIX configuration in the deploy stage of the .magento.env.yaml file.

After moving the process to the build phase, Static Content Deployment is no longer optimized and all themes and all locales are generating.

How do you resolve this?

A. The SCD_MATRIX configuration is only used on the deploy phase

B. Add the --use_scd_matrix flag to the ece-tools build:generate command in the .magento.app.yaml file

C. Move the SCD_MATRIX configuration to the build stage of the .magento.env.yaml file

D. Configure the variable ENABLE_SCD_MATRIX in the .magento.env.yaml file

Browse 60 Q&As
Questions 9

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

Browse 60 Q&As
Questions 10

You need to install a third party extension which is provided in a tar archive. It expands to a folder structure in app/code/MyCompany/MyModule.

Which action do you take to install the extension?

A. Use the composer package command to create a composer package and install it with composer require

B. Use the composer-merge-plugin to enable support for extension in app/code

C. Add it to the project in app/code and commit it to git

D. Request composer repository credentials from the extension vendor

Browse 60 Q&As
Questions 11

A merchant states the downtime during the deployment phase is too long. After analysis, it is determined the static content deployment is the longest process. Static content needs to be available immediately after deployment.

How can the static content deployment time be reduced?

A. Move static content deploy to the build phase

B. Commit var/view_preprocessed to git so it already exists during the deployment phase

C. Set stage/global/SKIP_SCD to true

D. Reduce the number of store views per website

Browse 60 Q&As
Questions 12

A custom module that adds a new console command for bin/magento has just been built. Deploying this to the Production environment on your Pro plan site causes the build phase to fail.

You find this occurs when you inject certain Magento core classes in your console command class. The command works on your local environment.

Why does this occur?

A. The injected class logged to the exception log file, but a different logging implementation is used during deployment.

B. Files were written to the root Magento directory, which is read-only on Magento Commerce Cloud.

C. A connection to the database was attempted, which is not available during the build phase.

D. The three webservers generated different content, which causes the build to be rolled back for safety.

Browse 60 Q&As
Questions 13

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 stage/global/SKIP_SCD and stage/deploy/STATIC_CONTENT_SYMLINK set to false.

What setting in magento.env.yaml minimizes the overall deployment time?

A. Remove all themes from stage/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

Browse 60 Q&As
Exam Name: Magento Certified Professional Cloud Developer
Last Update: May 08, 2024
Questions: 60 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99