exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 193 discussion

A company uses an Amazon S3 bucket to store data files. The S3 bucket contains hundreds of objects. The company needs to replace a tag on all the objects in the S3 bucket with another tag.

What is the MOST operationally efficient way to meet this requirement?

  • A. Use S3 Batch Operations. Specify the operation to replace all object tags.
  • B. Use the AWS CLI to get the tags for each object. Save the tags in a list. Use S3 Batch Operations. Specify the operation to delete all object tags. Use the AWS CLI and the list to retag the objects.
  • C. Use the AWS CLI to get the tags for each object. Save the tags in a list. Use the AWS CLI and the list to remove the object tags. Use the AWS CLI and the list to retag the objects.
  • D. Use the AWS CLI to copy the objects to another S3 bucket. Add the new tag to the copied objects. Delete the original objects.
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
Liongeek
Highly Voted 1 year, 11 months ago
Ans: A Ref. https://aws.amazon.com/es/blogs/storage/adding-and-removing-object-tags-with-s3-batch-operations/
upvoted 16 times
...
Gomer
Highly Voted 1 year, 6 months ago
Selected Answer: A
"With this feature, you can make changes to object metadata and properties, or perform other storage management tasks, such as" "replacing object tag sets" https://aws.amazon.com/s3/features/batch-operations/
upvoted 5 times
...
r2c3po
Most Recent 10 months ago
Selected Answer: A
S3 Batch Operations is the most operationally efficient way to meet the requirement of replacing a tag on all objects in an S3 bucket. S3 Batch Operations allows you to perform large-scale batch operations on Amazon S3 objects, including updating tags on objects. Here's why option A is the best choice: S3 Batch Operations: Allows you to perform actions, such as tagging, on a large number of objects at once. Is designed for efficiency and scalability when dealing with large-scale operations. Is a native AWS service specifically built for performing batch operations on S3 objects.
upvoted 4 times
...
csG13
1 year, 7 months ago
Selected Answer: A
A is by far the MOST operationally efficient way, see docs below https://aws.amazon.com/blogs/storage/adding-and-removing-object-tags-with-s3-batch-operations/
upvoted 4 times
...
Gil80
1 year, 8 months ago
Selected Answer: A
A is the correct answer. The question is asking to replace existing tag with another, not adding new tags. Therefore, batch operations is correct (A). Source: https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-put-object-tagging.html
upvoted 5 times
...
joanneli77
1 year, 9 months ago
Selected Answer: C
If you replace all object tags, existing tags that you do not want to replace will be lost. You'll need to read those tags to retain them and update the tags you're trying to update.
upvoted 1 times
Gil80
1 year, 8 months ago
The question didn't specify that there are other tags that shouldn't be erased. It did mention the MOST operationally efficient way, which is A not C because they specify it has hundreds of objects and C is not efficient for large buckets. A seems to be the better answer, even if C is doable.
upvoted 1 times
...
defmania00
1 year, 8 months ago
Interesting part with C is the fact that nowhere in that answer you're using the new tags. You're getting the existing tags, saving them in a list, use CLI to remove the tags and then use that same list to retag. Won't that get you the exact same tags you had in the first place?
upvoted 1 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