Enhance your foundational understanding of launching virtual machines on AWS EC2. This quiz covers key steps, best practices, and terminology essential for anyone starting with cloud-based compute instances.
Which option is primarily chosen when launching a new EC2 instance to define the operating system and initial setup?
Explanation: The Amazon Machine Image (AMI) provides the operating system and software configuration to your EC2 instance. The other options are incorrect: 'Application Management Interface' and 'Access Management Identity' are not related to instance setups, while 'Active Measured Instance' is a misleading term with no connection to the process.
When choosing an instance type for your EC2 instance, what are you mainly determining?
Explanation: Instance type selection determines how much CPU, memory, storage, and network capacity your EC2 instance receives. Email notifications, pricing models for data transfer, and backup schedules are not set by instance types; those are managed elsewhere.
Why is it important to create or select a key pair when launching an EC2 instance?
Explanation: A key pair is crucial because it provides the cryptographic credentials needed to log into your instance securely via SSH or RDP. It does not affect processing speed or storage, nor does it allow operating system changes during launch.
What function does a security group serve when launching an EC2 instance?
Explanation: Security groups act as a virtual firewall, regulating which network communications are allowed into and out of your instance. Managing user permissions, hardware quotas, or root passwords are not functions of security groups.
If you do not specify a VPC when launching your first EC2 instance, where is it placed by default?
Explanation: If you don't select a VPC, the instance is automatically launched into the default Virtual Private Cloud. The other options do not apply: instances are not launched on physical servers by default, they're not randomly data-centered, and they're not always placed in an isolated subnet unless specified.
What is the purpose of selecting an Elastic Block Store (EBS) volume when launching an EC2 instance?
Explanation: EBS volumes serve as persistent storage so that your data is retained even if the instance stops or reboots. They do not affect internet bandwidth, IP addresses, or CPU architecture; those are managed differently.
Why might you assign tags to your EC2 instance during launch, such as Name: WebServer1?
Explanation: Tags help you categorize and manage your instances by adding metadata such as names or purposes. Tags do not directly control antivirus installation, automation scripts, or deletion protection, though they can assist with resource organization for future actions.
What is the difference between stopping and terminating an EC2 instance you launched?
Explanation: Stopping an instance simply shuts it down and you can restart it later, while terminating permanently deletes the instance and associated resources. Stopping does not increase CPU capacity, nor does terminating send you a backup automatically. Data deletion applies only to certain types of storage.
Where can you regularly monitor the status of your newly launched EC2 instance?
Explanation: The EC2 Instances dashboard page provides real-time status, health checks, and metrics. Local file explorers and physical monitors cannot access this information, while SMS updates are optional and not the primary method.
How does the EC2 Launch Wizard assist users during the process of launching their first instance?
Explanation: The Launch Wizard simplifies the instance creation process by guiding users through each setup phase and explaining options along the way. It does not delete previous instances, restrict credentials, or block future configuration changes; instead, it helps new users avoid misconfiguration.