Courseiva
Implementing VPC InstanceseasyMultiple SelectObjective-mapped

PCNE Implementing VPC Instances Practice Question

A company wants to allow traffic to a specific set of Compute Engine instances only from a single management instance that uses a service account. The management instance has the service account 'sa-mgmt@project.iam.gserviceaccount.com'. Which TWO firewall rule configurations can achieve this? (Choose TWO.)

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

Set the source IP range to the internal IP of the management instance

Firewall rules can target instances by service account (using the 'target service accounts' field) and filter source traffic by service account (using the 'source service accounts' field). Both approaches can restrict traffic to only the management instance's service account.

Answer analysis

Option-by-option breakdown

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

  • Set the source IP range to the internal IP of the management instance

    Why this is correct

    This restricts traffic to that specific IP address.

  • Set the source service account filter to 'sa-mgmt@project.iam.gserviceaccount.com'

    Why this is correct

    This filters incoming traffic to only allow traffic from instances with that service account.

  • Set the priority to 65535 to ensure it is evaluated last

    Why it's wrong here

    Priority affects evaluation order but does not restrict traffic.

  • Set the target tags to 'mgmt' and assign that tag to the management instance

    Why it's wrong here

    This would apply the rule to instances with the tag, but would not restrict the source.

  • Set the target of the rule to the service account 'sa-mgmt@project.iam.gserviceaccount.com'

    Why it's wrong here

    This would apply the rule to instances with that service account, but the rule would allow traffic from any source, not just the management instance.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

About these practice questions

Courseiva writes every PCNE question from scratch — 961 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.