Question 141 of 497
Implementing network securityeasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is the VPC Accessible Services restriction, which denies API access from external IPs because it mandates that all traffic to Google APIs must originate from an internal IP address or use VPC-controlled access like Private Google Access or Private Service Connect. When this restriction is enabled, any request coming from a VM with a public external IP—even if the VM is within the perimeter project—is blocked, as the policy explicitly prevents direct internet-based API calls. On the Google Professional Cloud Network Engineer exam, this scenario tests your understanding of how VPC Service Controls enforce data exfiltration prevention by restricting API access to internal or VPC-routed paths; a common trap is assuming that a VM’s membership in a perimeter project automatically grants API access, ignoring the source IP requirement. Remember the memory tip: “External IP? API denied—internal path only.”

PCNE Implementing network security Practice Question

This PCNE practice question tests your understanding of implementing network security. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

{
  "name": "my-perimeter",
  "status": {
    "accessLevels": [
      "accessPolicies/12345/accessLevels/trusted_ips"
    ],
    "resources": ["projects/111111111111"],
    "restrictedServices": ["bigquery.googleapis.com"],
    "vpcAccessibleServices": {
      "allowedServices": ["bigquery.googleapis.com"],
      "enableRestriction": true
    }
  }
}

Refer to the exhibit. A user within the perimeter project '111111111111' tries to access BigQuery from a VM that has an external IP address. The request is denied. What is the most likely reason?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1easymultiple choice
Full question →

Exhibit

{
  "name": "my-perimeter",
  "status": {
    "accessLevels": [
      "accessPolicies/12345/accessLevels/trusted_ips"
    ],
    "resources": ["projects/111111111111"],
    "restrictedServices": ["bigquery.googleapis.com"],
    "vpcAccessibleServices": {
      "allowedServices": ["bigquery.googleapis.com"],
      "enableRestriction": true
    }
  }
}

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 VPC Accessible Services restriction requires that the request originate from an internal IP address or through VPC-controlled access.

The VPC Accessible Services restriction, when enabled, forces all traffic to Google APIs to use internal IP addresses or VPC-controlled access (such as Private Google Access or Private Service Connect). Since the VM has an external IP address and the request is denied, the most likely reason is that this restriction is in place, requiring the request to originate from an internal IP or through a VPC endpoint, not from a public external IP.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 VPC Accessible Services restriction requires that the request originate from an internal IP address or through VPC-controlled access.

    Why this is correct

    With vpcAccessibleServices enabled, requests from external IPs are blocked unless allowed.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • BigQuery is not listed in the restricted services, so it is blocked.

    Why it's wrong here

    BigQuery is listed in restricted services.

  • The user does not meet the access level conditions defined in 'trusted_ips'.

    Why it's wrong here

    Access levels apply to requests from outside the perimeter.

  • The VM's project is not in the resources list.

    Why it's wrong here

    The project is in the resources list.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between network-level restrictions (VPC Accessible Services) and identity/access-level conditions (Access Context Manager), causing candidates to confuse the 'trusted_ips' condition with IP-based network restrictions.

Detailed technical explanation

How to think about this question

VPC Accessible Services works by intercepting DNS resolution for restricted API domains (e.g., bigquery.googleapis.com) and ensuring that only traffic from internal IPs or through VPC peering/Private Service Connect reaches the service. Under the hood, it uses a combination of DNS peering zones and firewall rules that drop packets from external IPs. In a real-world scenario, if a VM with an external IP tries to access BigQuery without Private Google Access enabled on its subnet, the request will be denied even if the VM has proper IAM permissions.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PCNE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PCNE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PCNE question test?

Implementing network security — This question tests Implementing network security — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The VPC Accessible Services restriction requires that the request originate from an internal IP address or through VPC-controlled access. — The VPC Accessible Services restriction, when enabled, forces all traffic to Google APIs to use internal IP addresses or VPC-controlled access (such as Private Google Access or Private Service Connect). Since the VM has an external IP address and the request is denied, the most likely reason is that this restriction is in place, requiring the request to originate from an internal IP or through a VPC endpoint, not from a public external IP.

What should I do if I get this PCNE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.