Skip to main content

AD0-E706 Real Exam Questions

Adobe Certified Expert-Magento Commerce Cloud Developer

60 questions available · Page 1 of 6

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

You are adding a new website to the Magento store you manage. This website will run on thesame 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?

  1. A

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

  2. B

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

  3. C

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

  4. D

    in the Project Web Ul, add a JSON variable mapping website codes to URLs

Show answer and explanation

Correct answer: C

Question 2 Single choice

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

What do you do to reduce site downtime?

  1. A

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

  2. B

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

  3. C

    Move custom commands from the deployphase to the build phase.

  4. D

    Update the SCD_MATRIX variable to include only necessary custom commands

Show answer and explanation

Correct answer: C

Question 3 Single choice

For the Magento search backend you would like lo move from MySQL lo Elasticsearch for your existing project. You have confirmed that your services. yaml file is configured appropriately.
However, after your most recently deployment, you notice the search engine is still set to MySQL.

What additional step must be completed?

  1. A

    Configure the relationships Section of the .magento.app.yaml file

  2. B

    Find an appropriate Elasticsearch module to require with Composer

  3. C

    SpecifyElasticsearch as the search engine in the Magento Admin panel

  4. D

    Remove the MySQL service from the services. yaml file

Show answer and explanation

Correct answer: A

Question 4 Single choice

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

How do you implement the redirect?

  1. A

    Configure a rewrite rule In the . htaccess file In the pub folder

  2. B

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

  3. C

    Add a route using the MANGENTO_CLOUD_ROUTES environment variable.

  4. D

    Add a route Into the .magento/routes, yaml configuration file

Show answer and explanation

Correct answer: D

Question 5 Single choice

While setting up a Magento project you run the following command:

magento-cloud variable:update ADMIN_USERNAME --value=alice

What will this command do?

  1. A

    Configure the Magento Commerce Cloud tools to use alice for API call authentication

  2. B

    Change your username to alice tor logging into the magento-cloud CLl tool C.

  3. C

    Update the Magento cloud/admin/username config variable to alice

  4. D

    Change the username of the default administrator account to alice

Show answer and explanation

Correct answer: C

Question 6 Single choice

You migrated a live On-Premise application to Magento Commerce Cloud Pro. The performance on Staging and Production is fine.

However, the internal testing team notices overall performance degradation on the Integration environment.

Why is this happening?

  1. A

    The Integration branch uses Platform-as-a-Service shared resources

  2. B

    Xdebug Is always enabled on the Integration branch

  3. C

    The Staging and Production environments are consuming all available resources

  4. D

    The Integration branch services have not been optimized In the .magento/services.yaml file

Show answer and explanation

Correct answer: C

Question 7 Multiple choice

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

What are two ways to load the Xdebug module? Choose 2 answers

  1. A

    Create a custom php.ini that includes the extension

  2. B

    You log a support request as php modules canonly be installed by support

  3. C

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

  4. D

    In the phpserver folder. create a folder conf-d and add a file ext-xdebug.im that Includes the extension

Show answer and explanation

Correct answers: B, C

Question 8 Single choice

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?

  1. 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/ confi.php
    file and commit this file

  2. B

    Add the following variable on the Integration branch and set Its value to 86400
    env:CONFIG_STORES_DEFAULT_ADMIN_SECURITY_SESSION_LIFETIME

  3. C

    Run the following MagentoCLI command php bin/magento config:set admin/security/session_lifetime
    86400

  4. D

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

Show answer and explanation

Correct answer: B

Question 9 Single choice

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

  1. A

    Use the magento-cloud CLl utility with the environmentinheritable and level flags

  2. B

    Add the variable to the variables section under Project Settings specifying inheritance level

  3. C

    Add the variable to the .magento.env.yaml file specifying the environment and inheritable

  4. D

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

Show answer and explanation

Correct answer: B

Question 10 Single choice

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.

How do you configure this?

  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer and explanation

Correct answer: A