You have an AMI registered in your AWS account. You decide to deregister it. What is the immediate effect on instances launched from this AMI?
Think about what deregistering an AMI means for existing and new instances.
Deregistering an AMI prevents new instances from being launched using that AMI. However, existing instances continue to run unaffected because they are already launched.
You want to deploy an application in two AWS regions. You have a custom AMI in region A. What is the best way to use this AMI in region B?
AMIs are region-specific. Think about how to make an AMI available in another region.
AMIs are specific to a region. To use a custom AMI in another region, you must copy it to that region first. You cannot launch instances in one region using an AMI ID from another region.
You want to share a private AMI with another AWS account securely. Which option ensures the AMI is shared but the underlying snapshots remain private?
Think about what resources are needed to launch an instance from a shared AMI.
Sharing an AMI requires sharing both the AMI launch permissions and the underlying snapshots. Without snapshot permissions, the other account cannot launch instances from the AMI.
You want to automate creating updated AMIs of your application servers daily with minimal downtime. Which approach is best?
Consider how to create AMIs without stopping instances to avoid downtime.
AWS Systems Manager Automation can create AMIs from running instances using snapshots, minimizing downtime. Stopping instances daily causes downtime and is less efficient.
You deregister an AMI but keep its snapshots. Later, you create a new AMI using those snapshots. What is the impact on instance launch and storage costs?
Think about how snapshots relate to AMIs and billing.
Deregistering an AMI does not delete snapshots. You can create new AMIs from existing snapshots. Storage costs for snapshots continue until snapshots are deleted.