Amazon AWS
AWS Certified Cloud Practitioner
CLF-C02
Popular
The AWS Certified Cloud Practitioner (CLF-C02) exam is designed for individuals who want to demonstrate their overall understanding of AWS Cloud. It covers basic AWS services and their benefits.
486 questions
0 views
Free
Questions 51–60 of 486
What happens when an IAM role is assigned to an EC2 instance?
A
The role is ignored.
B
Role permissions apply automatically.
C
Only admin can use the role.
D
Instance cannot access any services.
Reveal Answer
Explanation
The assigned IAM role grants permissions to the instance; other options misstate IAM role functionality.
Which AWS service is used for serverless computing?
A
AWS Lambda
B
Amazon EC2
C
Amazon S3
D
AWS RDS
Reveal Answer
Explanation
AWS Lambda allows users to run code without provisioning servers, while the others require server management.
A company needs a fully managed database service. Which service should they choose?
A
Amazon Redshift
B
Amazon Aurora
C
Amazon EC2
D
Amazon S3
Reveal Answer
Explanation
Amazon Aurora is a fully managed relational database service, unlike Redshift, which is primarily for data warehousing.
What happens when an EC2 instance exceeds its allocated EBS volume size?
A
Instance stops running
B
New data cannot be written
C
Data is automatically backed up
D
EC2 terminates automatically
Reveal Answer
Explanation
If an EBS volume exceeds its size, no new data can be written until space is freed; it doesn't terminate or stop the instance.
What happens when you delete an S3 bucket with versioning enabled?
A
All versions are deleted immediately.
B
Bucket will be permanently removed.
C
Versions are retained in a different region.
D
Bucket remains but versions are inaccessible.
Reveal Answer
Explanation
Deleting a versioned bucket makes it inaccessible but retains the versions internally until explicitly deleted.
A company needs to establish a service that can automatically scale resources. Which AWS service should they use?
A
Amazon EC2 Auto Scaling
B
AWS Lambda
C
Amazon CloudFront
D
Amazon RDS
Reveal Answer
Explanation
Amazon EC2 Auto Scaling is specifically designed for automatic resource scaling based on demand.
You are configuring IAM policies. What is the effect of using 'Deny' in a policy statement?
A
Overrides all other permissions.
B
Only affects a single user.
C
It grants permissions to resources.
D
It can be ignored if allowed.
Reveal Answer
Explanation
In IAM policies, 'Deny' takes precedence over 'Allow,' thus overriding permissions.
Which AWS service is primarily used for serverless computing?
A
AWS Lambda
B
Amazon EC2
C
Amazon RDS
D
AWS Batch
Reveal Answer
Explanation
AWS Lambda executes code in response to events without provisioning servers, while the others require server management.
A company needs to scale its web application automatically based on traffic. Which service should they use?
A
Amazon S3
B
AWS Auto Scaling
C
Amazon VPC
D
Amazon CloudWatch
Reveal Answer
Explanation
AWS Auto Scaling adjusts compute capacity based on traffic, unlike the other services.
What happens when an IAM user tries to access a resource beyond their permissions?
A
Access is granted with constraints
B
Access is logged and monitored
C
Access is denied
D
Access is escalated to admin
Reveal Answer
Explanation
IAM enforces permission policies, denying access when permissions are insufficient, unlike the others which do not apply directly.