exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 47 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 47
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company uses AWS Organizations to manage multiple accounts. Information security policies require that all unencrypted Amazon EBS volumes be marked as non-compliant. A DevOps engineer needs to automatically deploy the solution and ensure that this compliance check is always present.
With solution will accomplish this?

  • A. Create an AWS CloudFormation template that defines an AWS Inspector rule to check whether EBS encryption is enabled. Save the template to an Amazon S3 bucket that has been shared with all accounts within the company. Update the account creation script pointing to the CloudFormation template in Amazon S3.
  • B. Create an AWS Config organizational rule to check whether EBS encryption is enabled and deploy the rule using the AWS CLI. Create and apply an SCP to prohibit stopping and deleting AWS Config across the organization.
  • C. Create an SCP in Organizations. Set the policy to prevent the launch of Amazon EC2 instances without encryption on the EBS volumes using a conditional expression. Apply the SCP to all AWS accounts. Use Amazon Athena to analyze the AWS CloudTrail output, looking for events that deny an ec2:RunInstances action.
  • D. Deploy an IAM role to all accounts from a single trusted account. Build a pipeline with AWS CodePipeline with a stage in AWS Lambda to assume the IAM role, and list all EBS volumes in the account. Publish a report to Amazon S3.
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
LB
Highly Voted 3 years, 8 months ago
The answer is B. We need to use AWS config rules.
upvoted 14 times
...
ishitat
Highly Voted 2 years, 11 months ago
Selected Answer: B
https://docs.aws.amazon.com/config/latest/developerguide/ec2-ebs-encryption-by-default.html refer the link
upvoted 5 times
...
YR4591
Most Recent 1 year, 7 months ago
Selected Answer: B
The answer is be. AWS Config give you the availability to scan your reasorces and find non compliance resources.
upvoted 1 times
...
ParagSanyashiv
2 years, 1 month ago
Selected Answer: B
B is more suitable for this scenario
upvoted 1 times
...
okm1997_2
2 years, 3 months ago
Selected Answer: B
If compliance then config
upvoted 1 times
...
Piccaso
2 years, 4 months ago
Selected Answer: C
C looks most AWS managed
upvoted 1 times
itbrpl
2 years, 3 months ago
It is not about preventing the creation... It. Is about checking the compliance status, so you use config..
upvoted 1 times
...
...
Bulti
2 years, 4 months ago
Answe is B. When it comes to compliance checks go with AWS Config. Also note that AWS config is used at an organization level.
upvoted 1 times
...
neta1o
2 years, 5 months ago
If the question was to prevent the volumes from being created instead of marking non compliant would it have been C?
upvoted 2 times
[Removed]
2 years, 4 months ago
intent should be to "prevent" C seems a better option
upvoted 1 times
...
...
blueorca
3 years, 4 months ago
Selected Answer: B
need Config to detect compliance
upvoted 2 times
...
Jack9573
3 years, 5 months ago
Selected Answer: B
Answer B
upvoted 1 times
...
szl0144
3 years, 5 months ago
answer is B
upvoted 1 times
...
vpupkin
3 years, 5 months ago
Selected Answer: B
BBBBBBBBBB
upvoted 1 times
...
thisdump
3 years, 7 months ago
BBBBB B
upvoted 1 times
...
D2
3 years, 7 months ago
Answer B
upvoted 2 times
...
MrCarter
3 years, 8 months ago
BBBBBBBBBBB
upvoted 3 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 ...