nerdexam
Google

PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #304

You are responsible for a set of Cloud Functions running on your organization's Google Cloud environment. During the last annual security review, secrets were identified in environment variables of…

The correct answer is C. Use Sensitive Data Protection to scan the environment variables multiple times per day, and. Sensitive Data Protection (formerly Cloud DLP) is Google Cloud's purpose-built service for detecting sensitive data - including secrets, credentials, and PII - making it the right tool for automated, recurring scans of Cloud Functions environment variables; it requires no…

Submitted by cyberguy42· Apr 18, 2026Ensuring data protection

Question

You are responsible for a set of Cloud Functions running on your organization's Google Cloud environment. During the last annual security review, secrets were identified in environment variables of some of these Cloud Functions. You must ensure that secrets are identified in a timely manner. What should you do?

Options

  • AImplement regular peer reviews to assess the environment variables and identify secrets in your
  • BImplement a Cloud Function that scans the environment variables multiple times a day, and
  • CUse Sensitive Data Protection to scan the environment variables multiple times per day, and
  • DIntegrate dynamic application security testing into the CI/CD pipeline that scans the application

How the community answered

(35 responses)
  • A
    14% (5)
  • B
    3% (1)
  • C
    74% (26)
  • D
    9% (3)

Explanation

Sensitive Data Protection (formerly Cloud DLP) is Google Cloud's purpose-built service for detecting sensitive data - including secrets, credentials, and PII - making it the right tool for automated, recurring scans of Cloud Functions environment variables; it requires no custom detection logic and scales reliably across your entire environment.

Why the distractors fall short:

  • A (peer reviews) relies on manual, infrequent human effort, which is slow and error-prone - the exact problem the annual review revealed.
  • B (custom Cloud Function scanner) reinvents the wheel by building detection logic from scratch when a managed service already exists; it also introduces maintenance burden and risk of incomplete detection.
  • D (DAST in CI/CD) catches issues at deployment time but won't detect secrets that already exist in live function configurations, nor does it address environment variables as a data-at-rest concern.

Memory tip: Think "Sensitive Data Protection = Secrets Detected Proactively" - whenever an exam question involves finding sensitive data (secrets, PII, credentials) across GCP resources automatically and repeatedly, Sensitive Data Protection is the answer over manual reviews or custom scripts.

Topics

#Sensitive Data Protection#Secret management#Security scanning#Cloud Functions

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-SECURITY-ENGINEER Practice