Question 471 of 500
Supporting compliance requirementsmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is that Cloud Audit Logs are automatically deleted after 30 days because that is the default retention period for all audit logs in Google Cloud. This default exists because logs are stored in a highly durable, short-term internal logging system designed for immediate operational use, not long-term archival. When a company enables Data Access audit logs but does not configure a custom retention policy or export logs to a long-term destination like Cloud Storage, the system purges any log entries older than 30 days. On the Google Professional Cloud Security Engineer exam, this question tests your understanding that enabling a log type does not change its retention; you must explicitly set retention or export for compliance requirements like PCI-DSS. A common trap is assuming that enabling logs alone preserves them indefinitely. Memory tip: think of the 30-day default as a "rolling window" — if you need logs for 7 years, you must export them to Cloud Storage or configure a custom retention policy before day 31.

PCSE Supporting compliance requirements Practice Question

This PCSE practice question tests your understanding of supporting compliance requirements. 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.

A financial services company is required to retain audit logs for at least 7 years to comply with PCI-DSS. They have enabled Data Access audit logs for Cloud Audit Logs. However, after 6 months they notice that older logs are being automatically deleted. What is the most likely cause?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

  • Clue: "least"

    Why it matters: You want the option with minimum overhead, fewest steps, or lowest impact — not the most feature-rich or comprehensive answer.

Question 1mediummultiple choice
Full question →

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 default retention period for Cloud Audit Logs is 30 days, and logs are automatically deleted after that.

The default retention period for Cloud Audit Logs is 30 days. After this period, logs are automatically deleted unless a custom retention policy is configured or logs are exported to a long-term storage destination like Cloud Storage. Since the company enabled Data Access audit logs but did not adjust the retention setting, the logs older than 30 days are purged, explaining the 6-month observation.

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 default retention period for Cloud Audit Logs is 30 days, and logs are automatically deleted after that.

    Why this is correct

    Cloud Audit Logs have a default retention of 30 days (for Admin Read and Data Access) unless exported to a longer-term storage.

    Clue confirmation

    The clue words "most likely", "least" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The log sink exporting to Cloud Storage has been deleted.

    Why it's wrong here

    Deletion of the sink would stop export but not delete already exported logs; the issue is logs disappearing from Cloud Logging.

  • The log sink filter is incorrectly excluding certain log entries.

    Why it's wrong here

    Wrong filter would miss logs, but the logs are being deleted after 6 months, not filtered out.

  • An IAM policy has revoked the Logs Viewer role for the security team.

    Why it's wrong here

    Lack of permissions prevents viewing but does not delete logs.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that log deletion is caused by misconfigured exports or IAM permissions, when in fact the default retention period for Cloud Audit Logs is the primary reason for automatic deletion, especially for Data Access audit logs.

Detailed technical explanation

How to think about this question

Cloud Audit Logs retention is managed by the Logs Router, which applies a default retention of 30 days for Data Access audit logs (and 400 days for Admin Activity audit logs). This retention is enforced at the log bucket level; logs are automatically deleted after the retention period expires, regardless of any export sinks. To retain logs longer, you must either create a custom log bucket with a longer retention period or export logs to Cloud Storage (which has its own 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?

Supporting compliance requirements — This question tests Supporting compliance requirements — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The default retention period for Cloud Audit Logs is 30 days, and logs are automatically deleted after that. — The default retention period for Cloud Audit Logs is 30 days. After this period, logs are automatically deleted unless a custom retention policy is configured or logs are exported to a long-term storage destination like Cloud Storage. Since the company enabled Data Access audit logs but did not adjust the retention setting, the logs older than 30 days are purged, explaining the 6-month observation.

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.

Are there clue words in this question I should notice?

Yes — watch for: "most likely", "least". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

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

Keep practising

More PCSE practice questions

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.