ExamGecko
Home Home / Adobe / AD0-E718

Adobe AD0-E718 Practice Test - Questions Answers, Page 5

Question list
Search
Search

List of questions

Search

Related questions











A client is migrating to Adobe Commerce Cloud and has approximately 800 existing redirects that must be implemented. The number of redirects cannot be reduced because all redirects are specific, and do not match any pattern.

How should the redirects be configured to ensure performance?

A.
Use VCL snippets to offload the redirect to Fastly.
A.
Use VCL snippets to offload the redirect to Fastly.
Answers
B.
Add each redirect in the .magento/routes.yaml file.
B.
Add each redirect in the .magento/routes.yaml file.
Answers
C.
Add each redirect as a URL rewrite via the admin Ul.
C.
Add each redirect as a URL rewrite via the admin Ul.
Answers
Suggested answer: A

Explanation:

The best option for configuring the redirects is to use VCL snippets to offload the redirects to Fastly.

This is a Content Delivery Network (CDN) that can handle large numbers of requests quickly and efficiently, ensuring that your redirects will be processed quickly and reliably. Furthermore, VCL snippets are easy to set up and can be reused for other redirects, making them an efficient and costeffective solution for managing large numbers of redirects.

An Adobe Commerce Architect is troubleshooting an issue on an Adobe Commerce Cloud project that is not yet live.

The developers migrate the Staging Database to Production in readiness to Go Live. However, when the developers test their Product Import feature, the new products do not appear on the frontend.

The developers suspect the Varnish Cache is not being cleared. Staging seems to work as expected.

Production was working before the database migration.

What is the likely cause?

A.
The Fastly credentials in the Production Database are incorrect.
A.
The Fastly credentials in the Production Database are incorrect.
Answers
B.
A deployment should have been done on Production to initialize Fastly caching.
B.
A deployment should have been done on Production to initialize Fastly caching.
Answers
C.
The site URLs in the Production Database are the URLs of the Staging Instance and must be updated.
C.
The site URLs in the Production Database are the URLs of the Staging Instance and must be updated.
Answers
Suggested answer: B

Explanation:

The likely cause of the issue is that a deployment should have been done on Production to initialize Fastly caching. This is because when the database is migrated from Staging to Production, any changes made to the Staging Database will not be reflected in the Production environment until a deployment is made. This includes any changes made to the Varnish Cache, which needs to be cleared in order for the new products to appear on the frontend.

An Adobe Commerce Architect notices that queue consumers close TCP connections too often on Adobe Commerce Cloud server leading to delays in processing messages.

The Architect needs to make sure that consumers do not terminate after processing available messages in the queue when CRON job is running these consumers.

How should the Architect meet this requirement?

A.
Increase multiple_process limit to spawn more processes for each consumer.
A.
Increase multiple_process limit to spawn more processes for each consumer.
Answers
B.
Set CONSUMER_WAIT_FOR_MAX_MESSAGES variable true in deployment stage.
B.
Set CONSUMER_WAIT_FOR_MAX_MESSAGES variable true in deployment stage.
Answers
C.
Change max_messages from 10,000 to 1,000 for CRON_CONSUMER_RUNNERvariable.
C.
Change max_messages from 10,000 to 1,000 for CRON_CONSUMER_RUNNERvariable.
Answers
Suggested answer: B

Explanation:

The best way to meet this requirement is to set the CONSUMERWAITFORMAXMESSAGES variable to true in the deployment stage. This variable will ensure that the consumer will not terminate when there are no more messages in the queue and will instead wait until a new message is available, preventing it from closing the connection prematurely. Additionally, the multiple_processes limit can be increased to spawn more processes for each consumer, which will help ensure that messages can be processed faster.

An Architect needs to create an additional regional UK website with its own website currency set to GBP in Adobe Commerce. An existing US website is using USD as a default base and website currency.

After the first week of sales in the new UK website, an administrator notices that all sales totals in Sales Orders report show £0.00.

How should this issue be resolved?

A.
Make sure that orders are shipped and not left in processing state.
A.
Make sure that orders are shipped and not left in processing state.
Answers
B.
Configure currency rates for GBP and USD, so they are not empty.
B.
Configure currency rates for GBP and USD, so they are not empty.
Answers
C.
Refresh Lifetime Statistics for "Total Invoiced".
C.
Refresh Lifetime Statistics for "Total Invoiced".
Answers
Suggested answer: B

Explanation:

To do this, the Architect needs to configure the currency rates for both GBP and USD in the Admin Panel, so that the correct exchange rates are applied to each currency. This will ensure that the correct amounts are shown in the sales orders report, and will also make sure that the correct amount is charged to customers in the new UK website.

An Adobe Commerce Architect needs to set up two websites on a single Adobe Commerce instance with base URLs: example.com and website2.example.com.

How should the Architect configure this project so that both websites can use the same customer base?

A.
Change Session Cookie attribute to "SameSite=None"
A.
Change Session Cookie attribute to "SameSite=None"
Answers
B.
Disable Session Validation for "HTTP_X_FORWARDED_FOR" header
B.
Disable Session Validation for "HTTP_X_FORWARDED_FOR" header
Answers
C.
Set Cookie Domain for both websites to ".example.com"
C.
Set Cookie Domain for both websites to ".example.com"
Answers
Suggested answer: C

Explanation:

By setting the same cookie domain for both websites, the customer base can be shared between both websites, as the customer will be authenticated by the same cookie across both sites. This will ensure that customers don't have to log in twice when switching between the two sites.

An Architect is configuring the preload.keys for Redis on an Adobe Commerce on-premise instance.

The Architect discovers that the following cache keys are loaded on each frontend request: eav_entity_types, GLOBAL_PLUGIN_LIST, DB_IS_UP_TO_DATE , SYSTEM_DEFAULT.

• The id_prefix of the frontend =>page_cache is set to 061_.

• The id_prefix of frontend => default: is not set.

• The Architect has enabled and configured Redis L2 caching.

How should the preload.keys be configured?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: D

An Adobe Commerce Architect is supporting deployment and building tools for on-premises Adobe Commerce projects. The tool is executing build scripts on a centralized server and using an SSH connection to deploy to project servers.

A client reports that users cannot work with Admin Panel because the site breaks every time they change interface locale.

Considering maintainability, which solution should the Architect implement?

A.
Edit project env.php file, configure 'admin_locales_for.build' value, and specify all required locales
A.
Edit project env.php file, configure 'admin_locales_for.build' value, and specify all required locales
Answers
B.
Adjust the tool's build script and specify required locales during 'setup:static-content:deploy' command
B.
Adjust the tool's build script and specify required locales during 'setup:static-content:deploy' command
Answers
C.
Modify project config.php file, configure 'admin_locales_for_deploy' value, and specify all required locales
C.
Modify project config.php file, configure 'admin_locales_for_deploy' value, and specify all required locales
Answers
Suggested answer: B

Explanation:

To ensure that the Admin Panel works correctly and is maintainable, the Architect should adjust the tool's build script so that it specifies all of the required locales when executing the 'setup:staticcontent: deploy' command. This will ensure that the project is correctly configured for all supported locales and will also make sure that the build script does not need to be modified each time a new locale is added.

An Adobe Commerce Architect is setting up a Development environment for an on-premises project that will be used for developers to specifically test functionality, not performance, before being passed to the Testing team.

The Magento application must run with the following requirements:

A.
Errors should be logged and hidden from the user
A.
Errors should be logged and hidden from the user
Answers
B.
Cache mode can only be changed from Command Line
B.
Cache mode can only be changed from Command Line
Answers
C.
Static files should be created dynamically and then cachedWhich Application Mode is required to achieve this?
C.
Static files should be created dynamically and then cachedWhich Application Mode is required to achieve this?
Answers
D.
Default Mode
D.
Default Mode
Answers
E.
Production Mode
E.
Production Mode
Answers
F.
Developer Mode
F.
Developer Mode
Answers
Suggested answer: C

Explanation:

Developer Mode is the mode best suited to achieve the requirements set out by the Adobe Commerce Architect. In Developer Mode, errors are logged and hidden from the user, and the cache mode can only be changed from the command line. Additionally, static files are created dynamically and then cached, which is the desired behavior for this project.

An Architect is investigating a merchant's Adobe Commerce production environment where all customer session data is randomly being lost. Customer session data has been configured to be persisted using Redis, as are all caches (except full page cache, which is handled via Varnish).

After an initial review, the Architect is able to replicate the loss of customer session data by flushing the Magento cache storage, either via the Adobe Commerce Admin Panel or running bin/iuagento cache: flush on the command line. Refreshing all the caches in the Adobe Commerce Admin Panel or running bin/magento cache: clean on the command line does not cause session data to be lost.

What should be the next step?

A.
Educate the merchant to not flush cache storage and only refresh the caches in future.
A.
Educate the merchant to not flush cache storage and only refresh the caches in future.
Answers
B.
Set the 'Stores > Configuration' option for "Store Session Data Separately' to 'Yes' in the Adobe Commerce Admin Panel.
B.
Set the 'Stores > Configuration' option for "Store Session Data Separately' to 'Yes' in the Adobe Commerce Admin Panel.
Answers
C.
Check app/etc/evn.php and make sure that the Redis configuration for caches and session data use different database numbers.
C.
Check app/etc/evn.php and make sure that the Redis configuration for caches and session data use different database numbers.
Answers
Suggested answer: C

Explanation:

This is because when the Magento cache storage is flushed, all caches and session data stored in Redis are cleared. To prevent session data from being lost when caches are flushed, the merchant should configure different Redis databases for caches and session data, so that flushing the Magento cache storage only clears the caches and not the session data.

An Adobe Commerce Architect is working on a scanner that will pull prices from multiple external product feeds. The Architect has a list of vendors and decides to create new config file marketplacejeeds.xml.

Which three steps can the Architect take to ensure validation of the configuration files with unique validation rules for the individual and merged files? (Choose three.)

A.
Implement validation rules in the Converter class for the Config Reader
A.
Implement validation rules in the Converter class for the Config Reader
Answers
B.
Add the Uniform Resource Name to the XSD file in the config XML file.
B.
Add the Uniform Resource Name to the XSD file in the config XML file.
Answers
C.
Provide schema to validate a merged file.
C.
Provide schema to validate a merged file.
Answers
D.
Provide schema to validate an individual file.
D.
Provide schema to validate an individual file.
Answers
E.
Create a class that implements \Magento\Framework\Config\Datalnterface.
E.
Create a class that implements \Magento\Framework\Config\Datalnterface.
Answers
F.
Create validation rules in marketplace.schema.xsd.
F.
Create validation rules in marketplace.schema.xsd.
Answers
Suggested answer: D, E, F

Explanation:

The three steps that the Architect can take to ensure validation of the configuration files with unique validation rules for the individual and merged files are: D. Provide schema to validate an individual file, F. Create validation rules in marketplace.schema.xsd, and E. Create a class that implements

\Magento\Framework\Config\DataInterface. By providing schema to validate individual files, creating validation rules in marketplace.schema.xsd, and creating a class that implements

\Magento\Framework\Config\DataInterface, the Architect can ensure that the configuration files are validated with unique validation rules for the individual and merged files.

Total 50 questions
Go to page: of 5