Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your organization is deploying several Windows virtual machine (VM) instances in a Virtual Private Cloud (VPC) network on Compute Engine.
To meet corporate security policies, you must fulfill the following requirements:
What should you do to allow secure administrative access?
Private Google Access is a subnet-level setting that allows VM instances with only internal IP addresses to communicate with Google APIs and services (such as Cloud Storage buckets, BigQuery, or Secret Manager) using default Google API domains over Google's internal network.
storage.googleapis.com), not user-managed compute instances.The private instances needed to access Google Cloud APIs directly without traversing the public internet or utilizing an external IP address.
Cloud NAT (Network Address Translation) is a managed service that allows Google Cloud instances without external IP addresses to initiate outbound connections to the internet (e.g., for downloading software updates or accessing external APIs) and receive the corresponding response packets.
The requirement was to allow private VM instances to securely download operating system updates, patches, or external packages without assigning public IP addresses.
Identity-Aware Proxy (IAP) TCP forwarding is a Google Cloud feature that enables users to establish encrypted tunnels to VM instances without needing public IP addresses or traditional VPN connections. It verifies user identity and context-aware access policies via Identity and Access Management (IAM) before establishing a secure TCP connection to administrative ports like TCP 3389 (RDP) or TCP 22 (SSH).
gcloud compute start-iap-tunnel).roles/iap.tunnelResourceAccessor IAM role, preventing unauthorized network discovery.35.235.240.0/20).Using IAP TCP forwarding provides end-to-end security, enterprise access controls, and zero infrastructure overhead compared to deploying dedicated bastion hosts, public IP addresses, or costly VPN hardware.
This approach involves provisioning ephemeral public IP addresses directly onto Compute Engine network interfaces and applying an ingress firewall rule that allows incoming TCP port 3389 traffic from any IP address on the internet (0.0.0.0/0).
0.0.0.0/0) exposes instances to credential stuffing, automated exploits, and continuous brute-force attacks.The VMs were required to be publicly accessible directly over the internet without intermediate proxies and corporate policy permitted assigning external IP addresses to compute resources.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated