Question 415 of 500
Supporting compliance requirementsmediumMultiple ChoiceObjective-mapped

Quick Answer

The correct choice is to use service account impersonation with IAM conditions to restrict authorized application access. This security control works by requiring that any application requesting access to sensitive data must first assume a specific service account identity, while IAM conditions add an extra layer of enforcement—such as checking for resource tags, trusted IP ranges, or the caller’s application identity—so that even if credentials are compromised, an attacker cannot impersonate that service account unless they also satisfy those conditions. On the Google Professional Cloud Security Engineer exam, this scenario tests your understanding of how to combine identity-based access with attribute-based constraints, often appearing as a trap where candidates mistakenly choose simple service account keys or VPC Service Controls alone. The key memory tip is “impersonate and condition”—think of the service account as the key and the IAM condition as the lock that only opens for the right application, ensuring HIPAA’s minimum necessary standard is met.

PCSE Supporting compliance requirements Practice Question

This PCSE practice question tests your understanding of supporting compliance requirements. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.

A pharmaceutical company uses Google Cloud to process clinical trial data subject to HIPAA. They must ensure that only authorized applications can access the data, even if credentials are compromised. Which security control should they implement?

Question 1mediummultiple choice
Full question →

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

Use service account impersonation with IAM conditions to restrict access to specific trusted applications.

Option B is correct because service account impersonation with IAM conditions allows the company to bind access to specific trusted applications by requiring that the caller present a specific service account identity. Even if credentials are compromised, the attacker cannot impersonate that service account unless they also satisfy the IAM conditions (e.g., resource tags, IP ranges, or application identity). This directly addresses the requirement to restrict access to authorized applications only, as per HIPAA's minimum necessary standard.

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.

  • Use Workload Identity Federation to allow workloads to access data without service account keys.

    Why it's wrong here

    Workload Identity Federation is for workloads outside Google Cloud, not for applications inside.

  • Use service account impersonation with IAM conditions to restrict access to specific trusted applications.

    Why this is correct

    Impersonation with conditions limits the use of service accounts to specific callers, reducing blast radius.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Create a VPC Service Control perimeter that allows only specific service accounts to access the data.

    Why it's wrong here

    Service perimeters do not prevent a compromised service account from being used; they restrict network context.

  • Require users to MFA and use IAM roles to grant access.

    Why it's wrong here

    This addresses user credential compromise but not application credential compromise.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse authentication (who you are) with authorization (what you can do) and pick MFA or VPC perimeters, missing that the question explicitly requires application-level restriction even after credential compromise, which only impersonation with conditions provides.

Detailed technical explanation

How to think about this question

Service account impersonation uses the IAM method `iam.serviceAccounts.actAs` permission, which when combined with IAM conditions (e.g., `resource.service == 'compute.googleapis.com'` or `request.auth.claims.sub`), enforces that only specific workloads (e.g., a Compute Engine VM with a given service account) can assume the target identity. Under the hood, the impersonating workload obtains a short-lived OAuth 2.0 access token (default 1 hour) via the `generateAccessToken` API, which is scoped to the target service account's roles. In a real-world HIPAA scenario, this prevents a compromised developer laptop from using stolen service account keys to query BigQuery clinical data, as the attacker would lack the required IAM condition (e.g., being a specific GKE pod).

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 PCSE 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 PCSE 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 PCSE question test?

Supporting compliance requirements — This question tests Supporting compliance requirements — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use service account impersonation with IAM conditions to restrict access to specific trusted applications. — Option B is correct because service account impersonation with IAM conditions allows the company to bind access to specific trusted applications by requiring that the caller present a specific service account identity. Even if credentials are compromised, the attacker cannot impersonate that service account unless they also satisfy the IAM conditions (e.g., resource tags, IP ranges, or application identity). This directly addresses the requirement to restrict access to authorized applications only, as per HIPAA's minimum necessary standard.

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

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

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 25, 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 PCSE 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 PCSE exam.