Associate Cloud Engineer practice question · Configuring access and security
An internal web application runs on Compute Engine behind an external Application Load Balancer, and Identity-Aware…
An internal web application runs on Compute Engine behind an external Application Load Balancer, and Identity-Aware Proxy (IAP) already checks that each user is authorized. Security now also requires that requests come only from company-managed devices that meet a device policy and from the corporate IP ranges. What should you do?
- ACreate an Access Context Manager access level with device policy and IP subnetwork conditions, and require it on the IAP-secured resource through an IAM condition
- BAttach a Google Cloud Armor security policy to the load balancer backend that allows only the corporate IP ranges
- CCreate VPC firewall rules on the application's network that allow ingress only from the corporate IP ranges
- DPlace the project in a VPC Service Controls perimeter and add the corporate IP ranges to an ingress rule
Show the answer and explanation
Correct answer: A) Create an Access Context Manager access level with device policy and IP subnetwork conditions, and require it on the IAP-secured resource through an IAM condition
To add device and network conditions on top of IAP's identity check, create an Access Context Manager access level (device policy plus IP subnetworks) and require it on the IAP-secured resource with an IAM condition. This is IAP context-aware access.
Why each option is right or wrong
- A) Correct. With context-aware access, IAP can require an access level. An access level is a set of request attributes, such as IP subnetworks, regions, and device policy, that is checked in addition to user identity. You bind it to the IAP-secured resource with an IAM conditional role binding. Device attributes require a Chrome Enterprise Premium license.
- B) Incorrect. Cloud Armor can filter by source IP at the load balancer, but it cannot check whether the device is company-managed or meets a device policy, so it covers only part of the requirement.
- C) Incorrect. VPC firewall rules work on packets reaching the VMs, and the source of that traffic is the load balancer and proxy, not the end user. They have no information about device posture either.
- D) Incorrect. VPC Service Controls protects access to Google Cloud service APIs, such as Cloud Storage and BigQuery, against data exfiltration. It does not control end-user access to a web application served through a load balancer and IAP.
- Exam domain
- Configuring access and security · ~20% of Associate Cloud Engineer
- Question type
- Multiple choice (one answer)
Related Associate Cloud Engineer questions
- A team protects BigQuery with a VPC Service Controls perimeter. They want to allow requests from outside the perimeter…Configuring access and security
- A project contains dozens of Cloud Storage buckets. A data team needs roles/storage.objectViewer, but only on buckets…Configuring access and security
- VMs inside a VPC Service Controls perimeter use Private Google Access to reach Google APIs.Configuring access and security
- A team running GKE needs to let a developer group create and edit Deployments only in the payments namespace of one…Configuring access and security
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.