Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Question # 4

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?

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

Full Access
Question # 5

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

Which two actions do you take? Choose 2 answers

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

Full Access
Question # 6

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?

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.

Full Access
Question # 7

After deploying to Staging for the first time with the Fastly module installed, you notice that Fastly is not caching pages. Page caching works properly in a local development environment.

What two steps are required to make Fastly cache pages?

Choose 2 answers

A.

Activate the module by setting Caching Application to Fastly CDN.

B.

Connect the Fastly shield using the Shield setting in the Magento admin.

C.

Enable the Fastly connection by running magento-Cloud fastly:setup.

D.

Populate VCL in Fastly by clicking on Upload VCL to Fastly in the Magento admin.

Full Access
Question # 8

To secure composer credentials you want to remove the auch. Json file from the project repository How do you do that?

A.

The build phase runson a separate server and variables are not available there you must keep the credentials in the auth. j son file, but you can replace the password with its hash

B.

Add the env:coMPOSER_AUTH variable on the projectlevel and make it visible on the build phase

C.

Putthe composer credentials into/mnt/build/.config/composer/auth.json

D.

Add the composer_auth variable with the sensitive option enabled

Full Access
Question # 9

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

A.

Find the connection Information from the env.php file and connect with your local MySQL client

B.

Collect the SSH connection details usingmagento-cloud ssh --pipe and connect with your local MySQL client

C.

Add the ece-tools db-expose command to your deploy hook

D.

Use the magento-cloud db:sql command

Full Access