yoklainterview sim

DevOps / Cloud Gcp Storage Gcs Persistent Disk Interview Questions

75 verified DevOps / Cloud Gcp Storage Gcs Persistent Disk interview questions — solve with answers, learn from explanations, test yourself in a real simulation.

Try the real simulation →

Sample questions

Gcp Storage Gcs Persistent DiskDifficulty 1
A team stores logs that are rarely accessed but must be retrievable within milliseconds if needed. Which Cloud Storage class fits this best while still being cheaper than Standard?
  • aStandard, since only Standard supports millisecond retrieval
  • bNearline, which offers cheaper storage than Standard while still allowing immediate access
  • cArchive, since it is by far the cheapest option available, regardless of retrieval latency or access frequency
  • dA custom storage class must be created for this use case
Explanation:All Cloud Storage classes (Standard, Nearline, Coldline, Archive) offer the same millisecond-scale access latency — they differ in storage cost, retrieval cost, and minimum storage duration, not in access speed. Nearline is cheaper than Standard and is designed for data accessed less than once a month, which fits this scenario.
Gcp Storage Gcs Persistent DiskDifficulty 1
What is the minimum storage duration commitment for the Coldline storage class?
  • aThere is no minimum storage duration for any storage class
  • b30 days, the same minimum storage duration requirement that applies to the Nearline storage class
  • c90 days — deleting or moving an object before this incurs an early deletion charge
  • d365 days, the same as Archive
Explanation:Coldline has a 90-day minimum storage duration. Nearline's minimum is 30 days, and Archive's minimum is 365 days. Deleting, overwriting, or moving an object to a different class before its class's minimum duration incurs a prorated early deletion fee.
Gcp Storage Gcs Persistent DiskDifficulty 1
Which storage class has the longest minimum storage duration and is intended for data accessed less than once a year?
  • aArchive, with a 365-day minimum storage duration
  • bColdline, with a 365-day minimum storage duration
  • cNearline, with a 180-day minimum storage duration
  • dStandard, with no minimum storage duration and the lowest storage cost
Explanation:Archive is the coldest storage class, with the lowest storage cost, the highest retrieval cost, and a 365-day minimum storage duration — designed for data accessed less than once a year (e.g., long-term backups, compliance archives).
Gcp Storage Gcs Persistent DiskDifficulty 1
A lifecycle rule is configured with the condition age: 30 and the action Delete. What does this rule do?
  • aIt deletes the bucket itself entirely, including all objects inside it, once 30 days have elapsed
  • bIt deletes any object once it has existed in its current state for 30 days
  • cIt deletes objects only if they have not been downloaded in 30 days
  • dIt pauses uploads for 30 days after the rule is created
Explanation:The age condition matches objects based on how long they have existed since creation (or since becoming noncurrent, for versioned objects) — not how long since last access. Combined with the Delete action, this rule deletes objects 30 days after they were created.
Gcp Storage Gcs Persistent DiskDifficulty 1
What happens when Object Versioning is enabled on a bucket and an existing object is overwritten?
  • aThe overwrite is rejected entirely and no new object generation is created until Object Versioning is explicitly disabled on the bucket
  • bOnly the newest version is kept; the previous content is permanently discarded
  • cThe object is automatically copied to a separate versioning-only bucket
  • dThe previous content becomes a noncurrent (archived) generation, while the new content becomes the live version
Explanation:With Object Versioning enabled, overwriting an object does not discard the old content — it becomes a noncurrent generation, retrievable by its generation number, while the new content becomes the live (current) object. Without versioning, the old content would be permanently lost on overwrite.
Gcp Storage Gcs Persistent DiskDifficulty 2
What is the purpose of a signed URL in Cloud Storage?
  • aIt permanently makes an object publicly accessible to anyone on the internet
  • bIt replaces the need for any IAM permissions on the bucket entirely
  • cIt grants time-limited access to a specific object to someone without a Google account or IAM permissions
  • dIt encrypts the object's contents during transfer only, without affecting who can access or download the object afterward
Explanation:A signed URL contains a cryptographic signature (generated using a service account's private key) that grants time-limited access to a specific object or operation, without requiring the requester to have a Google account or any IAM permissions — useful for temporary access like a download link that expires.

Test yourself against the 3375-question DevOps / Cloud bank.

Start interview