PCNE Implementing VPC Instances Practice Question
An engineer wants to allow traffic from a specific service account to a Compute Engine instance. Which firewall rule option should they use for the source?
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
✓
Source service accounts
Firewall rules can use service accounts as source or target. For source, you specify the source service account using the --source-service-accounts flag.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Source service accounts
Why this is correct
Service accounts can be used as source to identify traffic from instances using that service account.
- ✗
Target service accounts
Why it's wrong here
Target service accounts are for specifying the destination instances.
- ✗
Source IP ranges
Why it's wrong here
Source IP ranges are used for IP-based sources, not service accounts.
- ✗
Source tags
Why it's wrong here
Tags are used for instance-based targeting, not service accounts.
Go deeper
Related to this question
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 →
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.