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
Start Mock Test Timed · Full-length · Scored

Questions 51–60 of 486

Q51

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.
Explanation The assigned IAM role grants permissions to the instance; other options misstate IAM role functionality.
Q52

Which AWS service is used for serverless computing?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon S3
  • D AWS RDS
Explanation AWS Lambda allows users to run code without provisioning servers, while the others require server management.
Q53

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
Explanation Amazon Aurora is a fully managed relational database service, unlike Redshift, which is primarily for data warehousing.
Q54

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
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.
Q55

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.
Explanation Deleting a versioned bucket makes it inaccessible but retains the versions internally until explicitly deleted.
Q56

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
Explanation Amazon EC2 Auto Scaling is specifically designed for automatic resource scaling based on demand.
Q57

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.
Explanation In IAM policies, 'Deny' takes precedence over 'Allow,' thus overriding permissions.
Q58

Which AWS service is primarily used for serverless computing?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS Batch
Explanation AWS Lambda executes code in response to events without provisioning servers, while the others require server management.
Q59

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
Explanation AWS Auto Scaling adjusts compute capacity based on traffic, unlike the other services.
Q60

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
Explanation IAM enforces permission policies, denying access when permissions are insufficient, unlike the others which do not apply directly.