Practice Test 3 | Google Cloud Certified Associate Cloud Engineer | Dumps | Mock Test
You updated the metadata of an object stored in Reports-PDF bucket using google cloud SDK. You want to ensure that the metadata has been updated for that object before you confirm the changes to the development team. Which of the following google cloud SDK command would you use?
A. gsutil stat gs://Reports-PDF/[OBJECT_NAME]
B. gsutil getmeta gs://Reports-PDF/[OBJECT_NAME]
C. gsutil setmeta gs://Reports-PDF/[OBJECT_NAME]
D. gsutil meta gs://Reports-PDF/[OBJECT_NAME]
Explanation:
Answer: A
A is correct: The stat command will output details about the specified object URLs.
B is incorrect: getmeta is not a valid GCP command
C is incorrect: setmeta is used to update the metadata of an object with additional flags
D is incorrect: meta is not a valid GCP command
Link:
https://cloud.google.com/storage/docs/viewing-editing-metadata
Comments are closed, but trackbacks and pingbacks are open.