PCNE Configuring Network Services Practice Question
Exhibit
gcloud dns managed-zones describe example-zone creationTime: '2023-01-01T12:00:00.000Z' description: Example private zone dnsName: example.com. id: '1234567890' kind: dns#managedZone name: example-zone nameServers: - ns-cloud-c1.googledomains.com - ns-cloud-c2.googledomains.com - ns-cloud-c3.googledomains.com - ns-cloud-c4.googledomains.com privateVisibilityConfig: networks: - networkUrl: https://www.googleapis.com/compute/v1/projects/my-project/global/networks/vpc1 visibility: private
Refer to the exhibit. A DNS managed zone is configured with private visibility and associated with a VPC network. A Compute Engine instance in a different VPC network tries to resolve 'test.example.com' but fails. What is the most likely reason?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The instance's VPC is not in the list of authorized networks.
Private zones only respond to queries from authorized VPC networks. The instance is in a different VPC, so resolution fails.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The zone is not set as authoritative for example.com.
Why it's wrong here
The zone is private and authoritative for example.com; that is not the issue.
- ✗
The Cloud DNS name servers are not reachable from the instance.
Why it's wrong here
Cloud DNS name servers are reachable from any VPC with default routes, but the zone will not respond to unauthorized networks.
- ✓
The instance's VPC is not in the list of authorized networks.
Why this is correct
The zone only resolves queries from vpc1; other VPCs are not authorized.
- ✗
The instance does not have the required IAM permissions.
Why it's wrong here
Resolving DNS does not require IAM permissions; it uses standard DNS queries.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 961 original PCNE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCNE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCNE exam.