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.
What happens when you delete a versioned Amazon S3 object without deleting its delete marker?
AThe object is permanently deleted
BThe object becomes accessible again
CThe delete marker appears only
DThe object remains in the bucket
Explanation
Deleting a versioned object adds a delete marker, making the object non-visible while keeping its previous versions intact.
Q322
Which AWS service provides a managed NoSQL database?
ADynamoDB
BRDS
CEC2
DLambda
Explanation
DynamoDB is a fully managed NoSQL database service; RDS is for SQL databases, EC2 is compute, and Lambda is for serverless computing.
Q323
A company needs to ensure its data is always available even in case of regional outages. What should they use?
AS3 with versioning
BEC2 with auto-scaling
CReplication across multiple regions
DCloudTrail for auditing
Explanation
Replication across multiple regions ensures data availability during outages; S3 versioning only protects against deletions, while auto-scaling and CloudTrail do not provide data availability.
Q324
You are configuring IAM policies for an application. What happens if a policy denies access to a specific resource?
AAccess is granted anyway
BAccess is denied
CAccess relies on other policies
DUser can appeal decision
Explanation
If a policy denies access, it overrides any allows; other policies may not affect the denial, and there's no appeal in IAM.
Q325
Which service allows you to run code without provisioning servers?
AAWS Lambda
BEC2 Instances
CAmazon S3
DAWS RDS
Explanation
AWS Lambda runs code in response to events without server management; EC2 requires server provisioning, S3 is for storage, and RDS for relational databases.
Q326
A company needs to ensure that its application can automatically scale based on demand. Which AWS service would best meet this requirement?
AElastic Load Balancing
BAmazon EC2 Autoscaling
CAWS Lambda
DAmazon S3
Explanation
Amazon EC2 Autoscaling provides automatic resource scaling; Elastic Load Balancing distributes traffic, Lambda is serverless with no scaling, and S3 is for storage only.
Q327
You are configuring a Virtual Private Cloud (VPC) in AWS. What happens if you do not specify a route table when creating a subnet?
ANo Internet access in the subnet.
BSubnets will be deleted.
CLaunching EC2 instances fails.
DSubnet cannot be created.
Explanation
A subnet without a route table has no Internet access; it will not delete, launching instances can proceed, and a subnet can still be created.
Q328
Which service is primarily used for serverless computing?
AAWS Lambda
BAmazon EC2
CAmazon S3
DAWS IAM
Explanation
AWS Lambda is designed for serverless applications, while EC2 is for virtual servers, S3 for storage, and IAM for identity management.
Q329
A company needs to securely store sensitive data in the cloud. Which AWS service should they use?
AAmazon S3 with AES-256
BAWS CloudTrail
CAmazon CloudFront
DAWS Direct Connect
Explanation
Amazon S3 can store encrypted data using AES-256; CloudTrail tracks activities, CloudFront speeds up content delivery, and Direct Connect provides dedicated network connections.
Q330
What happens when an IAM user requests access to resources without sufficient permissions?
AAccess is granted automatically.
BAccess is denied.
CUser receives a warning.
DAccess is inferred by group permissions.
Explanation
Without sufficient permissions, AWS IAM denies access; it does not grant access, warn the user, or always infer from group permissions.