exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 172 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 172
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A Security Engineer has launched multiple Amazon EC2 instances from a private AMI using an AWS CloudFormation template. The Engineer notices instances terminating right after they are launched.
What could be causing these terminations?

  • A. The IAM user launching those instances is missing ec2:RunInstances permissions
  • B. The AMI used was encrypted and the IAM user does not have the required AWS KMS permissions
  • C. The instance profile used with the EC2 instances is unable to query instance metadata
  • D. AWS currently does not have sufficient capacity in the Region
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
farziuser
Highly Voted 3 years, 8 months ago
The root EBS volume is encrypted and you do not have permissions to access the KMS key for decryption. B
upvoted 12 times
...
skipbaylessfor3
Highly Voted 3 years, 8 months ago
I suppose B makes sense... but it could be A too right? This link talks about A being a potential reason https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html but if it was A, they probably would've given different information in the question or something.
upvoted 8 times
...
Raphaello
Most Recent 1 year, 4 months ago
Selected Answer: B
B is the correct answer. User does not have permission over KMS key (or in some cases the key is disable or does not exist, both will lead to the same behaviour).
upvoted 1 times
...
ITGURU51
2 years ago
As per AWS: A snapshot specified in the block device mapping for the AMI is encrypted and you do not have permissions to access the KMS key for decryption or you do not have access to the KMS key to encrypt the restored volumes.
upvoted 1 times
...
dcasabona
2 years, 11 months ago
Selected Answer: B
It seems to be B according to this reference: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html#troubleshooting-launch-internal
upvoted 1 times
...
sapien45
2 years, 11 months ago
Selected Answer: B
Nothing said that the AMI were encrypted but since it is a security exam ...
upvoted 2 times
danielklein09
2 years, 1 month ago
I like your logic. I didn't choose B because it seems to be too obvious (since it is a security exam :)) ).
upvoted 1 times
...
...
remyy
3 years, 1 month ago
Selected Answer: B
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html
upvoted 2 times
...
TigerInTheCloud
3 years, 3 months ago
I know three of the answers are not right.
upvoted 2 times
Balki
2 years, 7 months ago
Ur definitely a Tiger . Please don't go to Cloud
upvoted 3 times
...
...
RaySmith
3 years, 4 months ago
B is correct
upvoted 1 times
...
Sec101
3 years, 4 months ago
Answer: B Go to https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html Scroll all way down to "Instance terminates immediately"
upvoted 4 times
...
Sec101
3 years, 4 months ago
The answer is B: Go (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html) scroll down to "Instance terminates immediately"
upvoted 1 times
...
LaLune
3 years, 5 months ago
1) The instances have started before ending up so, the option of not having ec2:runInstances does not stand; and also is the option B where the AMI needs to be unencrypted to run. 2) AWS does not have a capability in the region is less, les likely. It will not even has started The option C is the answer.
upvoted 3 times
...
jj22222
3 years, 6 months ago
B looks right
upvoted 1 times
...
kely
3 years, 8 months ago
B is correct.
upvoted 2 times
...
PeppaPig
3 years, 9 months ago
B is the correct answer
upvoted 4 times
OhCobblers
3 years, 9 months ago
B agreed
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 ...