Question 225 of 500
Ensuring data protectionmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to use Cloud DLP with a content item size limit and stored infoTypes to reduce inspection time. This works because synchronous Cloud DLP latency is directly proportional to the size of the content being scanned and the number of infoTypes evaluated; by capping the content item size—for instance, to 1 MB—and leveraging stored infoTypes, which are pre-compiled for faster pattern matching, you dramatically cut inspection time while maintaining security. On the Google Professional Cloud Security Engineer exam, this scenario tests your understanding of DLP’s synchronous API limits and the trade-off between thoroughness and speed; a common trap is to assume asynchronous jobs are always the answer, but here the 5-second window demands synchronous optimization. Remember the memory tip: “Size and type, keep them tight”—limiting both the payload and the infoType list directly controls latency.

PCSE Ensuring data protection Practice Question

This PCSE practice question tests your understanding of ensuring data protection. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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 healthcare startup is building a data pipeline on Google Cloud. They receive patient data via a REST API running on Cloud Run. The data includes sensitive health information that must be de-identified before being stored in BigQuery. They plan to use Cloud DLP to inspect and transform the data. However, due to latency requirements, they need to de-identify the data within 5 seconds of receiving the request. They have set up a Cloud DLP job to inspect the data synchronously using the DLP API. During testing, they notice that the de-identification sometimes takes over 10 seconds, causing API timeouts. They want to reduce the latency without compromising security. What should they do?

Question 1mediummultiple choice
Read the full NAT/PAT explanation →

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 Cloud DLP with a content item size limit and stored infoTypes to reduce inspection time.

Option B is correct because Cloud DLP synchronous inspection latency is directly proportional to the content size and the number of infoTypes scanned. By limiting the content item size (e.g., to 1 MB) and using stored infoTypes (which are pre-compiled for faster matching), you reduce the inspection time significantly, enabling de-identification within the 5-second window without compromising security.

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 a Cloud Function to process the data and call the DLP API.

    Why it's wrong here

    Cloud Functions add cold start latency; still might exceed 5 seconds.

  • Use Cloud DLP with a content item size limit and stored infoTypes to reduce inspection time.

    Why this is correct

    Limiting content size and using pre-defined infoTypes speeds up synchronous inspection.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Instead of using Cloud DLP, use BigQuery column-level security with data masking.

    Why it's wrong here

    BigQuery masking only works at query time and does not de-identify during ingestion.

  • Configure a Cloud DLP job to run asynchronously and store results in BigQuery, then modified the pipeline to read the de-identified data later.

    Why it's wrong here

    Asynchronous processing adds latency and does not meet the 5-second requirement.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that adding more compute resources (like Cloud Functions) or switching to asynchronous processing will solve latency issues, when the real bottleneck is the DLP inspection configuration itself.

Detailed technical explanation

How to think about this question

Cloud DLP synchronous inspection uses a content.item method where the entire payload is sent in the API request. The inspection time scales with the number of infoTypes and the size of the content; stored infoTypes are pre-compiled detection rules that avoid runtime compilation, reducing CPU overhead. In practice, limiting content to 500 KB and using only required infoTypes (e.g., US_HEALTHCARE_NPI) can cut inspection time by over 50%, keeping it under 5 seconds for most real-time healthcare APIs.

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 cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

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?

Ensuring data protection — This question tests Ensuring data protection — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use Cloud DLP with a content item size limit and stored infoTypes to reduce inspection time. — Option B is correct because Cloud DLP synchronous inspection latency is directly proportional to the content size and the number of infoTypes scanned. By limiting the content item size (e.g., to 1 MB) and using stored infoTypes (which are pre-compiled for faster matching), you reduce the inspection time significantly, enabling de-identification within the 5-second window without compromising security.

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 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 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.