makeporngreatagain.pro
yeahporn.top
hd xxx

Practice Test 2 | Google Cloud Certified Professional Data Engineer | Dumps | Mock Test

5,226

You have a web service which allows users to create personal profiles and upload their photos online. The service will create thumbnails of various sizes and resolutions to be used on the service’s different pages and widgets. The service uses Google Storage to store the original photos uploaded and thumbnails generated. The service usually uses the thumbnails for a certain period before generating new ones depends on user’s activity and the age of the original photo the thumbnail is created from.

You want to remove all thumbnails created before 90 days. What should you do?

A. Use Cloud Scheduler to scan objects in thumbnails folder within the Google Storage bucket and delete all objects created before 90 days.
B. Use Cloud Function to scan objects in thumbnails folder within the Google Storage bucket and delete all objects created before 90 days.
C. Use object lifecycle management in Google Storage to delete thumbnail objects created before 90 days.
D. Use object lifecycle management in Google Storage to delete thumbnail objects older than the current thumbnail object version last created. Make sure the bucket used for storage has object versioning enabled.

Answer: C.

Description:

To support common use cases like setting a Time to Live (TTL) for objects, archiving older versions of objects, or “downgrading” storage classes of objects to help manage costs, Cloud Storage offers the Object Lifecycle Management feature. This page describes the feature as well as the options available when using it.

You can assign a lifecycle management configuration to a bucket. The configuration contains a set of rules which apply to current and future objects in the bucket. When an object meets the criteria of one of the rules, Cloud Storage automatically performs a specified action on the object. Here are some example use cases:

  • Downgrade the storage class of objects older than 365 days to Coldline Storage.
  • Delete objects created before January 1, 2013.
  • Keep only the 3 most recent versions of each object in a bucket with versioning enabled.

Answers A & B are incorrect: Cloud Scheduler & Cloud Function are not required since Google Storage already supports lifecycle management to satisfy the requirement.

Answer D is incorrect: The scenario mentions the thumbnails are not needed anymore after 90 days, so there is no need to enable object versioning, which leads to more costs due to keep versions of objects.

Source(s):

https://cloud.google.com/storage/docs/lifecycle https://cloud.google.com/storage/docs/object-versioning

 

Comments are closed, but trackbacks and pingbacks are open.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.