AWS 2026/2027 Test Exam 120 comprehensive questions
|RECENT AND FREQUENTLY MOST TESTED QUESTIONS AND
VERIFIED SOLUTIONS/GET IT 100% ACCURATE!! 2026!!
1. What is AWS CloudShell?
A. A desktop application for managing AWS services
B. A local terminal installed on your computer
C. A terminal built into AWS that allows users to run AWS CLI commands directly in the browser
without installation. ✅
D. A service for creating EC2 instances only
Correct Answer: A terminal built into AWS that allows users to run AWS CLI commands directly in
the browser without installation.
2. What are the benefits of using AWS CloudShell?
A. Requires manual installation and authentication
B. Only works with EC2 instances
C. You can run commands without installing anything, configuring keys, or authenticating
manually. ✅
D. Requires downloading AWS CLI every session
Correct Answer: You can run commands without installing anything, configuring keys, or
authenticating manually.
3. What tools are preinstalled in AWS CloudShell?
A. Docker Desktop, Visual Studio, SQL Server
B. PowerShell, Hyper-V, IIS
C. AWS CLI, Python, Node.js, Git, Vim, wget, pip, etc. ✅
D. Oracle Database and VMware
Correct Answer: AWS CLI, Python, Node.js, Git, Vim, wget, pip, etc.
4. How much storage is included with AWS CloudShell?
A. 500 MB per account
B. Unlimited storage
C. 5 GB shared across all regions
D. 1 GB per region, with files persisting between sessions. ✅
Correct Answer: 1 GB per region, with files persisting between sessions.
5. What is Infrastructure as Code (IaC)?
A. Building physical servers in a data center
,14 August 2026
B. Writing operating systems for servers
C. Defining cloud infrastructure using code/files instead of manually clicking buttons. ✅
D. Installing AWS CLI on a computer
Correct Answer: Defining cloud infrastructure using code/files instead of manually clicking buttons.
6. What are the advantages of using IaC?
A. Requires more manual work
B. Slower deployments with fewer controls
C. Eliminates documentation
D. Repeatable, automated, version controlled, shareable, and faster deployments. ✅
Correct Answer: Repeatable, automated, version controlled, shareable, and faster deployments.
7. What are the two AWS IaC tools mentioned?
A. EC2 and Lambda
B. CloudWatch and CloudTrail
C. CloudFormation (CFN) and AWS CDK (Cloud Development Kit). ✅
D. S3 and EBS
Correct Answer: CloudFormation (CFN) and AWS CDK (Cloud Development Kit).
8. How does CloudFormation work? A.
It uses only Python programming.
B. It requires step-by-step programming instructions.
C. It's declarative. You describe what you want, and AWS figures out how to build it. ✅
D. It provisions resources manually.
Correct Answer: It's declarative. You describe what you want, and AWS figures out how to build it.
9. How does AWS CDK work?
A. It only uses YAML templates.
B. It is entirely console-based.
C. It's imperative. You use programming logic such as loops, variables, reusable components, and
conditionals. ✅
D. It cannot deploy infrastructure.
Correct Answer: It's imperative. You use programming logic such as loops, variables, reusable
components, and conditionals.
10. What is the difference between declarative and imperative in IaC? A.
They are the same approach.
B. Declarative requires programming while imperative does not.
, 14 August 2026
C. Declarative means you specify the desired outcome, while imperative provides step-by-step
instructions. ✅
D. Imperative uses only YAML.
Correct Answer: Declarative means you specify the desired outcome, while imperative provides
step-by-step instructions.
11. What is CloudFormation?
A. A monitoring service for EC2
B. A storage service for backups
C. A collection of AWS resources deployed together from one template. ✅
D. A networking service for VPCs
Correct Answer: A collection of AWS resources deployed together from one template.
12. What is the primary format for writing CloudFormation templates?
A. XML only
B. Python only C. JSON or YAML ✅
D. JavaScript only
Correct Answer: JSON or YAML.
13. What are 'Constructs' in AWS CDK?
A. Scripts that delete AWS resources
B. AWS CLI plugins
C. Prebuilt reusable cloud components that simplify infrastructure setup. ✅
D. EC2 machine images
Correct Answer: Prebuilt reusable cloud components that simplify infrastructure setup.
14. What is the purpose of the CDK CLI?
A. To monitor EC2 instances
B. To create IAM users only
C. To convert CDK code into CloudFormation templates and deploy infrastructure. ✅
D. To manage AWS billing
Correct Answer: To convert CDK code into CloudFormation templates and deploy infrastructure.
15. What is the relationship between CDK and CloudFormation? A.
CloudFormation generates CDK code.
B. They are unrelated services.
C. CDK generates CloudFormation templates, which are then used to deploy resources. ✅
D. CDK replaces CloudFormation completely.