Sample Questions
Sample Questions
Sample Questions
A) Azure
B) EC2
D) Alibaba Cloud
A) S3
B) EC2
C) EKS
D) Lambda
- Correct Answer: A) S3
A) S3
B) EC2
C) RDS
D) Lambda
7. Which AWS service allows you to automatically scale your application in response to demand?
A) S3
B) EC2
C) Auto Scaling
D) RDS
8. Which AWS service provides a way to distribute traffic across multiple EC2 instances?
A) S3
B) EC2
D) Lambda
A) Amazon Zones
B) Availability Zones
C) Access Zones
D) All Zones
A) 1
B) 2
C) 3
D) It varies
11. Which of the following is NOT a factor typically considered when selecting an AWS region?
A) Latency
B) Cost
C) Compliance requirements
12. How can you view the list of available AWS regions?
A) General Purpose
B) Compute Optimized
C) Memory Optimized
D) Data Optimized
14. What type of workload is best suited for Compute Optimized EC2 instances?
A) Memory-intensive tasks
B) CPU-intensive tasks
D) Storage-intensive tasks
15. Which EC2 instance type is designed for applications requiring a balance of compute, memory,
and network resources?
A) Memory Optimized
B) General Purpose
C) Compute Optimized
D) Accelerated Computing
16. What type of workload would benefit most from Memory Optimized EC2 instances?
A) CPU-intensive tasks
C) Memory-intensive tasks
D) Network-intensive tasks
A) Policies
B) Users
C) Groups
D) Regions
A) A set of rules that define the permissions granted to users, groups, or roles
B) A virtual private network (VPN) configuration for accessing AWS services securely
- Correct Answer: A) A set of rules that define the permissions granted to users, groups, or roles
22. Which of the following is NOT a recommended best practice for IAM?
- Correct Answer: A) Use the root user for everyday tasks to simplify management.
23. What is an IAM role?
C) An identity with its own set of security credentials that can be assumed by AWS services
- Correct Answer: C) An identity with its own set of security credentials that can be assumed by
AWS services
B) The top-level administrator of an AWS account with complete access to all resources
- Correct Answer: B) The top-level administrator of an AWS account with complete access to all
resources
- Correct Answer: C) Initial configuration scripts or commands provided during instance launch
28. Which of the following can be achieved using user data scripts?
29. Can user data scripts be modified after an EC2 instance is launched?
B) No, user data scripts are immutable once the instance is launched
D) No, user data scripts can only be modified during instance launch
- Correct Answer: D) No, user data scripts can only be modified during instance launch
A) JSON
B) YAML
C) Bash script
D) XML
31. Can user data scripts be used to change the instance type or other fundamental characteristics of
the instance after launch?
B) No, user data scripts are only executed during instance launch
- Correct Answer: B) No, user data scripts are only executed during instance launch
32. Which AWS service allows you to retrieve the user data of a running EC2 instance?
A) Amazon EKS
B) Amazon EC2
C) Amazon CloudWatch
D) Amazon Inspector
C) To S3 buckets
D) To CloudFront distributions
35. How many Security Groups can you assign to an EC2 instance?
A) One
B) Two
C) Three
D) Unlimited
37. What happens if a packet does not match any of the rules in a Security Group?
A) It is allowed by default
B) It is denied by default
38. Can you change the rules of a Security Group while an EC2 instance is running?
B) No, Security Group rules can only be modified when an instance is launched
- Correct Answer: C) Yes, you can modify Security Group rules at any time
39. Which of the following protocols can be specified in Security Group rules?
A) HTTP
B) SSH
C) FTP
40. In which state does an EC2 instance initially reside after it is launched?
A) Running
B) Stopped
C) Terminated
D) Pending
41. What does it mean when an EC2 instance is in the "Running" state?
- Correct Answer: B) The instance is fully operational and running tasks as expected.
42. In which state can an EC2 instance incur charges for usage?
A) Stopped
B) Running
C) Pending
D) Terminated
D) Yes, terminated instances can be recovered from the AWS recycle bin.
44. What is the significance of the "Pending" state for an EC2 instance?
A) Stopped
B) Stopping
C) Pending
D) Shutting down
47. Which of the following types of storage does Amazon EBS provide?
A) Object storage
B) Block storage
C) File storage
D) Archive storage
48. What is the primary benefit of using Amazon EBS with EC2 instances?
A) Amazon S3
B) Amazon EC2
C) Amazon RDS
D) Amazon EBS
53. What is the difference between a public AMI and a private AMI?
A) Public AMIs are free to use, while private AMIs incur charges.
B) Public AMIs are accessible to all AWS accounts, while private AMIs are restricted to specific
accounts.
C) Public AMIs are stored in Amazon S3, while private AMIs are stored in Amazon EBS.
D) Public AMIs are pre-configured with additional security features, while private AMIs are not.
- Correct Answer: B) Public AMIs are accessible to all AWS accounts, while private AMIs are
restricted to specific accounts.
- Correct Answer: B) The ability to handle increasing workloads or demands by adding resources
55. Which AWS service provides automatic scaling based on application demand?
A) Amazon S3
B) Amazon EC2
C) AWS Lambda
- Correct Answer: C) Increasing the number of instances in a fleet to distribute the workload
57. Which AWS service allows you to automatically scale the number of EC2 instances based on
demand?
A) Amazon S3
B) Amazon RDS
C) AWS Lambda
D) Auto Scaling
D) It ensures that the application can handle varying levels of traffic without manual intervention.
- Correct Answer: D) It ensures that the application can handle varying levels of traffic without
manual intervention.
C) Increasing the size of existing instances by adding more resources (CPU, RAM)
- Correct Answer: C) Increasing the size of existing instances by adding more resources (CPU, RAM)
60. Which AWS service allows you to create and manage virtual networks for your AWS resources?
A) Amazon VPC
B) Amazon ECS
C) Amazon EBS
D) Amazon RDS
62. How does AWS achieve high availability for its services?
- Correct Answer: A) By utilizing multiple Availability Zones (AZs) within each region
A) A physical location within an AWS region with independent power, cooling, and networking
- Correct Answer: A) A physical location within an AWS region with independent power, cooling,
and networking
64. Which AWS service provides automated load balancing across multiple EC2 instances to ensure
high availability?
A) Amazon S3
B) Amazon EC2
C) Amazon RDS
B) By reducing the number of resources to conserve costs during low traffic periods
- Correct Answer: A) By automatically provisioning additional resources during peak traffic periods
66. Which AWS service provides automated failover for databases to achieve high availability?
A) Amazon S3
B) Amazon EC2
C) Amazon RDS
D) AWS Lambda
A) A service for distributing incoming application or network traffic across multiple targets, such as
EC2 instances, containers, and IP addresses.
B) A service for managing DNS records and routing traffic to different AWS resources.
D) A service for monitoring and logging network traffic within AWS environments.
- Correct Answer: A) A service for distributing incoming application or network traffic across
multiple targets, such as EC2 instances, containers, and IP addresses.
68. Which types of load balancers are available in Elastic Load Balancing?
A) Application Load Balancer (ALB), Network Load Balancer (NLB), and Classic Load Balancer (CLB).
B) HTTP Load Balancer (HLB), TCP Load Balancer (TLB), and HTTPS Load Balancer (HSLB).
C) Web Load Balancer (WLB), Database Load Balancer (DLB), and Storage Load Balancer (SLB).
- Correct Answer: A) Application Load Balancer (ALB), Network Load Balancer (NLB), and Classic
Load Balancer (CLB).
C) To evenly distribute incoming traffic across multiple targets to prevent overloading any single
resource.
- Correct Answer: C) To evenly distribute incoming traffic across multiple targets to prevent
overloading any single resource.
70. Which load balancer operates at the connection level and is capable of handling millions of
requests per second with ultra-low latency?
B) A set of rules that define how traffic is routed to different backend servers.
C) A logical grouping of EC2 instances or IP addresses that the load balancer forwards traffic to.
- Correct Answer: C) A logical grouping of EC2 instances or IP addresses that the load balancer
forwards traffic to.
72. Which AWS service integrates seamlessly with Elastic Load Balancing to provide automatic scaling
of EC2 instances based on traffic load?
A) Amazon S3
B) Amazon RDS
D) Amazon CloudWatch
C) A service for automatically adjusting the number of EC2 instances based on demand.
Correct Answer: C) A service for automatically adjusting the number of EC2 instances based on
demand.
75.Can Auto Scaling automatically scale down the number of EC2 instances based on reduced
demand?
76.Which Auto Scaling feature ensures that the number of running instances is evenly distributed
across Availability Zones?
A) Health Check
B) Load Balancer
D) Placement Group
77.Can you manually adjust the minimum and maximum number of instances in an Auto Scaling
group?
D) No, minimum and maximum values are fixed once the group is created.
B) Database management
C) Object storage
D) Content delivery
4. What is the relationship between AWS regions and availability zones (AZs)?
A) Each region consists of multiple AZs
B) Each AZ consists of multiple regions
C) AZs and regions are the same thing
D) There is no relationship between AZs and regions
- Correct Answer: A) Each region consists of multiple AZs
5. Which AWS service is used to distribute traffic across multiple regions for improved
performance and availability?
A) Amazon CloudFront
B) Amazon Route 53
C) Amazon ELB (Elastic Load Balancer)
D) Amazon EC2
- Correct Answer: B) Amazon Route 53
9. Which Amazon RDS feature allows you to automate database backups and point-in-time
recovery?
A) Multi-AZ deployment
B) Read Replicas
C) Automated backups
D) Security groups
- Correct Answer: C) Automated backups
11. Which AWS service integrates seamlessly with Amazon RDS for automatic scaling of
database resources?
A) Amazon Route 53
B) AWS Lambda
C) Amazon EC2 Auto Scaling
D) Amazon DynamoDB
- Correct Answer: C) Amazon EC2 Auto Scaling
16. How does Amazon Redshift enhance security for data stored in the warehouse?
A) By providing encryption at rest and in transit
B) By restricting access to authorized users and IAM roles
C) By integrating with AWS Key Management Service (KMS)
D) All of the above
- Correct Answer: D) All of the above
17. What is the primary function of a Network Access Control List (NACL) in AWS?
A) Filtering traffic within an EC2 instance
B) Controlling access to AWS services
C) Filtering traffic at the subnet level
D) Enabling secure communication between VPCs
- Correct Answer: C) Filtering traffic at the subnet level
18. How are Network Access Control Lists (NACLs) associated with a subnet in AWS?
A) They are associated directly with EC2 instances
B) They are associated with VPCs
C) They are associated with security groups
D) They are associated with subnets
- Correct Answer: D) They are associated with subnets
19. What is the default action of a newly created Network Access Control List (NACL) in
AWS?
A) Allow all traffic
B) Deny all traffic
C) Allow all inbound traffic and deny all outbound traffic
D) Allow all outbound traffic and deny all inbound traffic
- Correct Answer: B) Deny all traffic
20. How are Network Access Control Lists (NACLs) evaluated in relation to security groups in
AWS?
A) NACLs are evaluated before security groups
B) NACLs are evaluated after security groups
C) NACLs and security groups are evaluated independently
D) NACLs and security groups are not related
- Correct Answer: A) NACLs are evaluated before security groups
21. What is the main difference between Network Access Control Lists (NACLs) and security
groups in AWS?
A) NACLs are stateful, while security groups are stateless
B) NACLs are applied at the instance level, while security groups are applied at the subnet
level
C) NACLs control inbound and outbound traffic, while security groups control only inbound
traffic
D) NACLs are managed by AWS, while security groups are managed by the user
- Correct Answer: B) NACLs are applied at the instance level, while security groups are
applied at the subnet level
22. Which of the following statements about Network Access Control Lists (NACLs) is true?
A) NACLs can be associated with multiple subnets
B) NACLs can be used to filter traffic between different VPCs
C) NACLs support dynamic rule updates without downtime
D) NACLs can restrict access based on EC2 instance tags
- Correct Answer: A) NACLs can be associated with multiple subnets
24. Which statement best describes the role of an Internet Gateway (IGW) in AWS?
A) It acts as a firewall for incoming internet traffic
B) It provides NAT (Network Address Translation) for instances within a VPC
C) It serves as a bridge between a VPC's internal network and the public internet
D) It facilitates communication between VPCs in different regions
- Correct Answer: C) It serves as a bridge between a VPC's internal network and the public
internet
27. Which AWS service is used to manage the lifecycle and configuration of Internet
Gateways?
A) Amazon EC2
B) Amazon VPC
C) Amazon Route 53
D) Amazon CloudWatch
- Correct Answer: B) Amazon VPC
28. Can an Internet Gateway (IGW) be detached from a VPC while there are still instances
running in the VPC?
A) Yes, detaching an IGW will not affect running instances
B) No, detaching an IGW will terminate all running instances
C) Yes, but running instances will lose internet connectivity
D) No, detaching an IGW is not allowed if there are running instances in the VPC
- Correct Answer: D) No, detaching an IGW is not allowed if there are running instances in
the VPC
29. Can an Internet Gateway (IGW) be used for private network communication within a
VPC?
A) Yes, an IGW can facilitate communication between private subnets within a VPC
B) No, an IGW is only for communication with the public internet
C) Yes, but only if NAT Gateway is also configured
D) No, an IGW cannot be used for internal VPC communication
- Correct Answer: B) No, an IGW is only for communication with the public internet
30. How is traffic routed to and from the internet when using an Internet Gateway (IGW) in
AWS?
A) Through the Elastic Load Balancer (ELB)
B) Through the Route 53 DNS service
C) Through the Amazon VPC route table
D) Through the AWS Direct Connect service
- Correct Answer: C) Through the Amazon VPC route table
36. What type of records can be managed with Amazon Route 53?
A) Only A records
B) Only CNAME records
C) Both A and CNAME records
D) Only MX records
- Correct Answer: C) Both A and CNAME records
37. How does Amazon Route 53 help improve the availability and reliability of web
applications?
A) By providing encryption for data in transit
B) By load balancing traffic across multiple servers
C) By optimizing database queries
D) By routing user requests to the nearest server
- Correct Answer: D) By routing user requests to the nearest server
38. What is the purpose of health checks in Amazon Route 53?
A) To monitor the health and performance of servers
B) To encrypt DNS queries
C) To prevent DDoS attacks
D) To manage access control policies
- Correct Answer: A) To monitor the health and performance of servers
40. Which DNS record type is used to map domain names to IP addresses?
A) A record
B) CNAME record
C) MX record
D) TXT record
- Correct Answer: A) A record
43. How does a public subnet in AWS VPC route traffic to the internet?
A) Through a virtual private network (VPN)
B) Through an internet gateway
C) Through a NAT gateway
D) Through a virtual private gateway
- Correct Answer: B) Through an internet gateway
46. Which of the following resources are required to enable internet access for instances in a
public subnet?
A) Internet Gateway
B) NAT Gateway
C) Virtual Private Gateway
D) VPN Connection
- Correct Answer: A) Internet Gateway
48. What is the route table configuration for a public subnet in AWS VPC?
A) It contains a default route pointing to a NAT gateway
B) It contains a default route pointing to an internet gateway
C) It contains a default route pointing to a virtual private gateway
D) It does not contain any default routes
- Correct Answer: B) It contains a default route pointing to an internet gateway
49. Which AWS service can be used to dynamically manage public IP addresses for instances
in a public subnet?
A) Amazon EC2
B) Amazon Route 53
C) Amazon VPC
D) Amazon Elastic IP addresses
- Correct Answer: D) Amazon Elastic IP addresses
51. How do instances in a private subnet communicate with the internet or other AWS
services?
A) Through a virtual private network (VPN)
B) Through an internet gateway
C) Through a NAT gateway
D) Through a virtual private gateway
- Correct Answer: C) Through a NAT gateway
54. Which of the following resources are required to enable outbound internet access for
instances in a private subnet?
A) Internet Gateway
B) NAT Gateway
C) Virtual Private Gateway
D) VPN Connection
- Correct Answer: B) NAT Gateway
57. Which AWS service can be used to manage inbound access to instances in a private
subnet?
A) Amazon EC2
B) Amazon Route 53
C) Amazon VPC
D) Amazon Security Groups
- Correct Answer: D) Amazon Security Groups
60. How does Amazon Glacier differ from Amazon S3 in terms of storage class?
A) Amazon Glacier provides real-time access to data, while Amazon S3 offers archival
storage
B) Amazon Glacier offers low-cost storage for infrequently accessed data, while Amazon S3
provides high-performance storage for frequently accessed data
C) Amazon Glacier offers real-time data analytics, while Amazon S3 is suitable for long-
term data archival
D) Amazon Glacier provides high-performance storage, while Amazon S3 offers low-cost
archival storage
- Correct Answer: B) Amazon Glacier offers low-cost storage for infrequently accessed data,
while Amazon S3 provides high-performance storage for frequently accessed data
61. Which AWS service is commonly used to manage lifecycle policies for transitioning data
to Amazon Glacier?
A) Amazon S3
B) Amazon RDS
C) Amazon Route 53
D) Amazon CloudWatch
- Correct Answer: A) Amazon S3
62. What is the mechanism used by Amazon Glacier to store data durably?
A) Replication across multiple data centers
B) Data mirroring
C) Data partitioning
D) Data redundancy across multiple availability zones
- Correct Answer: A) Replication across multiple data centers
63. Which AWS service can be integrated with Amazon Glacier for seamless backup and
archival of data?
A) Amazon S3
B) Amazon EC2
C) Amazon CloudFront
D) Amazon EBS (Elastic Block Store)
- Correct Answer: A) Amazon S3
64. Which cloud service model provides virtualized computing resources over the internet?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) All of the above
- Correct Answer: A) Infrastructure as a Service (IaaS)
65. In which cloud service model is the provider responsible for managing the underlying
infrastructure including servers, storage, and networking?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) None of the above
- Correct Answer: A) Infrastructure as a Service (IaaS)
66. Which cloud service model offers a runtime environment for developing, testing, and
managing applications without the complexity of building and maintaining the
infrastructure?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) All of the above
- Correct Answer: B) Platform as a Service (PaaS)
67. Which cloud service model delivers software applications over the internet on a
subscription basis?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) All of the above
- Correct Answer: C) Software as a Service (SaaS)
68. In which cloud service model is the provider responsible for managing and maintaining
the software application, including updates and security patches?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) None of the above
- Correct Answer: C) Software as a Service (SaaS)
69. Which cloud service model offers the highest level of abstraction and is typically used by
end-users to access applications via web browsers or APIs?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) All of the above
- Correct Answer: C) Software as a Service (SaaS)
70. In which cloud service model do users have the most control over the underlying
infrastructure?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) All of the above
- Correct Answer: A) Infrastructure as a Service (IaaS)
71. Which cloud service model typically requires the least amount of management and
administrative effort from the user?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) All of the above
- Correct Answer: C) Software as a Service (SaaS)
72. Which cloud service model is most suitable for organizations looking to quickly deploy
applications without worrying about infrastructure management?
A) Infrastructure as a Service (IaaS)
B) Platform as a Service (PaaS)
C) Software as a Service (SaaS)
D) All of the above
- Correct Answer: B) Platform as a Service (PaaS)
73. Which type of cloud deployment model involves sharing computing resources among
multiple tenants over the internet?
A) Public cloud
B) Private cloud
C) Hybrid cloud
D) Community cloud
- Correct Answer: A) Public cloud
74. In which type of cloud deployment model are computing resources exclusively dedicated
to a single organization?
A) Public cloud
B) Private cloud
C) Hybrid cloud
D) Community cloud
- Correct Answer: B) Private cloud
76. Which type of cloud deployment model is known for offering enhanced security and
control over data?
A) Public cloud
B) Private cloud
C) Hybrid cloud
D) Community cloud
- Correct Answer: B) Private cloud
79. Which cloud deployment model is most suitable for organizations with dynamic
workloads and varying security requirements?
A) Public cloud
B) Private cloud
C) Hybrid cloud
D) Community cloud
- Correct Answer: C) Hybrid cloud
80. What is the primary challenge associated with hybrid cloud deployments?
A) Limited scalability
B) Complex management and integration
C) Higher costs compared to other deployment models
D) Lack of security controls
- Correct Answer: B) Complex management and integration