
Answer-first summary for fast verification
Answer: Configure the USE_ORIGIN_HEADERS caching mode on Cloud CDN to ensure Cloud CDN caches content depending on responses to requests from the backends.
The issue arises because Cloud CDN is not respecting the caching headers defined by the application team. The correct approach is to configure the USE_ORIGIN_HEADERS caching mode, which instructs Cloud CDN to cache content based on the Cache-Control headers provided by the backend. The application team has already defined caching behavior in their responses, so using this mode ensures Cloud CDN honors those directives. Other modes like CACHE_ALL_STATIC or FORCE_CACHE_ALL override origin headers, which would ignore the application's specific caching rules and could lead to improper caching behavior.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your networking team enabled Cloud CDN for an external-facing service exposed through an external Application Load Balancer. The application team has configured cacheable content in the responses, but performance testing shows no improvement after enabling Cloud CDN. How should you troubleshoot and resolve this issue?
A
Configure the CACHE_ALL_STATIC caching mode on Cloud CDN to ensure Cloud CDN caches all static content as well as content defined by the backends.
B
Configure the FORCE_CACHE_ALL caching mode on Cloud CDN to ensure all appropriate content is cached.
C
Configure the USE_ORIGIN_HEADERS caching mode on Cloud CDN to ensure Cloud CDN caches content depending on responses to requests from the backends.
D
Configure the CACHE_ALL_STATIC caching mode on Cloud CDN to ensure Cloud CDN cache content depending on responses to requests from the backends.
No comments yet.