exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 304 discussion

Exam question from Amazon's AWS-SysOps
Question #: 304
Topic #: 1
[All AWS-SysOps Questions]

Which of the following statements about this S3 bucket policy is true?

  • A. Denies the server with the IP address 192.166 100.0 full access to the "mybucket" bucket
  • B. Denies the server with the IP address 192.166 100.188 full access to the "mybucket bucket
  • C. Grants all the servers within the 192 168 100 0/24 subnet full access to the "mybucket" bucket
  • D. Grants all the servers within the 192 168 100 188/32 subnet full access to the "mybucket" bucket
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
karmaah
Highly Voted 2 years, 6 months ago
192.168.100.188/32 will give only one ip .ie, 192.168.100.188 ( It is not allowed IP list ) 192.168.100.0/24 Provides 256 IPs from 192.168.100.0 to 192.168.100.255 ( all allowed ). Even C grants all IPs, S3 provides preference to deny If two same scenario comes. In this Case, B wins.
upvoted 7 times
Rahulmam
2 years, 6 months ago
Do you mean S3 policy can't have more than 1 rule in a policy?
upvoted 1 times
...
...
dexdinh91
Most Recent 4 months, 4 weeks ago
Selected Answer: B
I think B is correct, smaller CIDR takes the precedence
upvoted 1 times
...
xxxdolorxxx
2 years, 5 months ago
B is correct.
upvoted 1 times
...
TroyMcLure
2 years, 6 months ago
Correct Answer: B
upvoted 1 times
...
RicardoD
2 years, 6 months ago
B is the answer Policy is clear, Allow 192.168.100.0/24 range access to mybucket and then deny only the 192.168.100.188/32 IP
upvoted 2 times
...
newjoinerv2
2 years, 6 months ago
C looks right to me but the comment section makes me think it's a trick question.
upvoted 1 times
...
walthor
2 years, 6 months ago
The answer is B
upvoted 1 times
...
awscertified
2 years, 6 months ago
B. Denies the server with the IP address 192 168 100 188 full access to the "mybucket" bucket C. Grants all the servers within the 192 168 100 0/24 subnet full access to the "mybucket" bucket
upvoted 1 times
awscertified
2 years, 6 months ago
Ops, the answer is only B
upvoted 1 times
...
...
dahp
2 years, 6 months ago
An explicit deny overrules an implicit allow. B is correct.
upvoted 3 times
...
newbie2019
2 years, 7 months ago
They are all incorrect. This policy grants all 24 net, except 188 - this does not mean it *denies* the 188 computer. To deny it, it needs a deny policy. C is incorrect because 188 is a part of the 24 subnet. Select B, because it is probably what they want, but if this question goes in my exam I will write it down in the comments section.
upvoted 4 times
HMC_37
2 years, 5 months ago
also the network are diferent "166" / "168".
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