AD0-E722 practice question 9 of 10

An Adobe Commerce Architect is troubleshooting an issue on an Adobe Commerce Cloud project that is not yet live. The developers copied the Staging…

Full set: 50 questions
An Adobe Commerce Architect is troubleshooting an issue on an Adobe Commerce Cloud project that is not yet live. The developers copied 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 front end. 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?
Answer options
A: The fatly credentials in the Production Database are incorrect.
B: A deployment should have been done on Production to initialize Fatly caching.
C: The site URLs in the Production Database are the URLs of the Staging Instance and must be updated Correct answer
Correct Answer:
C. The site URLs in the Production Database are the URLs of the Staging Instance and must be updated
Explanation

When a database is copied from a source environment (Staging) to a destination environment (Production), it includes all configuration data. A critical piece of this data is the store's base URLs (web/secure/baseurl and web/unsecure/baseurl). The Fastly service, which manages the Varnish cache on Adobe Commerce Cloud, uses these configured base URLs to correctly target cache purge requests. If the Production database contains the Staging URLs, any cache invalidation triggered from the Production admin (e.g., after a product import) will instruct Fastly to purge the cache for the Staging domain, not the Production domain. This leaves the Production frontend cache stale, causing new products to not appear.

Why Incorrect

A. The Fastly credentials in the Production Database are incorrect. On Adobe Commerce Cloud, Fastly credentials (Service ID and API Token) are managed via environment variables, not stored directly in the database, so a database copy would not affect them.
B. A deployment should have been done on Production to initialize Fastly caching. Fastly is already initialized. The issue is not a lack of initialization but a misconfiguration causing purges to target the wrong domain. A deployment is a process, not the root cause of this specific configuration error.

References

1. Adobe Commerce on Cloud Infrastructure Guide, Go-live checklist, "Update store configuration" section: "After you migrate the database from Staging to Production, you must update the base URLs and other store configurations to use the Production environment values." This directly supports the need to update URLs post-database copy. (Source: Adobe Experience League, Commerce on Cloud Infrastructure Guide, Go Live).

2. Adobe Commerce Developer Documentation, "Configure stores" section: "The Base URL values define the HTTP and HTTPS addresses for your store... These settings are critical for the proper operation of the store, including cache invalidation." This highlights the importance of the base URL for core functions like caching. (Source: Adobe Experience League, Commerce Developer Documentation, Stores > Configuration > General > Web).

3. Fastly CDN Module for Magento 2 Documentation, "Purging" section: The documentation explains that purge requests are generated based on the event and the store's configured domain. "When content is changed in Magento, a purge request is sent to the Fastly API." The target of this API request is derived from the store's base URL configuration. (Source: Fastly Developer Hub, Fastly CDN Module for Magento 2).

Scroll to Top