exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 799 discussion

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

A SysOps Administrator has received a request to enable access logging for a Network Load Balancer and is setting up an Amazon S3 bucket to store the logs.
What are the MINIMUM requirements for the S3 bucket? (Choose two.)

  • A. The bucket must be in the same Region as the Network Load Balancer.
  • B. The bucket must have a bucket policy that grants Elastic Load Balancing permissions to write the access logs to the bucket.
  • C. The bucket must have encryption enabled.
  • D. The bucket must have lifecycle policies set.
  • E. The bucket must have public access disabled.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️
Reference:
https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-access-logs.html
(bucket requirements)

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
nicat
Highly Voted 2 years, 9 months ago
A. The bucket must be in the same Region as the Network Load Balancer. B. The bucket must have a bucket policy that grants Elastic Load Balancing permissions to write the access logs to the bucket. Requirements The bucket must be located in the same region as the load balancer. Amazon S3-Managed Encryption Keys (SSE-S3) is required. No other encryption options are supported. The bucket must have a bucket policy that grants permission to write the access logs to your bucket. Bucket policies are a collection of JSON statements written in the access policy language to define access permissions for your bucket. The following is an example policy. https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-access-logs.html
upvoted 17 times
SHoKMaSTeR
2 years, 8 months ago
I would choose A and B too. C. Doesn't specify that encryption is SSE-S3. It could be SSE-KMS or SSE-C
upvoted 1 times
...
dishu2511
2 years, 9 months ago
ITS A, C. Option B has Elastic Load Balancing not NLB :).
upvoted 4 times
ImranR
2 years, 7 months ago
Come on...For a moment you confused me too...A & B...No need to enable encryption at bucket level.
upvoted 2 times
...
gretch
2 years, 8 months ago
"Elastic Load Balancing supports the following types of load balancers: Application Load Balancers, Network Load Balancers, and Classic Load Balancers."
upvoted 2 times
...
Phil31
2 years, 8 months ago
In the Elastic Load Balancing family we have : - Application Load Balancer - Network Load Balancer - Classic load Balancer :)
upvoted 4 times
...
...
...
JGD
Highly Voted 2 years, 8 months ago
Answer A &B C would be a part of this but it is optional. Madatory - same region for bucket where your elb and Write permission on Bucket.
upvoted 7 times
...
albert_kuo
Most Recent 11 months ago
Selected Answer: AB
A. The bucket must be in the same Region as the Network Load Balancer: To store access logs for a Network Load Balancer, the S3 bucket must be in the same AWS Region as the Network Load Balancer. S3 buckets are specific to AWS Regions, and the logs cannot be stored in a bucket located in a different Region. B. The bucket must have a bucket policy that grants Elastic Load Balancing permissions to write the access logs to the bucket: For the Network Load Balancer to write access logs to the S3 bucket, the bucket must have a bucket policy that grants the necessary permissions to Elastic Load Balancing service to perform the write operation. The bucket policy should include the required "s3:PutObject" permission for the AWS service principal associated with Elastic Load Balancing.
upvoted 1 times
...
RicardoD
2 years, 7 months ago
A | B are the answers
upvoted 1 times
...
lemist
2 years, 7 months ago
If you enable server-side encryption with Amazon S3-managed encryption keys (SSE-S3) for your S3 bucket, each access log file is automatically encrypted before it is stored in your S3 bucket and decrypted when you access it. You do not need to take any action as there is no difference in the way you access encrypted or unencrypted log files.
upvoted 1 times
...
juanY
2 years, 7 months ago
A,B seem correct
upvoted 2 times
...
abhishek_m_86
2 years, 7 months ago
A. The bucket must be in the same Region as the Network Load Balancer. B. The bucket must have a bucket policy that grants Elastic Load Balancing permissions to write the access logs to the bucket. Seem correct
upvoted 2 times
...
moon_lee
2 years, 7 months ago
According to https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-access-logs.html, Requirements 1. The bucket must be located in the same Region as the load balancer. 2. Amazon S3-Managed Encryption Keys (SSE-S3) is required. No other encryption options are supported. 3. The bucket must have a bucket policy that grants Elastic Load Balancing permission to write the access logs to your bucket. Bucket policies are a collection of JSON statements written in the access policy language to define access permissions for your bucket. Each statement includes information about a single permission and contains a series of elements. Therefore i'm choosing A &B considering the 3rd point above. C doesn't specify the encryption type . SSE-S3 is required for encryption
upvoted 1 times
...
jackdryan
2 years, 7 months ago
I'll go with A,B
upvoted 2 times
...
smartassX
2 years, 7 months ago
AWS Doc: “ Requirements The bucket must be located in the same region as the load balancer. The prefix that you specify must not include AWSLogs. We add the portion of the file name starting with AWSLogs after the bucket name and prefix that you specify. Amazon S3-Managed Encryption Keys (SSE-S3) is required. No other encryption options are supported. The bucket must have a bucket policy that grants permission to write the access logs to your bucket. Bucket policies are a collection of JSON statements written in the access policy language to define access permissions for your bucket. The following is an example policy.” I would pick AB because option C doesn’t specify encryption type!
upvoted 1 times
...
zch
2 years, 8 months ago
Ans: A, B C is not correct since Each access log file is automatically encrypted using SSE-S3 before it is stored in your S3 bucket and decrypted when you access it. No need to enable encryption at bucket level.
upvoted 1 times
...
tifoz
2 years, 8 months ago
A and C A. The bucket must be in the same Region as the Network Load Balancer. C. The bucket must have encryption enabled. Why B is wrong: Bucket policy needs to allow access to "Service": "delivery.logs.amazonaws.com", and not NLB. "Principal": { "Service": "delivery.logs.amazonaws.com" }, https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-access-logs.html
upvoted 4 times
...
iamsajal
2 years, 8 months ago
In this case a new S3 bucket is to be set which means automatically policy will be generated. Hence, A and C.
upvoted 1 times
iamsajal
2 years, 8 months ago
Sorry, I just tried this with both cases and A and B are the answers.
upvoted 1 times
...
...
Jimmy5
2 years, 8 months ago
It is A & C B. is wrong be cause it is saying grant ELB permissions to write to the bucket. The only thing you need is for the bucket to have write permissions. https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-access-logs.html Requirements 1.The bucket must be located in the same region as the load balancer. 2. Amazon S3-Managed Encryption Keys (SSE-S3) is required. No other encryption options are supported. 3. The bucket must have a bucket policy that grants permission to write the access logs to your bucket. Bucket policies are a collection of JSON statements written in the access policy language to define access permissions for your bucket.
upvoted 1 times
...
kopper2019
2 years, 8 months ago
A, B https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-access-logs.html Requirements The bucket must be located in the same region as the load balancer. Amazon S3-Managed Encryption Keys (SSE-S3) is required. No other encryption options are supported. The bucket must have a bucket policy that grants permission to write the access logs to your bucket. Bucket policies are a collection of JSON statements written in the access policy language to define access permissions for your bucket. The following is an example policy.
upvoted 1 times
kopper2019
2 years, 8 months ago
sorry A and C
upvoted 1 times
yigido
2 years, 8 months ago
A and B correct answers, If you enable Encryption you need to select Amazon S3-Managed Encryption Keys (SSE-S3).
upvoted 2 times
...
...
...
gretch
2 years, 8 months ago
A and B : - The bucket must be located in the same region as the load balancer. -The bucket must have a bucket policy that grants permission to write the access logs to your bucket.
upvoted 1 times
...
gofavad926
2 years, 8 months ago
Tricky by B option. AC Requirements (bucket) - The bucket must be located in the same region as the load balancer. - Amazon S3-Managed Encryption Keys (SSE-S3) is required. No other encryption options are supported. - The bucket must have a bucket policy that grants permission to write the access logs to your bucket. https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-access-logs.html
upvoted 2 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 ...