nerdexam
Google

PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #263

An administrative application is running on a virtual machine (VM) in a managed group at port 5601 inside a Virtual Private Cloud (VPC) instance without access to the internet currently. You want to…

The correct answer is D. Configure an HTTP Load Balancing instance that points to the managed group with Identity-. To expose an internal web interface on a VM with Google credentials for authentication and authorization, configure an HTTP Load Balancer pointing to the managed instance group with Identity-Aware Proxy (IAP) enabled.

Submitted by miguelv· Apr 18, 2026Configuring access within a cloud solution environment

Question

An administrative application is running on a virtual machine (VM) in a managed group at port 5601 inside a Virtual Private Cloud (VPC) instance without access to the internet currently. You want to expose the web interface at port 5601 to users and enforce authentication and authorization Google credentials. What should you do?

Options

  • AConfigure the bastion host with OS Login enabled and allow connection to port 5601 at VPC
  • BModify the VPC routing with the default route point to the default internet gateway. Modify the
  • CConfigure Secure Shell Access (SSH) bastion host in a public network, and allow only the bastion
  • DConfigure an HTTP Load Balancing instance that points to the managed group with Identity-

How the community answered

(49 responses)
  • A
    6% (3)
  • B
    18% (9)
  • C
    4% (2)
  • D
    71% (35)

Why each option

To expose an internal web interface on a VM with Google credentials for authentication and authorization, configure an HTTP Load Balancer pointing to the managed instance group with Identity-Aware Proxy (IAP) enabled.

AConfigure the bastion host with OS Login enabled and allow connection to port 5601 at VPC

A bastion host with OS Login is primarily used for secure SSH access to VMs, not for exposing a web interface with Google credential-based authentication for web users.

BModify the VPC routing with the default route point to the default internet gateway. Modify the

Modifying VPC routing to point to the default internet gateway would expose the VM directly to the internet, creating a significant security risk, and does not inherently enforce Google credentials for authentication at the web interface level.

CConfigure Secure Shell Access (SSH) bastion host in a public network, and allow only the bastion

Configuring an SSH bastion host in a public network is for secure shell access to VMs, not for exposing a web-based administrative interface and enforcing web authentication with Google credentials.

DConfigure an HTTP Load Balancing instance that points to the managed group with Identity-Correct

Configuring an HTTP(S) Load Balancing instance that points to the managed instance group and enabling Identity-Aware Proxy (IAP) allows you to securely expose the internal web interface. IAP provides fine-grained access control based on Google identities, enforcing authentication and authorization with Google credentials before users can reach the application, while keeping the backend VM private without direct internet access.

Concept tested: Identity-Aware Proxy (IAP) with HTTP(S) Load Balancer

Source: https://cloud.google.com/iap

Topics

#Identity-Aware Proxy (IAP)#HTTP(S) Load Balancer#Access Control#Secure Application Exposure

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-SECURITY-ENGINEER Practice