exam questions

Exam AWS Certified Cloud Practitioner All Questions

View all questions & answers for the AWS Certified Cloud Practitioner exam

Exam AWS Certified Cloud Practitioner topic 1 question 77 discussion

Exam question from Amazon's AWS Certified Cloud Practitioner
Question #: 77
Topic #: 1
[All AWS Certified Cloud Practitioner Questions]

A user is storing objects in Amazon S3. The user needs to restrict access to the objects to meet compliance obligations.
What should the user do to meet this requirement?

  • A. Use AWS Secrets Manager.
  • B. Tag the objects in the S3 bucket.
  • C. Use security groups.
  • D. Use network ACLs.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
41km
Highly Voted 2 years, 5 months ago
Selected Answer: B
Secrets Manager is for secrets (passwords) Network ACL is a statekless firewall working on IPs, not users. Security Groups are stateful firewall, not for user permissions. In this case I'd say tags: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html "Object tags enable fine-grained access control of permissions. For example, you could grant an IAM user permissions to read-only objects with specific tags."
upvoted 77 times
...
alameen_hameed
Highly Voted 1 year, 10 months ago
Selected Answer: D
Option A, using AWS Secrets Manager, is not relevant to this requirement as it is a service for storing and retrieving secrets such as database credentials, API keys, and other sensitive information. Option B, tagging the objects in the S3 bucket, is also not a suitable option as tagging is used to categorize objects for management purposes and does not provide access control. Option C, using security groups, is not applicable to Amazon S3 as it is a network-level security feature that controls inbound and outbound traffic to and from Amazon EC2 instances. Option D, using network ACLs, is also not a suitable option for Amazon S3. Network ACLs are used to control traffic at the subnet level and do not provide access control to individual objects in an S3 bucket. Therefore, the correct answer is to use Amazon S3 bucket policies or access control lists (ACLs).
upvoted 13 times
...
Dipa_2910
Most Recent 3 days, 18 hours ago
Selected Answer: B
Selecting Option B but for restricting Access to objects in AWS S3 once should use Access Control Lists
upvoted 1 times
...
sonaljain
1 month, 1 week ago
Selected Answer: B
Tag the objects in the S3 bucket.
upvoted 1 times
...
LogicLoom
4 months, 3 weeks ago
Selected Answer: B
B. Tag the objects in the S3 bucket. Explanation: To meet compliance obligations and restrict access to Amazon S3 objects, the tagging of objects is often used in conjunction with S3 bucket policies or IAM policies. By tagging objects, you can apply more granular access controls. For example, you can create policies that grant or deny access to objects based on their tags, which helps meet specific compliance or regulatory requirements. Why the other options are incorrect: A. Use AWS Secrets Manager: Secrets Manager is used for securely managing sensitive information like credentials or API keys, not for directly controlling access to S3 objects. C. Use security groups: Security groups are used to control access to instances and resources at the network level, such as EC2 instances, but they do not control access to S3 buckets and objects. D. Use network ACLs: Network ACLs are used to control inbound and outbound traffic at the subnet level, but they do not manage access to Amazon S3 buckets or objects.
upvoted 1 times
...
DRon65
7 months, 4 weeks ago
B From AWS web-ste: "Object tags enable fine-grained access control for managing permissions. You can grant conditional permissions based on object tags." https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging-and-policies.html
upvoted 1 times
...
the_var
1 year ago
Selected Answer: D
https://repost.aws/knowledge-center/secure-s3-resources https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html Set access control lists (ACLs) on your buckets and objects to restrict access
upvoted 2 times
...
Rohan21
1 year, 3 months ago
Access Control Lists (ACLs): S3 provides ACLs that allow you to grant specific permissions to individual AWS accounts or predefined groups.
upvoted 1 times
...
med_dernoun
1 year, 3 months ago
Selected Answer: B
With tags you will be able to set a specific user restrictions on object access
upvoted 1 times
...
ParVid
1 year, 4 months ago
Selected Answer: D
Because ACL restricts the access based on rules fed.
upvoted 1 times
...
projtcms
1 year, 4 months ago
Selected Answer: D
https://repost.aws/knowledge-center/secure-s3-resources
upvoted 1 times
...
projtcms
1 year, 4 months ago
https://repost.aws/knowledge-center/secure-s3-resources
upvoted 1 times
...
projtcms
1 year, 5 months ago
If it is "Amazon S3 ACLs" then yes (https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html) . But D is "NETWORK" ACLs.. which is only for the VPC and not Amazon S3. So now, most suitable one would be Tags.
upvoted 2 times
...
Pranava_GCP
1 year, 6 months ago
Selected Answer: B
B. Tag the objects in the S3 bucket. "Object tags enable fine-grained access control of permissions. For example, you could grant a user permissions to read-only objects with specific tags." https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html#:~:text=Object%20tags%20enable%20fine%2Dgrained%20access%20control%20of%20permissions.%20For%20example%2C%20you%20could%20grant%20a%20user%20permissions%20to%20read%2Donly%20objects%20with%20specific%20tags.
upvoted 2 times
...
Gulsah
1 year, 6 months ago
Selected Answer: B
https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html To restrict access to objects in Amazon S3 and meet compliance obligations, the user should use option B: Tag the objects in the S3 bucket. Tags in Amazon S3 are key-value pairs that can be assigned to objects. By using tags, the user can implement fine-grained access control policies based on object metadata. They can create IAM policies that grant or deny access to objects based on the tags assigned to them. By properly tagging the objects in the S3 bucket and configuring the corresponding IAM policies, the user can control access to the objects based on compliance requirements, ensuring that only authorized individuals or systems can access them. Definitely not D, `Network` ACLs cannot be used. (that`s the trick)
upvoted 3 times
...
man5484
1 year, 7 months ago
Selected Answer: B
By tagging the objects in the S3 bucket, the user can assign metadata to the objects based on specific criteria or compliance requirements. Tags can be used to categorize and label objects, making it easier to manage access control and apply permissions based on those tags. With Amazon S3, access control can be achieved through various mechanisms, such as bucket policies, access control lists (ACLs), and IAM policies. By leveraging object tags, the user can define more granular access control policies using IAM policies and resource-based policies. For example, the user can create an IAM policy that allows read access to objects with a specific tag value (e.g., compliance=yes) and deny access to objects without that tag. This ensures that only authorized users or systems with the appropriate tag can access the objects.
upvoted 3 times
...
khanda
1 year, 7 months ago
Selected Answer: D
Correct answer is D: https://repost.aws/knowledge-center/secure-s3-resources
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