WorksheetsAmazon EC2 Instances — MCQs
Total questions: 15
Worksheet time: 8mins
What does EC2 stand for in AWS?
Elastic Cloud Compute
Elastic Compute Cloud
Enhanced Computing Cluster
Enterprise Cloud Compute
What is the main purpose of Amazon EC2?
Object storage for backups
On-demand virtual servers in the cloud
Database management
DNS routing service
Which of the following can you use to connect to a Linux EC2 instance?
RDP
SSH
HTTP
HTTPS
What is the default storage type attached to an EC2 instance?
Amazon S3
Instance Store
Amazon EBS (Elastic Block Store)
Amazon Glacier
Which EC2 pricing model is best for long-term, steady workloads?
On-Demand Instances
Spot Instances
Reserved Instances
Dedicated Hosts
6. When an EC2 instance is terminated, which of the following occurs?
The instance is permanently deleted and cannot be recovered.
The instance is stopped and can be restarted later.
The instance is paused and resumes from the same state.
The instance is automatically backed up.
Which AWS service automatically scales the number of EC2 instances?
AWS Lambda
Auto Scaling
Elastic Beanstalk
CloudFormation
What is an Amazon Machine Image (AMI)?
A backup of your EC2 instance
A template used to launch EC2 instances
A software update service
A network configuration file
Which EC2 instance type is optimized for compute-intensive tasks?
T4g
C7g
R7a
M6i
What is the maximum number of security groups that can be assigned to an EC2 instance?
2
3
5
10
Which Amazon EC2 feature allows you to preserve data when an instance is stopped and restarted?
Instance Store
Elastic IP
EBS Volume
What is the purpose of an Elastic IP address in EC2?
Provides a dynamic IP that changes every reboot
Provides a static public IPv4 address
Provides internal DNS
Connects to a VPC endpoint
Which EC2 pricing model allows you to bid for unused capacity?
On-Demand
Reserved
Spot Instances
Dedicated Hosts
What is the minimum billing duration for an EC2 instance?
Per minute
Per second (for Linux)
Per hour
Monthly
What is the purpose of EC2 Key Pairs?
To encrypt data at rest
To enable secure SSH login to instances
To connect to AWS Management Console
To share files between instances
