Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Magento Magento-Certified-Professional-Cloud-Developer Dumps

Magento Certified Professional Cloud Developer Exam Questions and Answers

Question 1

You are testing an integration to an external service that requires you to configure an accesskey 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?

Options:

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.yamlfile specifying the environment and inheritable

D.

Use vendor/bin/ece-tools to generate a local config.phpfile and commit the setting

Question 2

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

Options:

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 toenable email notifications

Question 3

You want to move staticcontent deploy to the build phase of deployments

Which two actions do you take? Choose 2 answers

Options:

A.

Download and commit app/etc/config.php from production

B.

Run ece-tools scd-deploy:set build on production

C.

Run ece-tools config:dump on production

D.

Use scp to copy app/etc/config.php from local to production

Question 4

You added the env:ADMIN_PASSWORD variable in the Project Web Ul to change a Magento admin user's password After deployment you are unable to login using the new password

What causes this?

Options:

A.

When you add a variable. the build stage is being skipped because the codebase has not been changed You must push a commit to trigger a full deploy

B.

Deploy scripts read configuration from the environment variable calledmagento_cloud_variables. which contains an array of variables which were set without the env: prefix

C.

Variables which are set using the Project Web Ul are not available on the build phase the admin password variable should be

set in the . magento.env. yaml file

D.

The sensitive option is required for env:ADMIN PASSWORDvariable

Question 5

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?

Options:

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

Question 6

In a Pro plan project, you notice there is a mail delivery problem in the Integration environment How do you troubleshoot this?

Options:

A.

Change the log level in the lcg:emall section of the .magento.env.yaml file

B.

Update the SPF record in the DNS

C.

Look In the var/log directory for the mail. log file

D.

Move the test to the Staging environment

Question 7

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

In the logs you discover the following error:

How do you fix this?

Options:

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_WRITABLEvariable should be set to true whenever using extensions

Question 8

You are adding a new website tothe 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?

Options:

A.

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

B.

In the Project Web Ul,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 Ul,add a JSON variable mapping website codes to URLs

Question 9

You are working with a new developer who needs to be able to deploy code and view logs on Magento Commerce Cloud 60.

What must you do to give them access?

Options:

A.

In the .magento.app.yaml file, add their email under Users. They need to enter their SSH public key.

B.

Add their SSH public key to a file named . ssh/authorized_keys and deploy the change.

C.

In the Cloud Project Web Ul. click Add User to add their email They need to enter their SSH public key.

D.

Add a Magento admin user for them and paste the SSH public key into their user's SSH Key field, which is available only on Magento Commerce Cloud