Google Associate Cloud Engineer Practice Test 33
Question 320
A migration requires copying existing objects to a second cloud bucket but must not overwrite newer destination generations. What transfer design decision matters?
- Create an agentless Storage Transfer Service job from Amazon S3 to Cloud Storage with approved source and destination access.
- Choose supported overwrite conditions in the managed transfer job and validate with a small conflict test.
- Move objects into an unrelated project without first checking their location and policies.
- Change only the storage class and assume it adds recovery, locking or IAM rights.
Explanation
Correct Answer
B:Transfer overwrite policies affect whether an older source replaces newer destination object content.
Incorrect Answers
A:The option does not enforce the required object location, access or lifecycle behavior. The necessary distinction is the object's required data or access behavior. The appropriate action here is: Choose supported overwrite conditions in the managed transfer job and validate with a small conflict test.
C:The option does not enforce the required object location, access or lifecycle behavior. The case instead depends on the object's required data or access behavior. The appropriate action here is: Choose supported overwrite conditions in the managed transfer job and validate with a small conflict test.
D:Storage class changes cost and access behavior, not the required policy by itself. It leaves the object's required data or access behavior unaddressed. The appropriate action here is: Choose supported overwrite conditions in the managed transfer job and validate with a small conflict test.
Question 321
Two private Compute Engine instances run in subnets in us-central1 and europe-west1 of the SAME global custom-mode VPC. Their internal IP ranges do not overlap. Which design supports private connectivity across regions?
- Create VPC Network Peering between the two subnets, because subnets of the same VPC cannot communicate otherwise.
- Use regional subnets in the existing global VPC, and authorize internal flows through the effective VPC routes and firewall policies.
- Attach a global external IP address to each VM; internet routing is required between different regions of one VPC.
- Relocate both VMs into a Cloud Storage multi-region bucket, which creates private network routes for compute workloads.
Explanation
Correct Answer
B:Use regional subnets in the existing global VPC, and authorize internal flows through the effective VPC routes and firewall policies. A Google Cloud VPC is global with regional subnets. Eligible internal routing spans its regions; the correct effective firewall policies must still permit the flow.
Incorrect Answers
A:Create VPC Network Peering between the two subnets, because subnets of the same VPC cannot communicate otherwise. Peering connects separate VPC networks. These subnets already belong to the same global VPC and do not require peering to each other.
C:Attach a global external IP address to each VM; internet routing is required between different regions of one VPC. Internal addresses in one VPC can communicate across regions without requiring each VM to use public internet IP addresses.
D:Relocate both VMs into a Cloud Storage multi-region bucket, which creates private network routes for compute workloads. Cloud Storage bucket geography does not determine Compute Engine VM VPC routes. A storage location cannot move or connect network subnets.
Question 322
Two departments want separate network isolation even though their projects share one organization. What separation should they establish?
- Use a supported Network Connectivity Center hub with authorized VPC spokes and reviewed routing policies.
- Increase the VM CPU count as the only remedy for the network path failure.
- Create distinct VPC networks and explicit connectivity only where approved, rather than relying on organization membership.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
Explanation
Correct Answer
C:Independent VPC networks are logically isolated regardless of their common organization.
Incorrect Answers
A:Network settings and service or application controls must be distinguished. It leaves the actual network path or policy unaddressed.
B:Additional CPU changes compute capacity rather than the named cloud control. The specific requirement concerns the actual network path or policy.
D:An unrestricted network opening is broader than the described connection requires. The necessary distinction is the actual network path or policy.
Question 323
A platform has several independent VPC networks in separate projects and needs centrally managed hub-and-spoke connectivity without migrating all subnet ownership into one host project. Which architecture should it evaluate?
- Grant the principal roles/compute.networkUser on the appropriate shared subnet (or approved host scope) while retaining its service-project compute role.
- Increase the VM CPU count as the only remedy for the network path failure.
- Use a supported Network Connectivity Center hub with authorized VPC spokes and reviewed routing policies.
- Create an unrelated subnet without changing the active routes or selected targets.
Explanation
Correct Answer
C:NCC can connect VPC spokes through a hub while retaining each VPC's independent project and subnet ownership; Shared VPC centralizes subnet ownership instead.
Incorrect Answers
A:Network settings and service or application controls must be distinguished. The specific requirement concerns the actual network path or policy.
B:Additional CPU changes compute capacity rather than the named cloud control. The necessary distinction is the actual network path or policy.
D:This does not establish the network route or policy needed by the traffic. The case instead depends on the actual network path or policy.
Question 324
Project storefront is attached as a service project to the approved Shared VPC host, but its deployment principal cannot put a VM on host-project subnet prod-a. It has Compute Instance Admin in storefront. What additional permission is needed?
- Grant Billing Account Administrator to the deployment principal because service-project VMs consume host-project network packets.
- Grant the principal roles/compute.networkUser on the appropriate shared subnet (or approved host scope) while retaining its service-project compute role.
- Remove the service-project-to-host attachment and create an unrelated VPC network with an identical subnet name.
- Give the principal organization-level Owner, because Shared VPC usage cannot be delegated to an individual subnet.
Explanation
Correct Answer
B:Grant the principal roles/compute.networkUser on the appropriate shared subnet (or approved host scope) while retaining its service-project compute role. Shared VPC separates VM administration in the service project from subnet usage permissions in the host. Network User on the intended subnet authorizes the use while limiting scope.
Incorrect Answers
A:Grant Billing Account Administrator to the deployment principal because service-project VMs consume host-project network packets. Billing authorization does not grant use of a host-project subnet for VM network interfaces.
C:Remove the service-project-to-host attachment and create an unrelated VPC network with an identical subnet name. Detaching the service project would remove Shared VPC integration; a duplicate network name is not permission to use the actual host subnet.
D:Give the principal organization-level Owner, because Shared VPC usage cannot be delegated to an individual subnet. Google documents subnet-level Network User delegation, so broad organization Owner is unnecessary and excessive.
Question 325
Two organizations need VPC peering but both use 10.0.0.0/16 as their internal range. What should be planned before linking?
- Establish a separate appropriate connection between A and C; VPC Network Peering is nontransitive.
- Renumber or redesign with nonoverlapping address ranges and supported routing before establishing VPC peering.
- Change the VPC display name and assume routes and firewall rules are automatically corrected.
- Increase the VM CPU count as the only remedy for the network path failure.
Explanation
Correct Answer
B:Peering does not resolve overlapping subnet addresses between independent VPC networks.
Incorrect Answers
A:Network settings and service or application controls must be distinguished. The case instead depends on the actual network path or policy.
C:Display names and labels identify resources; they do not enforce their runtime behavior. It leaves the actual network path or policy unaddressed.
D:Additional CPU changes compute capacity rather than the named cloud control. The specific requirement concerns the actual network path or policy. The appropriate action here is: Renumber or redesign with nonoverlapping address ranges and supported routing before establishing VPC peering.
Question 326
A service in VPC A needs to reach VPC C through a network peered only via VPC B. Why does the indirect path fail?
- Renumber or redesign with nonoverlapping address ranges and supported routing before establishing VPC peering.
- Establish a separate appropriate connection between A and C; VPC Network Peering is nontransitive.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
- Change the VPC display name and assume routes and firewall rules are automatically corrected.
Explanation
Correct Answer
B:VPC peering does not automatically route packets across a third peered network.
Incorrect Answers
A:This does not establish the network route or policy needed by the traffic. It leaves the actual network path or policy unaddressed.
C:An unrestricted network opening is broader than the described connection requires. The specific requirement concerns the actual network path or policy.
D:Display names and labels identify resources; they do not enforce their runtime behavior. The necessary distinction is the actual network path or policy.
Question 327
A custom VPC's subnet range is exhausted by new internal VM addresses and the team wants to preserve existing assignments. What operation is relevant?
- Expand the subnet's primary IPv4 range into available nonoverlapping address space when supported.
- Renumber or redesign with nonoverlapping address ranges and supported routing before establishing VPC peering.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
- Create an unrelated subnet without changing the active routes or selected targets.
Explanation
Correct Answer
A:Subnets can be expanded within allowed CIDR constraints but shrinking or overlapping ranges is restricted.
Incorrect Answers
B:This does not establish the network route or policy needed by the traffic. The specific requirement concerns the actual network path or policy.
C:An unrestricted network opening is broader than the described connection requires. The necessary distinction is the actual network path or policy. The appropriate action here is: Expand the subnet's primary IPv4 range into available nonoverlapping address space when supported.
D:This does not establish the network route or policy needed by the traffic. The case instead depends on the actual network path or policy. The appropriate action here is: Expand the subnet's primary IPv4 range into available nonoverlapping address space when supported.
Question 328
A private GKE cluster requires separate Pod and Service IP space from VM primary IPs. What subnet feature should be planned?
- Allocate eligible secondary IP address ranges for GKE alias IP addresses and Services.
- Expand the subnet's primary IPv4 range into available nonoverlapping address space when supported.
- Turn off firewall logging before identifying the effective rule handling the packets.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
Explanation
Correct Answer
A:GKE VPC-native networking uses secondary subnet ranges for workload addressing.
Incorrect Answers
B:This does not establish the network route or policy needed by the traffic. The necessary distinction is the actual network path or policy.
C:This does not establish the network route or policy needed by the traffic. The case instead depends on the actual network path or policy. The appropriate action here is: Allocate eligible secondary IP address ranges for GKE alias IP addresses and Services.
D:An unrestricted network opening is broader than the described connection requires. It leaves the actual network path or policy unaddressed.
Question 329
A team configures a route pointing to the internet gateway but the destination VM has no external IP and cannot reach the public internet. What else matters?
- Set the eligible VM/external-IP resource's network tier explicitly to Standard and verify that its frontend mode supports it.
- Provide an appropriate Public NAT or proxy path for the internal-only instance and verify firewall egress.
- Turn off firewall logging before identifying the effective rule handling the packets.
- Change only the DNS record even though the described control is a network policy or route.
Explanation
Correct Answer
B:A default internet route alone does not supply source NAT for a VM lacking an external IPv4 address.
Incorrect Answers
A:Network settings and service or application controls must be distinguished. The case instead depends on the effective firewall policy.
C:This does not establish the network route or policy needed by the traffic. It leaves the effective firewall policy unaddressed.
D:Network settings and service or application controls must be distinguished. The specific requirement concerns the effective firewall policy.
Question 330
A regulated application needs a private RFC1918 endpoint for Google APIs inside its VPC, rather than resolving the standard public API hostnames, and an approved private access architecture is required. What feature should be evaluated?
- Use a suitable internal load balancer and restrict client access within the approved private network.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
- Change the VPC display name and assume routes and firewall rules are automatically corrected.
- Create a supported Private Service Connect endpoint for Google APIs with the required private DNS and IAM configuration.
Explanation
Correct Answer
D:Private Service Connect for Google APIs provides a consumer-side private endpoint, distinct from merely enabling subnet Private Google Access.
Incorrect Answers
A:Network settings and service or application controls must be distinguished. It leaves the actual network path or policy unaddressed. The appropriate action here is: Create a supported Private Service Connect endpoint for Google APIs with the required private DNS and IAM configuration.
B:An unrestricted network opening is broader than the described connection requires. The specific requirement concerns the actual network path or policy. The appropriate action here is: Create a supported Private Service Connect endpoint for Google APIs with the required private DNS and IAM configuration.
C:Display names and labels identify resources; they do not enforce their runtime behavior. The necessary distinction is the actual network path or policy. The appropriate action here is: Create a supported Private Service Connect endpoint for Google APIs with the required private DNS and IAM configuration.