AWS EC2 CLF-C02 Exam Questions
2026–2027 | Amazon Elastic Compute
Cloud Certification Prep with Answers &
Explanations
1. A company needs to run a web application on a virtual server with
complete control over the operating system. Which AWS service should it
use?
A. Amazon S3
B. AWS Lambda
C. Amazon EC2
D. Amazon DynamoDB
Answer: Amazon EC2
Rationale: Amazon EC2 provides resizable compute capacity using virtual servers
called instances, while giving customers control over the guest operating system
and installed software.
, 2. Which EC2 purchasing option provides a discount in exchange for a
commitment to a consistent amount of compute usage for a one- or three-
year period?
A. On-Demand Instances
B. Reserved Instances
C. Spot Instances
D. Dedicated Hosts
Answer: Reserved Instances
Rationale: Reserved Instances provide discounted pricing when customers
commit to specified instance attributes and a one- or three-year term.
3. A workload runs for several hours every day but has no predictable
schedule. The company does not want a long-term commitment. Which
EC2 pricing model is most appropriate?
A. Reserved Instances
B. Dedicated Hosts
C. On-Demand Instances
D. Savings Plans requiring a fixed instance type
Answer: On-Demand Instances
Rationale: On-Demand Instances are suitable for workloads with unpredictable
usage because they require no long-term commitment and charge based on
usage.
4. A company runs a batch-processing application that can tolerate
interruptions. Which EC2 purchasing option can provide substantial cost
savings?
A. On-Demand Instances
B. Spot Instances
C. Dedicated Instances
D. Reserved Instances only
,Answer: Spot Instances
Rationale: Spot Instances use spare Amazon EC2 capacity and can provide
significant discounts, but AWS can interrupt them when the capacity is needed.
5. What is the primary function of an Amazon Machine Image (AMI)?
A. Store application logs
B. Define the configuration used to launch EC2 instances
C. Provide DNS resolution
D. Encrypt network traffic
Answer: Define the configuration used to launch EC2 instances
Rationale: An AMI contains the information needed to launch an EC2 instance,
including the operating system and potentially application software and
configuration.
6. An administrator wants to launch 20 EC2 instances with the same operating
system and application configuration. What should the administrator
create first?
A. An AMI
B. An IAM group
C. An S3 bucket
D. A NAT gateway
Answer: An AMI
Rationale: Creating an AMI from a properly configured instance allows
additional instances to be launched using the same configuration.
7. Which AWS service provides persistent block-level storage that can be
attached to EC2 instances?
A. Amazon EBS
B. Amazon S3
, C. Amazon EFS only
D. Amazon Glacier
Answer: Amazon EBS
Rationale: Amazon Elastic Block Store (EBS) provides persistent block storage
volumes designed for use with EC2 instances.
8. An EC2 instance is stopped and later restarted. What generally happens to
its attached EBS volumes?
A. They are automatically deleted
B. They remain available
C. They are converted to S3 objects
D. They become Spot Instances
Answer: They remain available
Rationale: EBS volumes are persistent storage and normally remain available
when an EC2 instance is stopped, unless configured otherwise.
9. Which EC2 storage option is physically attached to the host computer and is
temporary?
A. Amazon EBS
B. Instance store
C. Amazon S3
D. Amazon EFS
Answer: Instance store
Rationale: Instance store provides temporary block-level storage physically
associated with the host. Its data is lost when the instance is terminated or
when the underlying host is affected.
10.Which component controls inbound and outbound network traffic at the
instance level for EC2?