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!

Q61

Q61 How do you create a new database instance in Amazon RDS using the AWS CLI?

A

aws rds create-db-instance

B

aws rds init-instance

C

aws database create

D

aws rds new-db

Q62

Q62 Which AWS CLI command is used to delete a DynamoDB table?

A

aws dynamodb remove-table

B

aws dynamodb delete-table

C

aws database delete

D

aws dynamodb clear-table

Q63

Q63 Your application cannot connect to an RDS instance. What should you check first?

A

Network ACLs

B

Instance size

C

IAM policies

D

Security groups

Q64

Q64 A DynamoDB table is throttling read operations. What is the likely cause?

A

Insufficient read capacity

B

IAM permission issue

C

Indexing failure

D

Data inconsistency

Q65

Q65 Your RDS instance is running out of storage. What action can resolve this issue?

A

Reduce backup retention

B

Enable automatic storage scaling

C

Restart the instance

D

Increase instance type

Q66

Q66 What does IAM stand for in AWS?

A

Identity and Access Management

B

Identity and Account Management

C

Instance Access Management

D

Identity Access Mechanism

Q67

Q67 What is the purpose of IAM policies in AWS?

A

To configure network settings

B

To define permissions for AWS resources

C

To encrypt data

D

To monitor usage

Q68

Q68 What is an AWS IAM Role?

A

A virtual machine

B

A set of permissions for services

C

A security group

D

An EC2 instance

Q69

Q69 What type of encryption keys does AWS KMS use?

A

Symmetric

B

Asymmetric

C

Both

D

None

Q70

Q70 What is the default key rotation period for AWS managed keys in KMS?

A

30 days

B

90 days

C

1 year

D

2 years

Q71

Q71 Which AWS CLI command lists all IAM users?

A

aws iam get-users

B

aws iam list-users

C

aws users show

D

aws iam users-list

Q72

Q72 How do you create a new IAM role using the AWS CLI?

A

aws iam create-role

B

aws role add

C

aws iam new-role

D

aws iam setup-role

Q73

Q73 Which AWS CLI command encrypts a file using a key in AWS KMS?

A

aws kms encrypt-file

B

aws kms encrypt

C

aws encrypt-file

D

aws kms secure

Q74

Q74 A user cannot access an S3 bucket despite being added to a group with full S3 permissions. What could be the issue?

A

Invalid key

B

Incorrect bucket region

C

Explicit deny policy

D

No MFA

Q75

Q75 A Lambda function cannot decrypt data encrypted with KMS. What should you check?

A

IAM role attached

B

Lambda timeout

C

Key rotation

D

Instance type

Q76

Q76 An IAM user’s API request is failing with “Access Denied.” What is the most likely cause?

A

IAM policy missing

B

Region mismatch

C

Incorrect instance type

D

Service unavailable

Q77

Q77 What does Amazon CloudWatch primarily monitor?

A

Application errors

B

AWS resource usage and performance

C

Data encryption

D

Network traffic

Q78

Q78 What is the purpose of Amazon CloudTrail?

A

Monitoring real-time metrics

B

Tracking user and API activity

C

Encrypting log data

D

Creating dashboards

Q79

Q79 Which of the following is NOT a feature of Amazon CloudWatch?

A

Creating alarms

B

Monitoring metrics

C

User authentication

D

Storing logs

Q80

Q80 What is the default retention period for CloudTrail logs in S3?

A

7 days

B

30 days

C

90 days

D

Indefinite

Q81

Q81 What is the primary use of CloudWatch Logs Insights?

A

Debugging metrics

B

Querying and analyzing log data

C

Encrypting logs

D

Creating alarms

Q82

Q82 Which AWS CLI command retrieves CloudWatch metrics?

A

aws logs get-metrics

B

aws cloudwatch list-metrics

C

aws metrics show

D

aws cloudwatch metrics

Q83

Q83 How do you create a CloudTrail trail using the AWS CLI?

A

aws cloudtrail create-trail

B

aws trail create

C

aws logs create

D

aws cloudwatch init-trail

Q84

Q84 Which AWS CLI command enables a CloudWatch alarm for high CPU usage?

A

aws cloudwatch put-metric-alarm

B

aws cloudwatch set-alarm

C

aws alarm set

D

aws logs create-alarm

Q85

Q85 CloudWatch metrics are not showing up for an EC2 instance. What should you check?

A

IAM permissions

B

Instance monitoring enabled

C

Instance size

D

VPC settings

Q86

Q86 A CloudTrail log is not appearing in the designated S3 bucket. What could be the issue?

A

Incorrect S3 bucket policy

B

IAM role missing

C

Region mismatch

D

Trail not enabled

Q87

Q87 A CloudWatch alarm is not triggering despite metrics exceeding the threshold. What should you check?

A

Alarm state

B

Metric filters

C

Notification action

D

Retention period

Q88

Q88 What is the primary purpose of AWS CloudFormation?

A

Automate deployments

B

Monitor application performance

C

Encrypt data

D

Manage user access

Q89

Q89 Which AWS tool is used for automating operational tasks across AWS resources?

A

CloudFormation

B

CloudTrail

C

Systems Manager

D

CodePipeline

Q90

Q90 What is the primary benefit of using AWS OpsWorks?

A

Application monitoring

B

Configuration management using Chef or Puppet

C

Data encryption

D

DNS management

ad verticalad vertical
ad