an HCL GUVI product

cloud-computing banner

Cloud Computing Multiple Choice Questions (MCQs) and Answers

Master Cloud Computing 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 Cloud Computing concepts. Begin your placement preparation journey now!

Q91

Q91 In cloud IAM, what is the purpose of role-based access control (RBAC)?

A

To allocate network bandwidth

B

To limit data storage

C

To assign permissions based on roles

D

To increase computational power

Q92

Q92 Which of the following is NOT part of a typical IAM system?

A

User identities

B

Resource access

C

Bandwidth allocation

D

Permission policies

Q93

Q93 What is the difference between an IAM user and an IAM role in cloud computing?

A

Roles are used for programmatic access

B

Users require more permissions

C

Users represent individuals, roles are assigned to entities

D

Roles have no permissions

Q94

Q94 Which AWS CLI command is used to create a new IAM user?

A

aws iam create-user

B

aws iam add-user

C

aws iam new-user

D

aws iam make-user

Q95

Q95 How would you assign a new IAM policy to a user using the AWS CLI?

A

aws iam assign-policy

B

aws iam put-user-policy

C

aws iam attach-user-policy

D

aws iam set-policy

Q96

Q96 How would you create a new role with specific permissions in Google Cloud IAM using gcloud CLI?

A

gcloud iam create-role

B

gcloud create-iam-role

C

gcloud iam new-role

D

gcloud iam define-role

Q97

Q97 A user is unable to access a cloud resource even though they have been granted permissions. What could be the cause?

A

Incorrect IAM policy

B

Network issues

C

Storage limit exceeded

D

Software bugs

Q98

Q98 A user has been granted access to multiple cloud resources but is unable to perform actions in some of them. What is the likely issue?

A

Overlapping IAM policies

B

Insufficient permissions

C

Network latency

D

Incorrect user role

Q99

Q99 An organization is facing unauthorized access issues despite having IAM policies in place. What could be a potential solution?

A

Implement multi-factor authentication

B

Increase user permissions

C

Disable unused user accounts

D

Enable network encryption

Q100

Q100 What is the purpose of a Virtual Private Cloud (VPC) in cloud networking?

A

Provide physical storage

B

Securely connect on-premise to cloud

C

Manage identity access

D

Increase processing speed

Q101

Q101 Which of the following is a core component of cloud networking?

A

Virtual Machines

B

Security Groups

C

Load Balancers

D

File Storage

Q102

Q102 What role do subnets play in a cloud networking environment?

A

They route network traffic

B

They isolate network segments

C

They store user data

D

They secure databases

Q103

Q103 Which service allows for direct, private connectivity between a customer's data center and a cloud provider?

A

VPN

B

Direct Connect

C

Load Balancer

D

NAT Gateway

Q104

Q104 Which cloud networking model provides scalability by abstracting the network layer entirely?

A

Traditional Networking

B

Overlay Networking

C

Underlay Networking

D

Cloud-Native Networking

Q105

Q105 Which AWS command lists the available subnets in a specific region?

A

aws ec2 describe-subnets

B

aws ec2 list-subnets

C

aws vpc describe-subnets

D

aws ec2 show-subnets

Q106

Q106 How would you create a new Virtual Private Cloud (VPC) in AWS using the CLI?

A

aws vpc create-vpc

B

aws ec2 create-vpc

C

aws vpc new-vpc

D

aws ec2 build-vpc

Q107

Q107 How would you attach an internet gateway to a VPC in AWS using the CLI?

A

aws ec2 attach-igw

B

aws ec2 create-gateway

C

aws ec2 attach-internet-gateway

D

aws ec2 add-igw

Q108

Q108 In Google Cloud, what is the command to create a new VPC using the gcloud CLI?

A

gcloud compute networks create

B

gcloud create-vpc

C

gcloud compute new-vpc

D

gcloud build-vpc

Q109

Q109 A user is unable to access their cloud resource over the internet. What could be a possible reason?

A

The VPC is not created

B

The internet gateway is not attached

C

Insufficient storage

D

Incorrect IAM policy

Q110

Q110 A company is facing slow data transfers between their on-premise data center and the cloud. What could be the issue?

A

High network latency

B

Data encryption

C

Over-provisioned servers

D

Incorrect IAM permissions

Q111

Q111 A company using cloud services is experiencing IP conflicts between their resources. What is a potential solution?

A

Increase server resources

B

Use multiple VPCs

C

Reduce security rules

D

Switch to a public cloud model

Q112

Q112 Which of the following is a primary consideration when managing a cloud deployment?

A

CPU performance

B

Security

C

Backup frequency

D

User authentication

Q113

Q113 What does auto-scaling help achieve in cloud deployments?

A

Reduced storage

B

Automatic billing

C

Optimal resource usage

D

Improved network speeds

Q114

Q114 What is a significant challenge in managing multi-cloud deployments?

A

Increased latency

B

Complex identity management

C

Limited scalability

D

Reduced data privacy

Q115

Q115 In cloud deployment, what is the main advantage of Infrastructure as Code (IaC)?

A

Reduced manual errors

B

Improved security

C

Faster data transfer

D

Better storage

Q116

Q116 Which of the following strategies is essential for managing disaster recovery in cloud deployments?

A

Regular testing

B

Increased encryption

C

Smaller virtual machines

D

Low latency connections

Q117

Q117 In AWS, how would you update an existing CloudFormation stack to deploy new resources?

A

aws cloudformation update-stack

B

aws cloudformation change-stack

C

aws ec2 update-stack

D

aws vpc update-stack

Q118

Q118 How would you deploy an application to Google Kubernetes Engine (GKE) using the gcloud CLI?

A

gcloud app deploy

B

gcloud container deploy

C

kubectl apply

D

gcloud kubernetes deploy

Q119

Q119 What command in AWS CLI would you use to provision resources using Terraform?

A

terraform create

B

terraform apply

C

terraform start

D

terraform deploy

Q120

Q120 How would you define a multi-cloud deployment using Terraform configuration?

A

Define multiple provider blocks

B

Use the same provider block

C

Define a single cloud block

D

Use one cloud and multiple regions

ad vertical