Question 481 of 500
Ensuring data protectionmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is that the bucket has default KMS encryption and versioning enabled. This configuration is correct because default KMS encryption ensures every object uploaded to the bucket is automatically encrypted with the specified Cloud KMS key, even if the upload request lacks encryption headers, while object versioning preserves older versions by retaining noncurrent objects rather than overwriting them. On the Google Professional Cloud Security Engineer exam, this scenario tests your understanding of how bucket-level policies enforce encryption and data lifecycle requirements simultaneously; a common trap is assuming that bucket policy alone or object-level encryption suffices, but neither guarantees automatic encryption for all uploads nor version retention. Remember the mnemonic “KMS locks, Versioning stocks” — KMS handles the encryption lock on every object, and versioning stocks the historical copies.

PCSE Ensuring data protection Practice Question

This PCSE practice question tests your understanding of ensuring data protection. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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

gsutil ls -L gs://my-secure-bucket | grep -E 'Kind|Encryption|Versioning'
{
  "kind": "storage#bucket",
  "encryption": {
    "defaultKmsKeyName": "projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key"
  },
  "versioning": {
    "enabled": true
  }
}

Refer to the exhibit. A security engineer needs to ensure that all objects uploaded to the bucket are automatically encrypted with the specified KMS key. They also need to preserve older versions of objects. Which statement accurately describes the bucket configuration?

Question 1mediummultiple choice
Full question →

Exhibit

gsutil ls -L gs://my-secure-bucket | grep -E 'Kind|Encryption|Versioning'
{
  "kind": "storage#bucket",
  "encryption": {
    "defaultKmsKeyName": "projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key"
  },
  "versioning": {
    "enabled": true
  }
}

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 bucket has default KMS encryption and versioning is enabled.

Option A is correct because the question requires both automatic encryption of all uploaded objects using a specified KMS key and preservation of older object versions. Default KMS encryption ensures that any object uploaded without explicit encryption headers is automatically encrypted with the configured KMS key, while enabling versioning allows the bucket to retain noncurrent object versions. Together, these settings meet both requirements.

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 bucket has default KMS encryption and versioning is enabled.

    Why this is correct

    Output shows default KMS key and versioning enabled.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The bucket has default KMS encryption but versioning is disabled.

    Why it's wrong here

    Versioning is enabled.

  • The bucket uses CSEK and versioning is enabled.

    Why it's wrong here

    Encryption is CMEK, not CSEK.

  • The bucket uses Google-managed encryption and versioning is disabled.

    Why it's wrong here

    Encryption is CMEK, not Google-managed.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between default encryption (which applies automatically to all new objects) and per-request encryption (like CSEK or customer-managed encryption keys), and the trap here is confusing CSEK with default KMS encryption or assuming that versioning is automatically enabled when encryption is configured.

Detailed technical explanation

How to think about this question

Default KMS encryption in Google Cloud Storage is configured via the bucket's `default_kms_key_name` property, which applies server-side encryption with a Cloud KMS key to all new objects unless overridden by an explicit encryption header. Versioning is enabled by setting the `versioning.enabled` flag to `true` on the bucket, which causes each object upload to create a new version rather than overwriting the live version, preserving all noncurrent versions for retrieval or lifecycle management.

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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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: The bucket has default KMS encryption and versioning is enabled. — Option A is correct because the question requires both automatic encryption of all uploaded objects using a specified KMS key and preservation of older object versions. Default KMS encryption ensures that any object uploaded without explicit encryption headers is automatically encrypted with the configured KMS key, while enabling versioning allows the bucket to retain noncurrent object versions. Together, these settings meet both requirements.

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.