PCNE Configuring Network Services Practice Question
A network engineer is configuring a global HTTPS load balancer with Cloud CDN. They want to cache responses based on the request origin, query parameters, and user agent. Which cache key configuration should they use?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Enable custom cache keys and include the origin header, query string, and user-agent header
Custom cache keys allow inclusion of specific request headers, query parameters, and other attributes. The other options are either not valid or insufficient.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use the default cache key, which includes host, scheme, and URL
Why it's wrong here
Default cache key does not include user-agent or query parameters.
- ✗
Set cache mode to CACHE_ALL_STATIC and enable query string whitelist
Why it's wrong here
CACHE_ALL_STATIC does not allow custom headers in cache key.
- ✓
Enable custom cache keys and include the origin header, query string, and user-agent header
Why this is correct
Custom cache keys allow specifying which parameters to include.
- ✗
Create a signed URL to include the required parameters
Why it's wrong here
Signed URLs control access, not cache key composition.
Go deeper
Related to this question
About these practice questions
This PCNE question is part of Courseiva's 961-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCNE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCNE exam.