AWS - EC2 FundamentalsYou 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 IDBDeregister the AMI and create a new private AMICChange the AMI's region to a private oneDEncrypt the AMI to restrict accessCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand AMI launch permissionsLaunch permissions control who can use the AMI; removing public access restricts it.Step 2: Apply permission changesRemove public permission and add your AWS account ID to restrict access properly.Final Answer:Modify the AMI's launch permissions to remove public access and add your account ID -> Option AQuick Check:Restrict AMI by adjusting launch permissions [OK]Quick Trick: Control AMI access via launch permissions, not region or encryption [OK]Common Mistakes:MISTAKESDeregistering unnecessarilyThinking region controls accessAssuming encryption restricts launch permissions
Master "EC2 Fundamentals" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Account and Billing - Creating an AWS account - Quiz 15hard AWS Account and Billing - Free tier usage monitoring - Quiz 3easy AWS CLI - CLI output formats (json, table, text) - Quiz 4medium EC2 Fundamentals - Instance states (running, stopped, terminated) - Quiz 4medium EC2 Fundamentals - Launching an EC2 instance - Quiz 5medium Identity and Access Management - Least privilege principle - Quiz 6medium S3 Fundamentals - Buckets and objects concept - Quiz 2easy S3 Fundamentals - Uploading and downloading objects - Quiz 9hard Security Groups and Network ACLs - Stateful behavior of security groups - Quiz 11easy VPC Fundamentals - CIDR blocks and IP addressing - Quiz 1easy