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.
Which AWS service is best for managing application secrets?
AAWS Secrets Manager
BAWS Certificate Manager
CAmazon S3
DAWS Lambda
Explanation
AWS Secrets Manager is specifically designed for managing application secrets; the other options serve different purposes.
Q122
A company requires a secure way to upload files to S3 directly from client browsers. Which approach should it take?
AUse AWS CloudFormation
BCreate a pre-signed URL
CIncrease S3 bucket size
DUse AWS EC2 instance
Explanation
Creating a pre-signed URL provides secure temporary access for uploads, while other options do not address direct browser uploads.
Q123
What happens when you terminate an EC2 instance in a default VPC?
AAll data is permanently lost
BInstance storage is preserved
CElastic IP is retained
DInstance is stopped, not terminated
Explanation
Terminating an EC2 instance in a default VPC loses all ephemeral data; Elastic IPs and stopped instances work differently.
Q124
Which service is best for real-time data streaming?
AAmazon Kinesis
BAmazon RDS
CAmazon S3
DAmazon DynamoDB
Explanation
Amazon Kinesis is designed for real-time streaming, while the others serve different purposes like databases or storage.
Q125
A company needs secure access to AWS resources based on user roles. Which AWS service should they use?
AAWS IAM
BAWS VPC
CAWS CloudTrail
DAWS Lambda
Explanation
AWS IAM enables secure access management based on roles; the others provide different functions unrelated to user access control.
Q126
What happens when you delete an EC2 instance?
AAll associated EBS volumes are deleted.
BThe instance can be recovered later.
CAll data in instance store is lost.
DElastic IP addresses are kept.
Explanation
Instance store data is temporary and lost upon deletion, whereas EBS volumes and Elastic IPs can be retained.
Q127
Which service allows for globally distributed applications with low latency?
AAmazon Route 53
BAWS Direct Connect
CAmazon CloudFront
DAWS Lambda
Explanation
Amazon CloudFront delivers content faster with edge locations, while Route 53 mainly handles DNS, Direct Connect is for dedicated networks, and Lambda runs code without specified latencies.
Q128
A company needs to automate the scaling of their EC2 instances based on performance metrics. What should they use?
AEC2 Auto Scaling Groups
BAWS Elastic Load Balancer
CAWS Lambda
DAmazon RDS
Explanation
EC2 Auto Scaling Groups automatically adjust instance counts based on metrics, while the others serve different purposes including load balancing and database management.
Q129
What happens when an IAM user tries to delete an S3 bucket that they do not have permission to?
AThe action is denied
BThe action is logged
CThe bucket is deleted
DThe bucket is emptied
Explanation
IAM policies prevent actions without permission, while logging and action outcomes behave differently without correct permissions.
Q130
Which service automates infrastructure provisioning?
AAWS CloudFormation
BAWS Lambda
CAmazon EC2
DAmazon RDS
Explanation
AWS CloudFormation automates infrastructure provisioning, while others provide compute or database services.