Pass the Magento Magento 2 Developer Architect Magento-Certified-Professional-Cloud-Developer Questions and answers with CertsForce

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

You need to specify the admin password using an environment variable.You have created an environment variable

env:ADMIN_PASSWORDwith a valid password When attempting to log in to the Magento Admin it is not accepting the new password

How doyou correct the environment variable?

Options:

A.

The Sensitive option is checked by default and must be disabled


B.

The env:ADMIN_PASSWORD variable can only be used for an initial installation


C.

The environment variable should not have the env: prefix


D.

The ADMIN_PASSWORD variable Should be Configured Via .magento.env.yaml


Expert Solution
Questions # 2:

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.

Question # 2

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


Expert Solution
Questions # 3:

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

Why do this happen/

Options:

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


Expert Solution
Questions # 4:

You cloned the Integration branch to your local environment and Imported the database dump from Integration. You performed composer install and bin/magentosetup: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?

Paypal gateway has rejected request, Securityheader is not valid (#10002: Security error).

What is the cause of this error?

Options:

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.


Expert Solution
Questions # 5:

Exploring the Production environment you find mysql_use_slave_connection is enabled What is the purpose of this setting'

Options:

A.

To split the database tables between the three Production servers and improve performance


B.

To enable fault tolerance on the MySQL cluster


C.

To utilize the read-only slave servers and improve the overall performance


D.

To allow database backups from a MySQL slave server with minimal impact on the Production site


Expert Solution
Questions # 6:

Magento Commerce Cloud comes with a variety of additional features thatsets it apart from the on-premise Magento Commerce and Magento Open Source platforms.

What feature improves the release updateprocess and simplifies commands to create a backup of the database apply custom patches, and verify environment configuration'?

Options:

A.

Docker environment


B.

Magento Cloud-specific CU


C.

Cloud configuration wizards


D.

ECE-Tools package


Expert Solution
Questions # 7:

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


Expert Solution
Questions # 8:

You need to disable a module on a Magento Commerce 2 3 Cloud project and remove its database tables The module uses the declarative schema system to manage its database changes

Which action do you take?

Options:

A.

Run bin/magento module: disable MyCompany_MyModule on thelocal environment and then commitand deploy the

app/etc/config.php file


B.

Run bin/magento module:disable MyCompany_MyModule on the production environment and download and commit the

app/etc/config.php file


C.

Delete the module from the git repository leaving the record in app/etc/config.php Intact and deploy the changes


D.

Remove the module line from the app/etc/config.php file on the local environment and then deploy the file


Expert Solution
Questions # 9:

While launching a site migrated from Magento 1 you are instructed to change the website CNAMErecord in your DNS provider by Magento for go live

What is the purpose of setting this record9

Options:

A.

Setting this record causes sent email to be property authenticated and not show in junk folders


B.

Setting this record enables the page caching service for your site


C.

Setting this record is needed on Pro to allow upsizing servers without downtime


D.

Setting this record reduces the time it takes for customers to start seeing your Magento 2 site


Expert Solution
Questions # 10:

You are debugging an issue with an extensionthat 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>

Options:

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


Expert Solution
Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions