Question 311 of 500

Quick Answer

The answer is that the plaintext field is redacted by Cloud KMS and is not visible in the log entry. This is correct because Cloud KMS automatically applies log redaction to the plaintext field during decrypt operations, replacing the actual decrypted data with a redacted marker like `[REDACTED]` in Cloud Audit Logs. This built-in security feature ensures that sensitive decrypted content is never exposed in logs, even to users who have permission to view them. On the Google Professional Cloud Security Engineer exam, this concept tests your understanding of Cloud KMS’s data protection mechanisms and how they interact with audit logging; a common trap is assuming that the plaintext appears in logs because the decrypt operation succeeded. Remember the memory tip: “KMS redacts the plaintext, not the fact of decryption”—the log shows the action, but the data stays hidden.

PCSE Practice Question: Managing operations in a cloud solution environment

This PCSE practice question tests your understanding of managing operations in a cloud solution environment. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. 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.

Exhibit

Refer to the exhibit.

```
$ gcloud logging read "logName=projects/my-project/logs/cloudaudit.googleapis.com%2Factivity AND protoPayload.methodName=google.cloud.kms.v1.Decrypt" --limit 5

---
insertId: 1a2b3c4d5e
logName: projects/my-project/logs/cloudaudit.googleapis.com%2Factivity
protoPayload:
  @type: type.googleapis.com/google.cloud.audit.AuditLog
  authenticationInfo:
    principalEmail: user@example.com
  methodName: google.cloud.kms.v1.Decrypt
  resourceName: projects/my-project/locations/global/keyRings/my-keyring/cryptoKeys/my-key/cryptoKeyVersions/1
  response:
    plaintext: "REDACTED"
  serviceName: cloudkms.googleapis.com
  status: {}
resource:
  labels:
    key_id: my-key
    location: global
    key_ring: my-keyring
  type: cloudkms_crypto_key
severity: NOTICE
```

Refer to the exhibit. A security engineer runs the command to view recent decrypt operations on a Cloud KMS key. The output shows a successful decryption. However, the engineer is concerned about the exposure of the plaintext. Based on the log entry, what is the most accurate statement regarding the visibility of the decrypted plaintext?

Question 1hardmultiple choice
Full question →

Exhibit

Refer to the exhibit.

```
$ gcloud logging read "logName=projects/my-project/logs/cloudaudit.googleapis.com%2Factivity AND protoPayload.methodName=google.cloud.kms.v1.Decrypt" --limit 5

---
insertId: 1a2b3c4d5e
logName: projects/my-project/logs/cloudaudit.googleapis.com%2Factivity
protoPayload:
  @type: type.googleapis.com/google.cloud.audit.AuditLog
  authenticationInfo:
    principalEmail: user@example.com
  methodName: google.cloud.kms.v1.Decrypt
  resourceName: projects/my-project/locations/global/keyRings/my-keyring/cryptoKeys/my-key/cryptoKeyVersions/1
  response:
    plaintext: "REDACTED"
  serviceName: cloudkms.googleapis.com
  status: {}
resource:
  labels:
    key_id: my-key
    location: global
    key_ring: my-keyring
  type: cloudkms_crypto_key
severity: NOTICE
```

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

The plaintext field is redacted by Cloud KMS, and the actual plaintext is not visible in the log entry.

Option C is correct because Cloud KMS automatically redacts the plaintext field in Cloud Audit Logs for decrypt operations. The log entry shows a successful decryption, but the actual decrypted data is never written to the logs; instead, the plaintext field is replaced with a redacted marker (e.g., `[REDACTED]`). This is a security feature to prevent sensitive data from being exposed in audit logs, even to users with access to view them.

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.

  • The plaintext field is not present in the log because the service does not log it.

    Why it's wrong here

    The field is present but redacted.

  • The plaintext field contains the base64-encoded ciphertext, and the engineer needs to decode it.

    Why it's wrong here

    The field is not ciphertext; it is labeled plaintext and is redacted.

  • The plaintext field is redacted by Cloud KMS, and the actual plaintext is not visible in the log entry.

    Why this is correct

    Cloud Audit Logs automatically redact sensitive data like decrypted plaintext.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The plaintext field contains the actual decrypted data in plaintext, and the engineer should restrict access to the logs.

    Why it's wrong here

    The field shows 'REDACTED', not actual plaintext.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that the plaintext field in Cloud KMS logs contains the actual decrypted data or that it is simply absent, when in fact it is explicitly redacted to protect sensitive information.

Trap categories for this question

  • Command / output trap

    The field shows 'REDACTED', not actual plaintext.

Detailed technical explanation

How to think about this question

Under the hood, Cloud KMS uses the `Cloud Audit Logs` service to record decrypt operations, and the `Data Access` audit logs include a `plaintext` field that is automatically redacted by the KMS service before the log entry is written. This redaction is enforced at the API layer, meaning even if an attacker gains access to the logs, they cannot retrieve the decrypted plaintext. In real-world scenarios, this prevents accidental leakage of sensitive data (e.g., database encryption keys or customer PII) when logs are shared for compliance or troubleshooting.

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?

Managing operations in a cloud solution environment — This question tests Managing operations in a cloud solution environment — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The plaintext field is redacted by Cloud KMS, and the actual plaintext is not visible in the log entry. — Option C is correct because Cloud KMS automatically redacts the plaintext field in Cloud Audit Logs for decrypt operations. The log entry shows a successful decryption, but the actual decrypted data is never written to the logs; instead, the plaintext field is replaced with a redacted marker (e.g., `[REDACTED]`). This is a security feature to prevent sensitive data from being exposed in audit logs, even to users with access to view them.

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.