Question 440
A transaction file must be protected temporarily from normal lifecycle deletion during an active investigation. Which action is most appropriate?
- Honor the retention lock and wait until the permitted expiration
- Generate a signed URL for the permitted operation and expiration
- Place an appropriate Cloud Storage object hold
- Configure an appropriate retention policy or object retention setting
- Recover the object from an existing noncurrent generation if Object Versioning preserved it
Explanation
Correct Answer
C:Holds prevent applicable object deletion while active. They are different from lifecycle rules that automatically expire eligible objects.
Incorrect Answers
A:For the stated need to preserve investigation evidence, this would instead enforce immutable retention timing; it supports the separate task to reject prohibited early object deletion, not the required configuration.
B:This approach can delegate a temporary object download. The requirement is to preserve investigation evidence, so it controls a different part of the workflow and leaves that result unaddressed.
D:This setting would enforce object retention for compliance. That behavior does not establish the requested ability to preserve investigation evidence; it addresses an adjacent concern instead.
E:Its purpose is to restore a previous object generation. That distinction matters: the scenario calls for an action to preserve investigation evidence, not this separate configuration task.
Question 441
A bucket's objects should move from Standard to a colder storage class after a configured age. Which method addresses the task?
- Create a lifecycle Delete rule with the right age condition
- Evaluate Cloud Storage Autoclass for the eligible bucket
- Create a Cloud Storage lifecycle SetStorageClass rule
- Use lifecycle conditions appropriate to noncurrent object versions
Explanation
Correct Answer
C:Lifecycle transitions change eligible objects' storage class according to rule conditions. Minimum-duration and retrieval charges must be considered.
Incorrect Answers
A:This mechanism is intended to expire objects automatically. It does not implement the required action to automate storage-class changes, even though both are relevant to the same general service.
B:The result of this choice would be to automatically manage object storage class. The requested outcome, to automate storage-class changes, is handled at a different layer or through another operation.
D:Select this when the goal is to expire obsolete version generations. Here the decisive requirement is to automate storage-class changes, and that outcome is not achieved by this action.
Question 442
Log archives should be removed from a bucket after their allowed retention period ends. What is the best next step?
- Create a lifecycle Delete rule with the right age condition
- Use gcloud storage ls with the appropriate bucket path or recursive option
- Evaluate Cloud Storage Autoclass for the eligible bucket
- Use lifecycle conditions appropriate to noncurrent object versions
- Create a Cloud Storage lifecycle SetStorageClass rule
Explanation
Correct Answer
A:Lifecycle deletion applies to eligible objects when conditions are met, subject to holds and retention protections. It is not a compute cron job.
Incorrect Answers
B:An operator would use this action to list objects in a storage prefix, chiefly when trying to enumerate bucket contents; The current requirement is to delete aged log objects, which remains unresolved by that operation.
C:This choice is useful to automatically manage object storage class. The stated task is to delete aged log objects, which requires a different mechanism or permission scope.
D:Using this action would expire obsolete version generations, not delete aged log objects. Its function is different from the specific change described in the scenario.
E:This approach can transition aging objects to colder classes. The requirement is to delete aged log objects, so it controls a different part of the workflow and leaves that result unaddressed.
Question 443
A team wants Cloud Storage to optimize object classes based on access patterns without defining all transitions manually. Which configuration best meets the requirement?
- Use lifecycle conditions appropriate to noncurrent object versions
- Place an appropriate Cloud Storage object hold
- Evaluate Cloud Storage Autoclass for the eligible bucket
- Create a lifecycle Delete rule with the right age condition
- Create a Cloud Storage lifecycle SetStorageClass rule
Explanation
Correct Answer
C:Autoclass manages supported storage-class transitions based on access patterns. It has eligibility and cost implications compared with explicit lifecycle rules.
Incorrect Answers
A:While this can expire obsolete version generations, the present task requires an action to adapt storage class to actual reads. This operation does not supply the behavior described in the requirements.
B:For the stated need to adapt storage class to actual reads, this would instead hold an object against deletion; it supports the separate task to preserve investigation evidence, not the required configuration.
D:The result of this choice would be to expire objects automatically. The requested outcome, to adapt storage class to actual reads, is handled at a different layer or through another operation.
E:Administrators use it to transition aging objects to colder classes, rather than to adapt storage class to actual reads. Applying it would change the wrong component of this deployment.
Question 444
A bucket holds versioned objects and stale noncurrent generations need controlled cleanup. What should be configured?
- Evaluate Cloud Storage Autoclass for the eligible bucket
- Create a Cloud Storage lifecycle SetStorageClass rule
- Use lifecycle conditions appropriate to noncurrent object versions
- Use an object describe operation or the Cloud Storage metadata API
- Create a lifecycle Delete rule with the right age condition
Explanation
Correct Answer
C:Lifecycle rules can target noncurrent generations separately from current objects. A generic age-based delete without generation awareness risks unintended retention behavior.
Incorrect Answers
A:The tool can automatically manage object storage class, but it cannot be substituted for the capability needed to clean up old object versions safely. Its operational effect is not equivalent.
B:This choice is useful to transition aging objects to colder classes. The stated task is to clean up old object versions safely, which requires a different mechanism or permission scope.
D:In a workflow for object storage operational tasks, it can inspect object metadata and generation; This question instead asks how to clean up old object versions safely; substituting the former action would leave that distinct technical requirement unmet.
E:Using this action would expire objects automatically, not clean up old object versions safely. Its function is different from the specific change described in the scenario.
Question 445
An analyst needs a list of files under a particular Cloud Storage prefix. Which approach should be selected?
- Use gcloud storage ls with the appropriate bucket path or recursive option
- Use an object describe operation or the Cloud Storage metadata API
- Use a supported resumable upload session
- Use gcloud storage cp between the eligible bucket paths
Explanation
Correct Answer
A:Cloud Storage lists objects by name and prefixes. The operation is an inventory query, not a SQL table scan, and a recursive listing can enumerate nested object-name prefixes.
Incorrect Answers
B:This approach can inspect object metadata and generation. The requirement is to enumerate bucket contents, so it controls a different part of the workflow and leaves that result unaddressed.
C:While this can resume interrupted storage uploads, the present task requires an action to enumerate bucket contents. This operation does not supply the behavior described in the requirements.
D:Its purpose is to copy an object between buckets. That distinction matters: the scenario calls for an action to enumerate bucket contents, not this separate configuration task.
Question 446
A developer must copy an object from one Cloud Storage bucket to another. Which method addresses the task?
- Use a supported resumable upload session
- Recover the object from an existing noncurrent generation if Object Versioning preserved it
- Use gcloud storage cp between the eligible bucket paths
- Use an object describe operation or the Cloud Storage metadata API
- Use gcloud storage ls with the appropriate bucket path or recursive option
Explanation
Correct Answer
C:Cloud Storage copy operations move or duplicate object data without requiring local application processing. Access to both source and destination must be authorized.
Incorrect Answers
A:It can resume interrupted storage uploads; however, it does not provide the specific operation to duplicate stored content. The two controls serve different purposes.
B:For the stated need to duplicate stored content, this would instead restore a previous object generation; it supports the separate task to recover overwritten bucket content, not the required configuration.
D:The tool can inspect object metadata and generation, but it cannot be substituted for the capability needed to duplicate stored content. Its operational effect is not equivalent.
E:This mechanism is intended to list objects in a storage prefix. It does not implement the required action to duplicate stored content, even though both are relevant to the same general service.
Question 447
A large object upload was interrupted and the uploader wants to resume rather than restart. What is the best next step?
- Grant a suitable Storage Object Viewer role on the specific bucket
- Use gcloud storage cp between the eligible bucket paths
- Use an object describe operation or the Cloud Storage metadata API
- Use gcloud storage ls with the appropriate bucket path or recursive option
- Use a supported resumable upload session
Explanation
Correct Answer
E:Resumable upload protocols permit continuation from acknowledged offsets. This is useful for unstable connections and large object transfers.
Incorrect Answers
A:This setting would grant read access to objects in one bucket. That behavior does not establish the requested ability to avoid restarting a large file upload; it addresses an adjacent concern instead.
B:Using this action would copy an object between buckets, not avoid restarting a large file upload. Its function is different from the specific change described in the scenario.
C:While this can inspect object metadata and generation, the present task requires an action to avoid restarting a large file upload. This operation does not supply the behavior described in the requirements.
D:Its purpose is to list objects in a storage prefix. That distinction matters: the scenario calls for an action to avoid restarting a large file upload, not this separate configuration task.
Question 448
A team needs to inspect metadata such as content type and generation for one object. Which configuration best meets the requirement?
- Evaluate Cloud Storage Autoclass for the eligible bucket
- Use a supported resumable upload session
- Use gcloud storage ls with the appropriate bucket path or recursive option
- Use gcloud storage cp between the eligible bucket paths
- Use an object describe operation or the Cloud Storage metadata API
Explanation
Correct Answer
E:Object metadata includes properties independent of file contents. Reading it does not require downloading the entire object's bytes.
Incorrect Answers
A:The choice is aimed at a different purpose: to adapt storage class to actual reads; Even if it can automatically manage object storage class, that would not accomplish the stated requirement to retrieve one object's properties.
B:Administrators use it to resume interrupted storage uploads, rather than to retrieve one object's properties. Applying it would change the wrong component of this deployment.
C:Select this when the goal is to list objects in a storage prefix. Here the decisive requirement is to retrieve one object's properties, and that outcome is not achieved by this action.
D:This mechanism is intended to copy an object between buckets. It does not implement the required action to retrieve one object's properties, even though both are relevant to the same general service.
Question 449
A business-critical Cloud SQL database needs a recovery drill that proves backups are actually usable. Which TWO actions should be in the runbook? (Choose TWO.)
- Disable all further backups after one successful test restore
- Record observed recovery time and compare the restored state with the organization's RTO and RPO targets
- Delete the production instance before checking that the recovery path is supported
- Restore an appropriate backup to a separate eligible recovery instance and validate application queries
Explanation
Correct Answers
B:A backup's existence alone does not establish operational recoverability. Measuring recovery duration and data loss helps verify whether the configured strategy meets business objectives.
D:A restore test verifies that stored backup data can be used to recover actual application state. Testing on an isolated instance avoids unnecessarily overwriting the primary.
Incorrect Answers
A:One successful drill does not preserve future recovery points. Disabling backups would increase the potential data-loss window as the primary continues changing.
C:Removing production first creates avoidable risk and can cause downtime or data loss. A recovery drill should verify safe restore mechanisms before any destructive production action.
Question 450
An administrator wants to limit data loss after an accidental change by restoring to a specific supported timestamp. Which approach should be selected?
- Use Cloud SQL point-in-time recovery when configured and supported
- Restore the Cloud SQL backup to an appropriate target instance
- Use Cloud SQL high availability with a configured standby
- Create a supported Cloud SQL read replica
Explanation
Correct Answer
A:PITR uses available transaction logs and backup prerequisites to restore to a chosen time. It is not available merely because an ordinary VM disk snapshot exists.
Incorrect Answers
B:Its purpose is to restore a managed database backup. That distinction matters: the scenario calls for an action to undo an accidental database operation, not this separate configuration task.
C:Administrators use it to use database instance HA failover, rather than to undo an accidental database operation. Applying it would change the wrong component of this deployment.
D:The result of this choice would be to offload relational read operations. The requested outcome, to undo an accidental database operation, is handled at a different layer or through another operation.