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 company is organizing its Google Cloud environment. You need to centralize network management within a dedicated host project while allowing an application team working in a separate development project to deploy virtual machine (VM) instances into a designated subnet (10.0.1.0/24 in us-west1).
You must implement this architecture while adhering to the principle of least privilege.
What should you do?
Shared VPC allows an organization to connect resources from multiple service projects to a common, centralized Virtual Private Cloud (VPC) network hosted in a dedicated host project. Instead of granting broad project-wide access, administrators can apply Identity and Access Management (IAM) roles at the individual subnet level.
roles/compute.networkUser) specifically on the 10.0.1.0/24 subnet allows the application team to attach VM instances only to that designated subnet without giving them access to other subnets or full administrative rights over the network.This approach directly separates network management duties from compute deployment while ensuring the application team receives only the exact permissions needed on the designated subnet.
VPC Network Peering connects two separate VPC networks directly, allowing internal IP communication across independent networks without using an external gateway or public IP addresses.
roles/compute.networkAdmin) on the host project gives the application team broad permissions to create, modify, and delete networking resources in the host project.Two distinct organizations or autonomous business units maintained completely separate administrative boundaries and wanted to interconnect their independently managed VPC networks directly.
The Compute Admin role (roles/compute.admin) grants full control over all Compute Engine resources within a project, including VM instances, disks, networks, firewalls, and subnets.
10.0.1.0/24 subnet, allowing them to use any subnet in the host network.The application team was responsible for managing the entire host project infrastructure, including defining global firewall policies, configuring Cloud VPN gateways, and managing all subnet allocations.
In a proper Shared VPC deployment, developers only need compute rights in their own service project and the Compute Network User role on the relevant shared subnets.
Cloud VPN connects an on-premises network or remote VPC network to a Google Cloud VPC network through an encrypted IPsec VPN tunnel over the public internet or private interconnects.
Compute Network User.The development project resided in a completely separate cloud provider or external on-premises data center requiring encrypted IPsec communication into the host project.
Shared VPC allows instances in service projects to attach directly to host subnets without any virtual appliances, gateways, or tunnel configurations.
Change the inputs and watch how the outcome changes.

Pick an approach and a requirement to see how the architecture and permissions behave.
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