EMT Practice Test

1. Question Content...


Question List

Question1: While setting up a Magento project you run the following command
magento-cloud variable:update ADMIN_USERNAME -value=alice
What will this command do?

Question2: A merchant with three websites using en_GB. fr_FR and de_AT requires a change in locale to de_DE for the German Production website After running the following command on Production you notice the frontend design of the German website is broken:
Php bin/magento config:set -scope=websites -scopes code=germ general /local./code de_DE Static content deployment is set up toon the deploy phase Why did this happen?

Question3: Your project is in a phase where the locales that will be used are still being determined. You need toconfigure your project in a manner that will allow them to be changed dynamically How can you accomplish this?

Question4: You are upgrading a project to the latest versionof 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?

Question5: A project has a Magento cron job implemented to export new order data to a file. This process can also be triggered by a custombin/magento command. The functionality uses a lock file in var/locks to prevent concurrent execution There are instances when the process gets locked after Production deployments and order data is not exported.
How do you prevent this from happening'?

Question6: You need to directly access the database that belongs to your Integration environment from your local environment How do you achieve this?

Question7: You added a grunt autoprefixer command, which adds CSS vendorprefix like -webkit- and -moz- to CSS files generated by the setup:static-connect: deploy command.

After deployment you still see CSS files without prefixes. The hooks section in the .magento. app. Yaml file is:
Considering static assets are being generated on the build phase why are CSS prefixes missing?

Question8: 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/MyMedule.
Which action do you take to install the extension?

Question9: While launching a site migrated from Magento 1 you are instructed to change the website CNAME record in your DNS provider by Magento for go live What is the purpose of setting this record9

Question10: Magento Commerce Cloud comes with a variety of additional features that sets it apart from the on-premise Magento Commerce and Magento Open Source platforms.
What feature improves the release update process and simplifies commands to create a backup of the database apply custom patches, and verify environment configuration'?

Question11: 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?

Question12: Magento Support advises you lo upgrade to the latest release of ece-tools matching the project's Magento Commerce version 2 3 1 How do you do that?

Question13: You have a Starter project. Your code is ready for testing in the Staging environment, but you need the latest data from Production What do you do to update the Staging environment?

Question14: A client has an in-house design team which manages content on their Magento Commerce Cloudproject This content is rapidly changing and they would like the ability to maintain their own stylesheets in a structured way without affecting site uptime How do you achieve this on the integration branch?

Question15: 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?

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

In the logs you discover the following error:
How do you fix this?

Question17: Your team is working on two ma)or changes affecting the product page and you want the ability to implement and test these changes in parallel. Your company is using the Pro plan How do you achieve this using the Project Web Ul?

Question18: You cloned the Integration branch to your local environment and Imported the database dump from Integration. You performed composer install and bin/magento setup: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, Security header is not valid (#10002: Security error).
What is the cause of this error?

Question19: Your client is expecting a five-day sale where the traffic will approximately double. Your instance is consuming all available resources onall three nodes so upsizing one level is appropriate.
How many upsize days will this event use?

Question20: You have a project deploying Static Content on the deploy phase. This process is optimized using the scd_katrix 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?

Question21: You fixed an issue in a third-party extension using a patch named m2-hotfixes/extension-fix.patch Before committing the patch to the repository you want to test itlocally How do you test a patch in a clean working copy?