aws banner

AWS Multiple Choice Questions (MCQs) and Answers

Master AWS with Practice MCQs. Explore our curated collection of Multiple Choice Questions. Ideal for placement and interview preparation, our questions range from basic to advanced, ensuring comprehensive coverage of AWS concepts. Begin your placement preparation journey now!

Q121

Q121 Which AWS CLI command creates a new pipeline in CodePipeline?

A

aws codepipeline init

B

aws codepipeline create-pipeline

C

aws pipeline deploy

D

aws codepipeline setup

Q122

Q122 How do you start a manual approval action in a CodePipeline using the AWS CLI?

A

aws codepipeline start-approval

B

aws codepipeline approve-action

C

aws codepipeline manual-approve

D

aws codepipeline start-manual-action

Q123

Q123 Which AWS CLI command creates a new application in CodeDeploy?

A

aws deploy init-application

B

aws deploy create-application

C

aws codedeploy new-app

D

aws codedeploy setup-application

Q124

Q124 How do you list deployment groups in CodeDeploy using the AWS CLI?

A

aws deploy get-groups

B

aws codedeploy list-groups

C

aws deploy list-deployment-groups

D

aws codedeploy get-groups

Q125

Q125 A CodePipeline stage fails to execute due to permission issues. What should you check?

A

IAM role for the stage

B

Pipeline type

C

Pipeline structure

D

Source repository permissions

Q126

Q126 A CodeDeploy deployment fails with the error “Invalid Deployment Group.” What is the most likely cause?

A

IAM policy missing

B

Application type mismatch

C

Deployment group not defined

D

Region mismatch

Q127

Q127 What is the purpose of AWS Cost Explorer?

A

Monitor security settings

B

Manage IAM policies

C

Analyze and track AWS spending

D

Encrypt billing data

Q128

Q128 Which AWS feature allows you to allocate costs to specific teams or projects?

A

Cost Tags

B

Budget Alerts

C

Savings Plans

D

Consolidated Billing

Q129

Q129 What is AWS Budgets used for?

A

Encrypt billing data

B

Set spending thresholds

C

Enable MFA

D

Create detailed billing reports

Q130

Q130 What is the key difference between AWS Savings Plans and Reserved Instances?

A

Savings Plans are more flexible

B

Savings Plans cost more

C

Reserved Instances are for S3

D

Reserved Instances are for EFS

Q131

Q131 Which AWS CLI command retrieves your current AWS billing details?

A

aws billing get-details

B

aws cost-explorer get-cost-and-usage

C

aws budgets get-budget

D

aws billing show-usage

Q132

Q132 How do you enable cost allocation tags using the AWS CLI?

A

aws billing add-tags

B

aws cost-allocation enable-tags

C

aws tags set-cost-allocation

D

aws billing enable-tags

Q133

Q133 How do you create a new budget using AWS CLI?

A

aws budgets create-budget

B

aws billing create-budget

C

aws cost set-budget

D

aws budgets init

Q134

Q134 You receive an unexpected high-cost notification. What is the first thing you should check?

A

IAM policies

B

Resource usage

C

Data encryption

D

Cost tags

Q135

Q135 Your consolidated billing shows incomplete data for linked accounts. What could be the issue?

A

IAM role missing

B

Linked account not active

C

Incorrect billing region

D

Savings Plan expired

Q136

Q136 What is the primary purpose of Multi-AZ deployments in RDS?

A

Enhance scalability

B

Reduce costs

C

Provide high availability

D

Improve query performance

Q137

Q137 Which AWS service provides global DNS failover for disaster recovery?

A

Route 53

B

CloudFront

C

VPC

D

Direct Connect

Q138

Q138 What is the difference between Pilot Light and Warm Standby DR strategies?

A

Pilot Light is fully scaled

B

Warm Standby is fully functional

C

Pilot Light is partially scaled

D

Warm Standby does not require failover

Q139

Q139 Which AWS storage service is most suitable for long-term backup and disaster recovery?

A

S3 Standard

B

Glacier

C

EBS

D

EFS

Q140

Q140 Which AWS CLI command enables Route 53 health checks for DNS failover?

A

aws route53 enable-health

B

aws route53 create-health-check

C

aws health-check init

D

aws dns set-health-check

Q141

Q141 How do you configure an EC2 Auto Scaling group for disaster recovery using the AWS CLI?

A

aws autoscaling set-dr

B

aws autoscaling create-group

C

aws dr create-group

D

aws ec2 set-dr

Q142

Q142 A Route 53 failover record is not redirecting traffic. What could be the issue?

A

DNS TTL value too high

B

Health check not configured

C

IAM policy missing

D

Region mismatch

Q143

Q143 Auto Scaling is failing to replace unhealthy instances during a failover. What could be the problem?

A

Incorrect scaling policy

B

Insufficient instance capacity

C

Network ACL misconfiguration

D

IAM role missing

Q144

Q144 Which AWS service would be best for a company migrating a relational database to the cloud?

A

DynamoDB

B

RDS

C

S3

D

Elastic Beanstalk

Q145

Q145 A company needs a serverless architecture for its web application. Which combination of services is ideal?

A

EC2 and S3

B

Lambda and API Gateway

C

ECS and Route 53

D

CloudFront and RDS

Q146

Q146 An organization wants a highly available storage solution across multiple regions. Which service should they use?

A

EFS

B

S3

C

EBS

D

Glacier

Q147

Q147 How do you create a bucket policy to allow public read access to an S3 bucket using the AWS CLI?

A

aws s3 set-policy

B

aws s3api put-bucket-policy

C

aws bucket-policy create

D

aws s3 create-policy

Q148

Q148 Which AWS CLI command creates a CloudFront distribution for a global application?

A

aws cloudfront init

B

aws cloudfront create-distribution

C

aws cdn deploy

D

aws cloudfront setup

Q149

Q149 A company’s Lambda function is not triggering from an S3 event. What could be the issue?

A

Event notification misconfiguration

B

Bucket policy missing

C

IAM role incorrect

D

Public access denied

Q150

Q150 An Auto Scaling group is failing to scale during high demand in a production environment. What is the likely cause?

A

Insufficient instance capacity

B

Scaling policy misconfiguration

C

Unhealthy targets

D

IAM policy missing

ad verticalad vertical
ad