Associate Cloud Engineer practice question · Planning and implementing a cloud solution
A company serves a public website through a global external Application Load Balancer with Cloud CDN enabled.
A company serves a public website through a global external Application Load Balancer with Cloud CDN enabled. They want Cloud Armor to block abusive clients even when the requested content is already cached, and to apply further filtering to requests forwarded to the origin backends. What should they plan?
- AAttach an edge security policy to filter requests before the cache lookup, and a backend security policy to evaluate cache-miss requests sent to the origin
- BAttach only a backend security policy, because backend policies are evaluated before Cloud CDN checks its cache and therefore cover every request
- CCreate VPC firewall rules on the backend instances that deny abusive client IP ranges, since these rules are also enforced at Cloud CDN edge locations
- DAttach a regional security policy to the backend service, because regional policies are enforced at both the CDN edge and the origin backends
Show the answer and explanation
Correct answer: A) Attach an edge security policy to filter requests before the cache lookup, and a backend security policy to evaluate cache-miss requests sent to the origin
With Cloud CDN, use an edge security policy to filter requests before they are served from cache, and a backend security policy for cache-miss traffic going to the origin. Together they give layered protection.
Why each option is right or wrong
- A) Correct. Edge security policies are evaluated first and filter requests whether or not they would be served from cache. Backend security policies then evaluate only cache-miss and dynamic requests that passed the edge policy, giving two layers of protection.
- B) Incorrect. Backend security policies apply only to requests that reach the backend, such as cache misses and dynamic content. Requests served from cache are never checked by them.
- C) Incorrect. VPC firewall rules apply to traffic reaching VMs in the VPC network, and behind a proxy load balancer that traffic comes from Google Front End ranges. They are not enforced at the CDN edge and can't filter cached responses.
- D) Incorrect. Regional security policies are for regional load balancers and aren't evaluated at Cloud CDN edge locations. They don't filter requests before content is served from cache.
- Exam domain
- Planning and implementing a cloud solution · ~30% of Associate Cloud Engineer
- Question type
- Multiple choice (one answer)
Related Associate Cloud Engineer questions
- A team is creating a managed instance group (MIG). Every VM the group creates, whether during autoscaling or…Planning and implementing a cloud solution
- A team runs a large, fault-tolerant batch data-processing job on Compute Engine a few times per quarter.Planning and implementing a cloud solution
- A team is planning a Compute Engine VM with a non-boot Persistent Disk for application data.Planning and implementing a cloud solution
- A team runs several REST APIs on Cloud Run services and Cloud Run functions.Planning and implementing a cloud solution
All 60 free Associate Cloud Engineer questions by domain · 15 sample questions on one page
Practise the full Associate Cloud Engineer exam
This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.