exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 193 discussion

A company uses an organization in AWS Organizations to manage several AWS accounts that the company's developers use. The company requires all data to be encrypted in transit.

Multiple Amazon S3 buckets that were created in developer accounts allow unencrypted connections. A DevOps engineer must enforce encryption of data in transit for all existing S3 buckets that are created in accounts in the organization.

Which solution will meet these requirements?

  • A. Use AWS CloudFormation StackSets to deploy an AWS Network Firewall firewall to each account. Route all outbound requests from the AWS environment through the firewall. Deploy a policy to block access to all outbound requests on port 80.
  • B. Use AWS CloudFormation StackSets to deploy an AWS Network Firewall firewall to each account. Route all inbound requests to the AWS environment through the firewall. Deploy a policy to block access to all inbound requests on port 80.
  • C. Turn on AWS Config for the organization. Deploy a conformance pack that uses the s3-bucket-ssl-requests-only managed rule and an AWS Systems Manager Automation runbook. Use a runbook that adds a bucket policy statement to deny access to an S3 bucket when the value of the aws:SecureTransport condition key is false.
  • D. Turn on AWS Config for the organization. Deploy a conformance pack that uses the s3-bucket-ssl-requests-only managed rule and an AWS Systems Manager Automation runbook. Use a runbook that adds a bucket policy statement to deny access to an S3 bucket when the value of the s3:x-amz-server-side-encryption-aws-kms-key-id condition key is null.
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
kabary
Highly Voted 1 year, 4 months ago
Selected Answer: C
Answer C 100%. aws:SecureTransport condition this will be allowing only encrypted connections over HTTPS (TLS) --> THIS IS WHAT WE NEED s3:x-amz-server-side-encryption-aws-kms-key-id --> To require that a particular AWS KMS key be used to encrypt the objects in a bucket. WE DON'T NEED THIS HERE!
upvoted 7 times
...
thanhnv142
Highly Voted 1 year, 2 months ago
Selected Answer: C
C is correct: A and B: we should not use AWS Network Firewall firewall here. It is just incorrect D: s3:x-amz-server-side-encryption-aws-kms-key-id: This is for data encryption at rest, not in transit
upvoted 6 times
...
dkp
Most Recent 1 year ago
Selected Answer: C
C is correct
upvoted 2 times
...
Jonalb
1 year, 2 months ago
Selected Answer: C
C is correct:
upvoted 3 times
...
ozansenturk
1 year, 4 months ago
Selected Answer: C
https://repost.aws/knowledge-center/s3-bucket-policy-for-config-rule
upvoted 2 times
...
hisdlodskfe
1 year, 4 months ago
C is correct. D is encryption for rest not transit.
upvoted 2 times
...
csG13
1 year, 4 months ago
Selected Answer: C
It's C - they want to enforce SSL (i.e., encryption of data in transit).
upvoted 2 times
...
PrasannaBalaji
1 year, 4 months ago
Selected Answer: D
option D is correct
upvoted 1 times
flaacko
8 months, 3 weeks ago
Option D is wrong as it is for server side encryption and what the question requires is the encryption of data in transit not when the data is at rest within an S3 bucket.
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