GCP Professional Cloud Security Engineer Practice Question

Your fintech startup streams millions of purchase transactions into multiple BigQuery tables. Each record contains a 16-digit credit_card_number column in clear text. Compliance requires that:

  1. Data analysts must never see full card numbers, but they still need to aggregate by issuing-bank BIN (the first six digits).
  2. The fraud-investigation team must be able to recover full card numbers on demand.
  3. Any new BigQuery tables or columns that contain card numbers must be protected automatically, without manual schema changes.

Which approach best satisfies all requirements while minimizing ongoing operational effort?

  • Enable BigQuery dynamic data masking to reveal only the first six digits of credit_card_number to analysts and the full value to the fraud team; copy the masking policy manually whenever a new table with card numbers is added.

  • Configure an organization-level Sensitive Data Protection discovery scan for BigQuery and automatically invoke a Dataflow de-identification pipeline that applies format-preserving encryption to only the last ten digits of any CREDIT_CARD_NUMBER field, using a Cloud KMS-wrapped key. Grant analysts read access to the de-identified tables and give the fraud team permission to call the SDP re-identify API with the same key when full PANs are needed.

  • Apply Data Catalog policy tags to every credit_card_number column, deny tag access to analysts, and create an authorized view that returns SUBSTR(credit_card_number,1,6)||"******"; grant the fraud team unrestricted table access.

  • Encrypt all credit card numbers client-side with deterministic AES using Cloud KMS before loading into BigQuery; store the ciphertext in BigQuery and keep the plaintext numbers in Secret Manager for the fraud team to retrieve.

GCP Professional Cloud Security Engineer
Ensuring data protection
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot