exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 248 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 248
Topic #: 1
[All Associate Cloud Engineer Questions]

Your application stores files on Cloud Storage by using the Standard Storage class. The application only requires access to files created in the last 30 days. You want to automatically save costs on files that are no longer accessed by the application. What should you do?

  • A. Create an object lifecycle on the storage bucket to change the storage class to Archive Storage for objects with an age over 30 days.
  • B. Create a cron job in Cloud Scheduler to call a Cloud Functions instance every day to delete files older than 30 days.
  • C. Create a retention policy on the storage bucket of 30 days, and lock the bucket by using a retention policy lock.
  • D. Enable object versioning on the storage bucket and add lifecycle rules to expire non-current versions after 30 days.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Phat
1 week ago
Selected Answer: A
It seems we need to select ones with cheapest cost instead of deleting them.
upvoted 1 times
...
kapara
2 months, 3 weeks ago
Selected Answer: A
The question is badly worded - because they didn't tell us what they intend to do with the files afterwards. I choose A anyway, because with lifecycle management you can delete files after 30 days, and using other services in this situation is really unnecessary..
upvoted 2 times
...
denno22
6 months ago
Selected Answer: B
It is cheaper to delete the files as there is no requirement to keep them.
upvoted 2 times
...
louisaok
6 months ago
Selected Answer: A
This is the same logic as Microsoft: when you have 2 options: one needs to pay and the other is free, choose the one with fee. That is the right answer.
upvoted 3 times
...
master9
6 months, 3 weeks ago
Selected Answer: A
Cloud Storage lifecycle management, you can automatically transition objects between storage classes based on certain conditions, such as age. Since your application only requires access to files created in the last 30 days, you can set a lifecycle rule to move files that are older than 30 days to Archive Storage, which offers the lowest storage costs but is designed for infrequent access.
upvoted 3 times
...
klayhung
6 months, 4 weeks ago
Selected Answer: A
This option utilizes Cloud Storage's built-in object lifecycle management feature, which can automatically transition files older than 30 days to Archive Storage, thereby saving storage costs without requiring manual management. In comparison, option B is feasible but more complex and does not align with best practices.
upvoted 2 times
...
caminosdk
7 months, 1 week ago
Selected Answer: B
B is correct
upvoted 2 times
...
rajeevpt
7 months, 2 weeks ago
A A is Correct because it suggests changing the storage class to Archive Storage for objects with an age of over 30 days through a lifecycle rule on the storage bucket. This is a cost-effective solution because Google Cloud Storage offers different storage classes with varying costs. The "Archive Storage" class is designed for infrequently accessed data and comes at a lower cost compared to the standard storage class. Using a lifecycle rule to transition objects older than 30 days to the Archive Storage class helps save costs by utilizing a more cost-efficient storage class for older data.
upvoted 1 times
...
flummoxed_individual
8 months, 1 week ago
Selected Answer: A
Another classic annoyingly vague question, but I would have to go with A because 'normally' you would keep files for longer than 30 days. If it is ok to delete, then B
upvoted 1 times
...
unprogram
8 months, 2 weeks ago
I would say A even though it doesn't mention that the files are still needed. As keeping archived version/ backups is best practise in IT generally. If the question explicitly mentioned that backups were taken using some other method or that old versions were no longer required then B would be the correct answer.
upvoted 4 times
...
BuenaCloudDE
8 months, 2 weeks ago
Selected Answer: B
At question not to talk about any analytics or critical data for audit and so on. You need only save cost, so B is answer.
upvoted 1 times
...
BuenaCloudDE
8 months, 2 weeks ago
Ridiculous question.
upvoted 2 times
...
BuenaCloudDE
8 months, 2 weeks ago
Selected Answer: B
B- Deleting the files means you no longer have to pay for storing them
upvoted 1 times
...
Alscoran
12 months ago
Selected Answer: B
There is no requirement listed to keep the files. Deletion is the best option.
upvoted 1 times
...
ezzap90
1 year ago
Selected Answer: B
B or D are correct in my opinion as A does not delete unused files (archive storage is not as cheap as deleting). C only sets a retention policy (https://cloud.google.com/storage/docs/bucket-lock) which means you can only delete files over 30 days but it does not enable automatic deletion of old files. Object Versioning preserves deleted objects as versioned, noncurrent objects that remain accessible in your bucket until explicitly removed (https://cloud.google.com/storage/docs/object-versioning).
upvoted 2 times
...
TanTran04
1 year ago
Selected Answer: A
Best choice is A
upvoted 1 times
...
mshamia
1 year ago
Selected Answer: A
Your application stores files on Cloud Storage by using the Standard Storage class. The application only requires access to files created in the last 30 days. You want to automatically save costs on files that are no longer accessed by the application. What should you do? A. Create an object lifecycle on the storage bucket to change the storage class to Archive Storage for objects with an age over 30 days. B. Create a cron job in Cloud Scheduler to call a Cloud Functions instance every day to delete files older than 30 days. C. Create a retention policy on the storage bucket of 30 days, and lock the bucket by using a retention policy lock. D. Enable object versioning on the storage bucket and add lifecycle rules to expire non-current versions after 30 days. A provides a simple, automated, and cost-effective solution for your scenario.
upvoted 1 times
ccpmad
10 months, 2 weeks ago
A is not cost-effective solution, so no longer accessed files persist instead of eliminate them
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago