Courseiva
Implementing VPC InstancesmediumMultiple ChoiceObjective-mapped

PCNE Implementing VPC Instances Practice Question

Your VPC has instances with internal DNS names like 'instance1.us-central1-a.c.myproject.internal'. You need to ensure that DNS resolution works for instances in the same zone using short names (e.g., 'instance1'). Which condition must be met?

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 instances must be in the same zone and VPC network.

Google Cloud internal DNS automatically resolves short names for instances within the same zone and network. The instance must be in the same zone and VPC network. No additional configuration is needed as long as instances are in the same zone.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Custom DNS must be configured via Cloud DNS.

    Why it's wrong here

    Cloud DNS can override but is not required for default internal resolution.

  • The VPC must have Private Google Access enabled.

    Why it's wrong here

    Private Google Access enables instances without external IPs to reach Google APIs and services, not internal DNS resolution for short names. It is tempting because it is a common VPC networking feature for accessing Google-managed resources, and in scenarios requiring private API access from internal-only instances, it would be the correct choice. However, the stem demands zone-based internal DNS short-name resolution, which relies on the VPC’s internal DNS zone configuration, not Private Google Access.

  • The instances must be in the same zone and VPC network.

    Why this is correct

    Internal DNS resolves short names only for instances in the same zone and network.

  • The instance must have a network tag 'dns-enabled'.

    Why it's wrong here

    Tags are not required for DNS resolution.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

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 →

How Courseiva writes practice questions · Editorial policy

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.