Question 1
Topic: Architecture
Skill tested: Select cache layers and invalidation behavior for a high-traffic Commerce storefront.
A retailer runs Adobe Commerce on a production cluster with Varnish in front of the application nodes. Product pages are served quickly from the full-page cache, but a new store-view-specific banner sometimes appears only after a long delay. The banner is rendered by a custom block whose output depends on a store configuration value, and the block currently participates in full-page caching without a cache identity or explicit cache lifetime. The team must retain shared-cache performance and ensure that changing the banner invalidates affected cached pages. Which two changes best address the problem? Select TWO.
Full-page cache entries need appropriate identities so Commerce can associate cached pages with the data that affects them; cleaning the relevant tag then invalidates those entries without disabling shared caching. The block must also resolve the configuration in the active store scope so each store view displays its intended value. Marking it non-cacheable can undermine full-page caching and is unnecessary. A TTL only causes eventual expiry, not immediate invalidation on configuration changes. Disabling Varnish for a store view sacrifices the shared-cache layer rather than fixing cache identity or scope.