Bird
0
0

You have an AMI shared publicly. You want to restrict access to only your AWS account. What is the best way to do this?

hard📝 Application Q9 of 15
AWS - EC2 Fundamentals
You have an AMI shared publicly. You want to restrict access to only your AWS account. What is the best way to do this?
AModify the AMI's launch permissions to remove public access and add your account ID
BDeregister the AMI and create a new private AMI
CChange the AMI's region to a private one
DEncrypt the AMI to restrict access
Step-by-Step Solution
Solution:
  1. Step 1: Understand AMI launch permissions

    Launch permissions control who can use the AMI; removing public access restricts it.
  2. Step 2: Apply permission changes

    Remove public permission and add your AWS account ID to restrict access properly.
  3. Final Answer:

    Modify the AMI's launch permissions to remove public access and add your account ID -> Option A
  4. Quick Check:

    Restrict AMI by adjusting launch permissions [OK]
Quick Trick: Control AMI access via launch permissions, not region or encryption [OK]
Common Mistakes:
MISTAKES
  • Deregistering unnecessarily
  • Thinking region controls access
  • Assuming encryption restricts launch permissions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes