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.
Question
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)- A6% (3)
- B18% (9)
- C4% (2)
- D71% (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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.