Skip to main content

Associate Cloud Engineer practice question · Configuring access and security

A company hosts an internal web application on Compute Engine behind an external HTTPS load balancer.

A company hosts an internal web application on Compute Engine behind an external HTTPS load balancer. The security team wants to stop relying on a VPN. Access should depend on who the user is, enforced through Google Cloud IAM, and on context such as whether the request comes from a corporate-managed device and from an approved IP range or region. Which Google Cloud service should they use?

  • AIdentity-Aware Proxy (IAP) with access levels applied to the backend service
  • BCloud VPN with an HA VPN gateway connecting remote users to the VPC
  • CVPC firewall rules allowing ingress only from the corporate IP ranges
  • DGoogle Cloud Armor security policy with geo-based and IP allowlist rules
Show the answer and explanation

Correct answer: A) Identity-Aware Proxy (IAP) with access levels applied to the backend service

IAP enforces per-request, identity-based access to apps as an alternative to a VPN. Combined with access levels, it can also require device posture and IP/location conditions. VPNs, firewall rules and Cloud Armor all work on network attributes, not user identity.

Why each option is right or wrong

  • A) Correct. IAP sits in front of the load-balanced app and authenticates and authorizes each request against the user's IAM identity. Access levels, defined in Access Context Manager, add contextual conditions such as device posture, IP range or geolocation. This is Google's zero-trust (BeyondCorp) alternative to a VPN.
  • B) Incorrect. Cloud VPN creates IPsec tunnels between networks. Access is still granted at the network level, so it doesn't evaluate each user's identity or device posture per request. It is exactly the VPN dependency the team wants to remove.
  • C) Incorrect. Firewall rules filter traffic by IP, port, protocol, network tag or service account. They don't know who the end user is or what device they use, so they can't make identity- and device-aware decisions.
  • D) Incorrect. Cloud Armor provides WAF and DDoS protection and can filter by IP or region at the load balancer. It doesn't authenticate users against IAM or check device security attributes.
Exam domain
Configuring access and security · ~20% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

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.