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

Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
Questions # 11:

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


Expert Solution
Questions # 12:

You aremigration an existing Magento 2 website to Magento Commerce Cloud. After setting up the project you would like to migrate the database to the integration branch. The database import fails with a disk space error.

How do you migrate the database data loss?

Options:

A.

Configuration the mysql disk size using a variable in the , magento,evn,yaml file


B.

Open a Magento Support ticket to increase the Integration branch disk size


C.

Trim down the database to a smaller size


D.

Configure the mysql disk Size in the .magento/services.yamlfile


Expert Solution
Questions # 13:

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.

Howdo you configure this?

Options:

A.

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


B.

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


C.

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


D.

Build or install a Magento extension that changes the default currency code on applicationinit


Expert Solution
Questions # 14:

A custom module thatadds 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 fall.

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?

Options:

A.

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


B.

Files were written tothe root Magento directory. whichis 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


Expert Solution
Questions # 15:

While investigating an inherited MagnetoCommerceCloud project, you notice the following SCD_MATRIX configuration in magento , env, yam1:

Question # 15

What is the effect of this configuration?

Options:

A.

Static content for frontend themes is generated during the deploy phase


B.

All frontend theme static content will be reused from the previous deployment


C.

Only the static content for the adminhtml area will be generated


D.

Static content for all locales will be generated for all frontend themes


Expert Solution
Questions # 16:

After making changes lo custom commands in the deploy and buildphases you deploy to Staging.The deployment takes much longer than expected, and Stagingis in maintenance mode tor most of this time.

What do you do to reduce site downtime?

Options:

A.

Set the SKIP_MAINTENANCE_SCD variable to true In the . magento. env. yaml file


B.

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


C.

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


D.

Update the SCD_MATRIX variable to include only necessary custom commands


Expert Solution
Questions # 17:

You are reviewing a third party extension for Magento Commerce Cloud compatibility

You discover the module writes to a customdirectory called internal/ withinthe Magento base directory

The directory has to be shared by all web servers

What do you do so the module can be used on Magento Commerce Cloud?

Options:

A.

Create a symlink from /top/internal to the internal/ folder


B.

Declare a shared mount for the internal/directory in .magento. app.yaml


C.

Request the vendor make the directory configurable in the Magento admin


D.

Add a patch for extension so it uses the subdirectory var/internal/ instead


Expert Solution
Questions # 18:

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 ofcalls to build a timeline of what happened

How do you achieve this?

Options:

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. leg riles


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


Expert Solution
Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions