New 2024 Realistic Free Adobe AD0-E718 Exam Dump Questions and Answer
AD0-E718 Practice Test Engine: Try These 50 Exam Questions
NEW QUESTION # 30
An Adobe Commerce Architect designs a data flow that contains a new product type with its own custom pricing logic to meet a merchant requirement.
Which three developments are valid when reviewing the implementation? (Choose three.)
- A. A new class with custom pricing logic, extending the abstract Product model class
- B. New price model extending \Magento\Catalog\Model\Product\Type\Price
- C. Custom type model extended from the abstract Product Type model
- D. Hydrator for attributes belonging to the new product type
- E. Content of the etc/product_types.xml file
- F. Data patch to register the new product type
Answer: B,C,F
Explanation:
To create a new product type, you need to extend the abstract Product Type model and register it using a data patch. You also need to create a new price model that extends \Magento\Catalog\Model\Product\Type\Price and implements the custom pricing logic.
NEW QUESTION # 31
An Architect is reviewing a custom module that is logging customer activity data on storefront using observers. The client reports that logs were recorded while the client was previewing storefront catalog pages from Admin Panel for a future scheduled campaign, using Adobe Commerce staging preview functionality.
What should the Architect check first to address this issue9
- A. The plugin for the public method isAllowedObserver() from \Magento\Staging\Model\Event\Manager that alters the return value
- B. The logging observers being copied from etc\events.xml to etc\adminhtml\events.xml with the attribute disabled=''true"
- C. The list of logging observers in bannedObservers parameter of \Magento\staging\Model\Event\Managertype in di.xml
Answer: C
Explanation:
It will allow you to exclude logging observers from being executed during staging preview functionality by adding them to bannedObservers parameter of \Magento\staging\Model\Event\Manager type in di.xml file. This will prevent customer activity data from being logged while previewing storefront catalog pages from Admin Panel for a future scheduled campaign.
The Architect should check the list of logging observers in bannedObservers parameter of \Magento\Staging\Model\Event\Manager type in di.xml. This parameter defines the list of observers that should not be executed during staging preview. The Architect should add the logging observers to this list to prevent them from recording customer activity data while previewing the storefront catalog pages from Admin Panel. Reference: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/staging.html
NEW QUESTION # 32
The development of an Adobe Commerce website is complete. The website is ready to be rolled out on the production environment.
An Architect designed the system to run in a distributed architecture made up of multiple backend webservers that process requests behind a Load Balancer.
After deploying the system and accessing the website for the first time, users cannot access the Customer Dashboard after logging in. The website keeps redirecting users to the sign-in page even though the users have successfully logged in. The Architect determines that the session is not being saved properly.
In the napp/etc/env.php\ the session is configured as follows:
What should the Architect do to correct this issue?
- A. Update the session host value to a shared Redis instance
- B. Utilize the Remote Storage module to synchronize sessions between the servers
- C. Increase the session size with the command config:set system/security/max_session_size_admin
Answer: A
Explanation:
When using multiple backend servers behind a load balancer, the session data must be stored in a shared location that is accessible by all servers. Otherwise, the session data will be inconsistent and users may experience issues such as being logged out unexpectedly. Redis is a recommended option for storing session data in a distributed architecture, as it provides fast and reliable access to the data. The session host value in the env.php file must point to the Redis instance that is used for session storage. Reference: https://devdocs.magento.com/guides/v2.4/config-guide/redis/redis-session.html
NEW QUESTION # 33
A merchant is using a unified website that supports native Adobe Commerce B2B and B2C with a single store view.
The merchant wants to show the B2B account features like negotiable quotes and credit limits in the header of the site on every page for the logged-in users who are part of a B2B company account.
Each B2B company has its own individual shared catalog and customer group, and many customer groups for non B2B customers change. The merchant requests that this should not be tied to customer groups.
Which two solutions should the Architect recommend considering public data and caching? (Choose two.)
- A. Check if the current user is part of a B2B company within a block class and modify the output accordingly.
- B. Create a new HTTP Context variable to allow for separate public content to be cached for users in B2B companies where the output can be modified accordingly.
- C. Create a new custom condition for customer segments that allow for choosing whether a user is part of a B2B company and then use this segment to modify the output accordingly.
- D. Create a plugin that switches the theme when a user is part of a B2B company so the output can be modified accordingly in the alternate theme.
- E. Set whether the current user is part of a B2B company in the customer session and use that data directly to modify the output accordingly.
Answer: B,C
Explanation:
C would involve creating a new custom condition for customer segments that allow for choosing if a user is part of a B2B company, and then use this segment to modify the output accordingly. E would involve creating a new HTTP Context variable to allow for separate public content to be cached for users in B2B companies, where the output can be modified accordingly.
To show the B2B account features in the header of the site on every page for the logged-in users who are part of a B2B company account, the Architect should recommend two solutions: C) Create a new custom condition for customer segments that allow for choosing whether a user is part of a B2B company and then use this segment to modify the output accordingly. This solution will allow the merchant to create a customer segment based on the custom condition and use it to display different content in the header for B2B users. E) Create a new HTTP Context variable to allow for separate public content to be cached for users in B2B companies where the output can be modified accordingly. This solution will ensure that the public content cache is varied based on the custom HTTP Context variable, which can be set based on whether the user is part of a B2B company or not. Option A is incorrect because switching the theme based on the user's B2B status is not a scalable or maintainable solution, and it will also affect the entire site's appearance, not just the header. Option B is incorrect because checking the user's B2B status within a block class will not work with public content cache, as it will not vary the cache based on that condition. Option D is incorrect because setting the user's B2B status in the customer session will not work with public content cache, as it will not vary the cache based on that data. Reference: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/segmentation.html https://devdocs.magento.com/guides/v2.4/extension-dev-guide/cache/page-caching/public-content.html
NEW QUESTION # 34
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. Adjust the tool's build script and specify required locales during 'setup:static-content:deploy' command
- B. Modify project config.php file, configure 'admin_locales_for_deploy' value, and specify all required locales
- C. Edit project env.php file, configure 'admin_locales_for.build' value, and specify all required locales
Answer: A
Explanation:
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:static-content: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.
NEW QUESTION # 35
A merchant notices that product price changes do not update on the storefront.
The index management page in the Adobe Commerce Admin Panel shows the following:
* All indexes are set to 'update by schedule'
* Their status is 'ready'
* There are no items in the backlog
* The indexes were last updated 1 minute ago
A developer verifies that updating and saving product prices adds the relevant product IDs into the catalog_product_price_cl changelog table.
Which two steps should the Architect recommend to the developer to resolve this issue? (Choose two.)
- A. Make sure that the version_id for the price indexer in the mview_state table is not higher than the last entry for the same column in the changelog table and re-synchronize.
- B. Invalidate the catalog_product_price indexer in the Adobe Commerce Admin Panel so that it is fully reindexed next time the cron runs.
- C. Make sure that no custom or third-party modules modify the changelog and indexing process.
- D. Reduce the frequency of the cron job to 5 minutes so the items have more time to process.
- E. Manually reindex the catalog_product_price index from the Command line:bin\magentor indexer:reindex catalog_product_price.
Answer: B,E
NEW QUESTION # 36
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. Set CONSUMER_WAIT_FOR_MAX_MESSAGES variable true in deployment stage.
- B. Increase multiple_process limit to spawn more processes for each consumer.
- C. Change max_messages from 10,000 to 1,000 for CRON_CONSUMER_RUNNERvariable.
Answer: A
Explanation:
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.
NEW QUESTION # 37
A company wants to build an Adobe Commerce website to sell their products to customers in their country.
The taxes in their country are highly complex and require customization to Adobe Commerce. An Architect is trying to solve this problem by creating a custom tax calculator that will handle the calculation of taxes for all orders in Adobe Commerce.
How should the Architect add the taxes for all orders?
- A. Add a new observer to the event 'sales_quote_collect_totals_before" and add the custom tax to the quote
- B. Declare a new total collector in "etc/sales.xml" in a custom module
- C. Write a before plugin to \Magento\Quote\Model\QuoteManagement::placeOrder() and add the custom tax to the quote
Answer: B
Explanation:
Explanation
you can create tax rules in Magento 2 by going to Stores > Taxes > Tax Rules and choosing or adding tax rates. However, this may not be enough for complex tax scenarios that require customization.
https://amasty.com/knowledge-base/how-to-configure-tax-calculation-in-magento-2.html
NEW QUESTION # 38
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.
- B. Refresh Lifetime Statistics for "Total Invoiced".
- C. Configure currency rates for GBP and USD, so they are not empty.
Answer: C
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.
Configuring currency rates for GBP and USD, so they are not empty, will resolve the issue of sales totals showing £0.00 in Sales Orders report. This is because Commerce uses currency rates to calculate sales totals for different currencies. See Currency Setup in the Adobe Commerce User Guide3. Reference: https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/cache/configure-varnish-commerce.html?lang=en https://docs.magento.com/user-guide/stores/currency-configuration.html3
NEW QUESTION # 39
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:
1. Errors should be logged and hidden from the user
2. Cache mode can only be changed from Command Line
3. Static files should be created dynamically and then cached
Which Application Mode is required to achieve this?
- A. Default Mode
- B. Production Mode
- C. Developer Mode
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.
Developer Mode is required to achieve the requirements. This is because developer mode enables the following features: Errors are logged and hidden from the user; cache mode can only be changed from command line; static files are created dynamically and then cached. See Application modes in the Adobe Commerce Help Center1. Reference: https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/setup/application-modes.html?lang=en1
NEW QUESTION # 40
An Adobe Commerce Architect needs to ensure zero downtime during the deployment process of Adobe Commerce on-premises. Which two steps should the Architect follow? (Choose two.)
- A. Rim bin/magento setup:upgrade --convert-old-scripts=true to Upgrade database
- B. Run bin/magento setup:upgrade --keep-generated to Upgrade database
- C. Enable config flag under deployment/blue_ green/enabled
- D. Run bin/magento setup:upgrade -dry-run=true to upgrade database
- E. Enable config flag under developer/zere _down_time/enabled
Answer: C,D
Explanation:
1. Running bin/magento setup:upgrade -dry-run=true allows you to check the upgrade scripts without applying any changes to the database. This can help you identify any potential issues before the actual upgrade. E. Enabling config flag under deployment/blue_ green/enabled allows you to use the blue-green deployment strategy, which creates a copy of the production environment and switches traffic between the two environments after testing the new version. This can help you achieve zero downtime during the deployment process. Reference: https://devdocs.magento.com/guides/v2.4/comp-mgr/cli/cli-upgrade.html#upgrade-cli-dryrun https://devdocs.magento.com/cloud/live/stage-prod-migrate-prereq.html#blue-green-deployment
NEW QUESTION # 41
An Adobe Commerce Architect is reviewing api-functional test code. Some tests send errors to indicate that the customer address does not exist.
The test codes show the following:
Which steps should the Architect take to fix the test errors?
- A.

- B.

- C.

Answer: C
Explanation:
The test errors are caused by using the wrong customer ID and address ID in the request. The correct customer ID and address ID should be obtained from the response of the previous request to create a customer and an address. The test code should use $this->customer->getId() and $this->address->getId() instead of hard-coded values. Reference: https://devdocs.magento.com/guides/v2.4/get-started/web-api-functional-testing.html
NEW QUESTION # 42
An Adobe Commerce Architect needs to customize the workflow of a monthly installments payment extension. The extension is from a partner that is contracted with the default website PSR which has its own legacy extension (a module using deprecated payment method).
The installment payment partner manages only initializing a payment, and then hands the capture to be executed by the PSP. Once the amount is successfully captured, the PSP notifies the website through an IPN. The goal of the IPN is only to create an "invoice" and save the 'capture information' to be used later for refund requests through the PSP itself.
The Architect needs the most simple solution to capture the requested behavior without side effects.
Which solution should the Architect implement?
- A. Declare a capture command with type Magento\payment\Gateway\Command\NullCommand for the payment method CommandPool in di.zm1
- B. Change the can_ capture attribute for the payment method under config.xml to be <can_capture>0</can_capture>
- C. Add a plugin before the $invoice-> () and changes its input to prevent the call of the $payment-> capture()
Answer: A
Explanation:
The best solution for the Adobe Commerce Architect to implement in order to capture the requested behavior without side effects is to declare a capture command with type Magento\payment\Gateway\Command\NullCommand for the payment method CommandPool in di.xml. This will allow the partner to initialize the payment and then hand the capture over to the PSP, while also preventing the website from calling the $payment->capture() method. It will also allow the PSP to notify the website through an IPN, which will create an "invoice" and save the 'capture information' to be used later for refund requests through the PSP itself.
The Architect should implement the solution of declaring a capture command with type Magento\Payment\Gateway\Command\NullCommand for the payment method CommandPool in di.xml. This command will do nothing when the capture method is called on the payment method, which is the desired behavior since the capture is handled by the PSP. The NullCommand class implements \Magento\Payment\Gateway\CommandInterface and overrides the execute() method to return null. Option A is incorrect because adding a plugin before the $invoice->capture() method and changing its input will not prevent the call of the $payment->capture() method, but rather change the invoice object that is passed to it. Option B is incorrect because changing the can_capture attribute for the payment method under config.xml to be <can_capture>0</can_capture> will not prevent the capture method from being called, but rather disable the capture option in the Admin panel. Reference: https://devdocs.magento.com/guides/v2.4/payments-integrations/base-integration/facade-configuration.html
NEW QUESTION # 43
An Adobe Commerce Architect is reviewing api-functional test code. Some tests send errors to indicate that the customer address does not exist.
The test codes show the following:
Which steps should the Architect take to fix the test errors?
A)
B)
C)
- A. Option A
- B. Option B
- C. Option C
Answer: B
Explanation:
The test errors are caused by using the wrong customer ID and address ID in the request. The correct customer ID and address ID should be obtained from the response of the previous request to create a customer and an address. The test code should use $this->customer->getId() and $this->address->getId() instead of hard-coded values. Reference: https://devdocs.magento.com/guides/v2.4/get-started/web-api-functional-testing.html
NEW QUESTION # 44
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.
- B. Add each redirect as a URL rewrite via the admin Ul.
- C. Add each redirect in the .magento/routes.yaml file.
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 cost-effective solution for managing large numbers of redirects.
For Adobe Commerce on cloud infrastructure projects, configuring numerous non-regex redirects and rewrites in the routes.yaml file can cause performance issues. If your routes.yaml file is 32 KB or larger, offload your non-regex redirects and rewrites to Fastly. See Offload non-regex redirects to Fastly instead of Nginx (routes) in the Adobe Commerce Help Center1. Reference: https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/configure/routes/redirects.html?lang=en21
NEW QUESTION # 45
An Architect needs to review a custom product feed export module that a developer created for a merchant. During final testing before the solution is deployed, the product feed output is verified as correct. All unit and integration tests for code pass.
However, once the solution is deployed to production, the product price values in the feed are incorrect for several products. The products with incorrect data are all currently part of a content staging campaign where their prices have been reduced.
What did the developer do incorrectly that caused the feed output to be incorrect for products in the content staging campaign?
- A. The developer forgot to use the getContentStagingValue() method to retrieve the active campaign value of the product data
- B. The developer did not check for an active content staging campaign and emulates the campaign state when retrieving product data.
- C. The developer retrieved product data directly from the database using the entity_id column rather than a collection or repository.
Answer: B
Explanation:
Based on the given scenario, it is likely that option C - "The developer did not check for an active content staging campaign and emulates the campaign state when retrieving product data" - is the correct answer. It appears that the developer did not take into account the active content staging campaign and did not properly adjust the product data when generating the product feed. As a result, the feed output is incorrect for products that are part of the staging campaign and have their prices reduced. The correct solution would be to check for an active content staging campaign and properly adjust the product data to reflect the campaign state.
NEW QUESTION # 46
Since the last production deployment, customers can not complete checkout. The error logs show the following message multiple times:
The Architect finds a deployed feature that should limit delivery for some specific postcodes.
The Architect sees the following code deployed in/webapi_rest \di .xml and etc\frontend\di xml
Which step should the Architect perform to solve the issue?
- A. Change 'after' plugin with 'around' plugin. The issue is being caused by calling the result provider code after the code of the original method.
- B. Replace the injected dependency
\Magento\Checkout\Model\Session\With\Magento\Framework\Session\SessionManagerInterface - C. Inject an instance of \Magentro\Quote\API\CartRepostoryInterface and receive cart instance via$this->cartRepository->get($this-session->getQucteId())
Answer: A
NEW QUESTION # 47
An Adobe Commerce Architect needs to ensure zero downtime during the deployment process of Adobe Commerce on-premises. Which two steps should the Architect follow? (Choose two.)
- A. Rim bin/magento setup:upgrade --convert-old-scripts=true to Upgrade database
- B. Run bin/magento setup:upgrade --keep-generated to Upgrade database
- C. Enable config flag under deployment/blue_ green/enabled
- D. Run bin/magento setup:upgrade -dry-run=true to upgrade database
- E. Enable config flag under developer/zere _down_time/enabled
Answer: C,E
Explanation:
Explanation
In order to ensure zero downtime during the deployment process of Adobe Commerce on-premises, the Architect should enable the config flags under developer/zerodowntime/enabled and deployment/bluegreen/enabled. The zerodowntime/enabled flag will allow for the deployment process to be completed without the need for any downtime, and the bluegreen/enabled flag will enable the blue-green deployment strategy, which allows for a seamless transition between the two deployments. Additionally, the Architect should run bin/magento setup:upgrade to upgrade the database.
NEW QUESTION # 48
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
- B. Adjust the tool's build script and specify required locales during 'setup:static-content:deploy' command
- C. Modify project config.php file, configure 'admin_locales_for_deploy' value, and specify all required locales
Answer: A
Explanation:
Editing project env.php file, configuring 'admin_locales_for.build' value, and specifying all required locales is the solution that the Architect should implement. This is because this configuration allows the tool to generate static content for different locales during the build phase, which improves performance and avoids breaking the site when changing interface locale. See Deploy static view files in the Adobe Commerce Help Center1. Reference: https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/cli/static-view/static-view-file-deployment.html?lang=en1
NEW QUESTION # 49
An Adobe Commerce store owner sets up a custom customer attribute "my.attribute" (type int).
An Architect needs to display customer-specific content on the home page to Customers with "my.attribute" greater than 3. The website is running Full Page Cache.
Using best practices, which two steps should the Architect take to implement these requirements? (Choose two.)
- A. Add a new context value of "my.attribute" to Magento\Framework\App\Http\Context
- B. Use customer-data JS library to retrieve "my.attribute" value
- C. Add a custom block and a phtml template with the content to the cmsjndexjndex.xml layout
- D. Create a Customer Segment and use "my.attribute" in the conditions
- E. Add a dynamic block with the content to the Home Page
Answer: B,C
Explanation:
To display customer-specific content on the home page to Customers with "my.attribute" greater than 3, you need to use the following steps:
Use customer-data JS library to retrieve "my.attribute" value. The customer-data JS library allows you to access the customer data stored in the local storage of the browser. You can use the get() method to get the value of "my.attribute" for the current customer.
Add a new context value of "my.attribute" to Magento\Framework\App\Http\Context. The HTTP context is a mechanism that allows you to vary the cache of a page based on some parameters. By adding a new context value of "my.attribute", you can cache separate versions of the home page for customers with different values of "my.attribute".
Add a custom block and a phtml template with the content to the cms_index_index.xml layout. This step will create a block that will display the customer-specific content on the home page. You can use the phtml template to check the value of "my.attribute" and render the content accordingly.
Reference:
https://devdocs.magento.com/guides/v2.3/extension-dev-guide/cache/page-caching/public-content.html
https://devdocs.magento.com/guides/v2.3/howdoi/checkout/checkout_customize.html
NEW QUESTION # 50
An existing Adobe Commerce website is moving to a headless implementation.
The existing website features an "All Brands" page, as well as individual pages for each brand. All brand-related pages are cached in Varnish using tags in the same manner as products and categories.
Two new GraphQL queries have been created to make this information available to the frontend for the new headless implementation:
During testing, the queries sometimes return out-of-date information.
How should this problem be solved while maintaining performance?
- A. Specify a @cache (cacheable: false directive for each GraphQL query, making sure that the data returned is not cached, and is up to date
- B. Each GraphQL query's resolver class should inject MagentoGraphQICacheModelCacheableQuery and call setCacheValidity (true) on it as part of the resolver's rescive function
- C. Specify a @cache (cacheIdentity: path\\T\\identityClass) directive for each GraphQL query, corresponding to a class that adds cache tags for relevant brands and associated products
Answer: C
Explanation:
This option would allow caching GraphQL query results using Varnish or Fastly with proper invalidation and differentiation mechanisms.
To solve the problem of out-of-date information in GraphQL queries, the Architect should specify a @cache (cacheIdentity: path\T\identityClass) directive for each GraphQL query, corresponding to a class that adds cache tags for relevant brands and associated products. This will allow Varnish to invalidate the cache for these queries when the brand or product data changes. Option A is incorrect because it will make the queries cacheable without any cache tags, which will not solve the problem. Option B is incorrect because it will disable caching for these queries entirely, which will degrade performance. Reference: https://devdocs.magento.com/guides/v2.4/graphql/caching.html
NEW QUESTION # 51
An Architect is working to implement Adobe Commerce into a pre-built ecosystem in a company.
Communication between different company domains uses event-driven design and is driven via AMQP protocol with usingRabbitMQ.
The Architect needs to establish the data flow between the ERP system and Adobe Commerce.
The ERP system stores only customer data excluding customer addresses.
The role of Adobe Commerce is to provide Customer Address data to the enterprise ecosystem.
Primary Customer data should not be changed from Adobe Commerce side; it should only be updated by messages data from ERP.
Which three AMQP configurations should be considered to meet these requirements? (Choose three.)
- A. Create a queue_topology.xml configuration file for Customer Address messages
- B. Create a queue_publisher.xml configuration file for Customer data messages
- C. Create a nueue_publisher.xml configuration file for Customer Address messages
- D. Create a queue_topology.xmlconfiguration file for Customerdata messages
- E. Create a queue_customer.xml and communication.xml configuration files for Customer Address messages
- F. Create a queue_consumer.xml and communction.xml configuration files for Customer data messages
Answer: A,C,E
Explanation:
Explanation
Based on web searches, it seems that Adobe Commerce uses different XML configuration files to define various aspects of message queues, such as consumers, publishers, and topology123.
According to the documentation3, queue_consumer.xml defines the relationship between an existing queue and its consumer, which is a class that processes messages from a queue. queue_publisher.xml defines the exchange where a topic is published, which is a name that identifies a message for routing.
queue_topology.xml defines the message routing rules and declares queues and exchanges.
Based on these definitions, I would say that three possible AMQP configurations that should be considered to meet the requirements are:
* C. Create a queue_publisher.xml configuration file for Customer Address messages
* D. Create a queue_topology.xml configuration file for Customer Address messages
* F. Create a queue_consumer.xml and communication.xml configuration files for Customer Address messages
NEW QUESTION # 52
A merchant notices that product price changes do not update on the storefront.
The index management page in the Adobe Commerce Admin Panel shows the following:
* All indexes are set to 'update by schedule'
* Their status is 'ready'
* There are no items in the backlog
* The indexes were last updated 1 minute ago
A developer verifies that updating and saving product prices adds the relevant product IDs into the catalog_product_price_cl changelog table.
Which two steps should the Architect recommend to the developer to resolve this issue? (Choose two.)
- A. Make sure that no custom or third-party modules modify the changelog and indexing process.
- B. Make sure that the version_id for the price indexer in the mview_state table is not higher than the last entry for the same column in the changelog table and re-synchronize.
- C. Manually reindex the catalog_product_price index from the Command line:bin\magentor indexer:reindex catalog_product_price.
- D. Invalidate the catalog_product_price indexer in the Adobe Commerce Admin Panel so that it is fully reindexed next time the cron runs.
- E. Reduce the frequency of the cron job to 5 minutes so the items have more time to process.
Answer: A,B
Explanation:
To resolve the issue of product price changes not updating on the storefront, you need to take the following steps:
Make sure that no custom or third-party modules modify the changelog and indexing process. Some modules might interfere with the normal functioning of the indexing mechanism and cause data inconsistency or corruption. You can disable any custom or third-party modules that are related to indexing and check if the issue persists.
Make sure that the version_id for the price indexer in the mview_state table is not higher than the last entry for the same column in the changelog table and re-synchronize. The version_id column in the mview_state table indicates the current state of each indexer. If this value is higher than the last entry in the changelog table, it means that the indexer has skipped some records and needs to be re-synchronized. You can use the bin/magento indexer:reset command to reset the state of the price indexer and then run bin/magento indexer:reindex to reindex it.
Reference:
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/indexing.html
https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-index.html
NEW QUESTION # 53
A merchant is using a unified website that supports native Adobe Commerce B2B and B2C with a single store view.
The merchant wants to show the B2B account features like negotiable quotes and credit limits in the header of the site on every page for the logged-in users who are part of a B2B company account.
Each B2B company has its own individual shared catalog and customer group, and many customer groups for non B2B customers change. The merchant requests that this should not be tied to customer groups.
Which two solutions should the Architect recommend considering public data and caching? (Choose two.)
- A. Check if the current user is part of a B2B company within a block class and modify the output accordingly.
- B. Create a new HTTP Context variable to allow for separate public content to be cached for users in B2B companies where the output can be modified accordingly.
- C. Create a new custom condition for customer segments that allow for choosing whether a user is part of a B2B company and then use this segment to modify the output accordingly.
- D. Create a plugin that switches the theme when a user is part of a B2B company so the output can be modified accordingly in the alternate theme.
- E. Set whether the current user is part of a B2B company in the customer session and use that data directly to modify the output accordingly.
Answer: B,C
Explanation:
Explanation
C would involve creating a new custom condition for customer segments that allow for choosing if a user is part of a B2B company, and then use this segment to modify the output accordingly. E would involve creating a new HTTP Context variable to allow for separate public content to be cached for users in B2B companies, where the output can be modified accordingly.
NEW QUESTION # 54
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:
1. Errors should be logged and hidden from the user
2. Cache mode can only be changed from Command Line
3. Static files should be created dynamically and then cached
Which Application Mode is required to achieve this?
- A. Default Mode
- B. Production Mode
- C. Developer Mode
Answer: C
Explanation:
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.
NEW QUESTION # 55
......
Guaranteed Success in Adobe Commerce AD0-E718 Exam Dumps: https://exam-labs.prep4sureguide.com/AD0-E718-prep4sure-exam-guide.html