Zafari Academy
AWS Certified Cloud Practitioner (CLF-C02)

AWS Cloud Practitioner practice questions

Try 15 questions across the exam's four areas.

Free15 questionsAnswers explained

  1. Question 1Cloud Concepts

    AWS buys servers, buildings and power for a huge number of customers at once, which has let it cut its prices many times. Which benefit of the cloud is this?

    1. A. Global reach in minutes
    2. B. Economies of scale
    3. C. Elasticity
    4. D. High availability
    Show the answer

    Answer: B

    Because AWS buys and runs so much for so many customers together, each unit costs it less, and some of that saving reaches customers as lower prices.

    • A. Not it: global reach is about running in many parts of the world quickly, not about price.
    • B. Right: usage pooled across many customers lowers the cost of each unit.
    • C. Not it: elasticity is growing and shrinking with demand, not AWS's buying power.
    • D. Not it: high availability is staying up when something fails.
  2. Question 2Cloud Concepts

    A ticket seller's traffic jumps tenfold for one hour when a big concert goes on sale, then falls back. What lets it pay for the extra servers only during that hour?

    1. A. Buying servers sized for the busiest hour
    2. B. A three-year Reserved Instance for the peak
    3. C. Elasticity: adding servers as demand rises and removing them after
    4. D. Edge locations
    Show the answer

    Answer: C

    Elasticity means capacity follows demand, up and down, so the seller pays for extra servers only while it uses them.

    • A. Not it: servers sized for the peak sit idle, and are paid for, the rest of the time.
    • B. Not it: a Reserved Instance is a commitment for a whole term, the opposite of paying for one hour.
    • C. Right: capacity added for the rush and removed after it is paid for only while it runs.
    • D. Not it: edge locations bring content closer to users; they do not add servers for a rush.
  3. Question 3Cloud Concepts

    Each year a team tries the newest kind of server and switches when it serves the same pages to users faster. Which pillar of the AWS Well-Architected Framework does this mainly serve?

    1. A. Reliability
    2. B. Operational excellence
    3. C. Security
    4. D. Performance efficiency
    Show the answer

    Answer: D

    Performance efficiency is about using computing resources well to meet demand, which includes trying newer resources as they arrive.

    • A. Not it: reliability is about recovering from failure and meeting demand without breaking.
    • B. Not it: operational excellence is about running and improving how the work is done, such as small, reversible changes.
    • C. Not it: security is about protecting data and systems.
    • D. Right: choosing the resources that serve users fastest is performance efficiency.
  4. Question 4Cloud Concepts

    A company stops running its own customer-records software on its servers and signs up for a software-as-a-service product that does the same job. Which migration strategy is this?

    1. A. Repurchase
    2. B. Rehost
    3. C. Retain
    4. D. Relocate
    Show the answer

    Answer: A

    Repurchase means replacing an application with a different product, often software as a service, instead of moving the old one.

    • A. Right: dropping the old software for a bought service is repurchase.
    • B. Not it: rehost moves the same application to the cloud unchanged.
    • C. Not it: retain keeps the application where it is for now.
    • D. Not it: relocate moves whole virtual machines to the cloud without changing them, such as VMware workloads.
  5. Question 5Security and ComplianceChoose TWO

    A company runs its website on Amazon EC2 instances. Under the shared responsibility model, which TWO jobs are the company's? (Choose TWO.)

    1. A. Patching the operating system on the instances
    2. B. Replacing failed disks in AWS data centres
    3. C. Choosing which traffic the security groups let in
    4. D. Guarding the buildings that hold the servers
    5. E. Patching the software that runs the virtual machines
    Show the answer

    Answer: A and C

    With EC2 the customer looks after everything from the guest operating system up, including its firewall settings; AWS looks after the hardware, the buildings and the virtualisation layer.

    • A. Right: on EC2 the guest operating system is the customer's to patch.
    • B. Not it: the hardware in AWS data centres is AWS's.
    • C. Right: security group rules are settings the customer chooses.
    • D. Not it: the physical security of data centres is AWS's.
    • E. Not it: the layer that runs virtual machines is AWS's.
  6. Question 6Security and Compliance

    A new analyst needs to read the reports in one Amazon S3 bucket and nothing else. How should the administrator give her access?

    1. A. Share the root user's sign-in so she can reach everything
    2. B. Give her an identity of her own with a policy that allows reading only that bucket
    3. C. Give her administrator access so she is never blocked
    4. D. Make the bucket readable by anyone on the internet
    Show the answer

    Answer: B

    The principle of least privilege: give each person their own identity and only the permissions their work needs.

    • A. Not it: the root user is never shared and should be kept for the few tasks only it can do.
    • B. Right: her own identity, allowed only what she needs, is least privilege.
    • C. Not it: administrator access gives far more than reading one bucket.
    • D. Not it: a public bucket would show the reports to everyone, not only her.
  7. Question 7Security and Compliance

    A security team wants AWS to watch its account's activity and network traffic for signs of an attacker, such as calls from a known bad address, without installing anything. Which service fits?

    1. A. Amazon Inspector
    2. B. AWS Shield Standard
    3. C. Amazon GuardDuty
    4. D. AWS Artifact
    Show the answer

    Answer: C

    Amazon GuardDuty is a threat detection service that reads account activity, network flow and DNS logs and reports what looks like an attack.

    • A. Not it: Amazon Inspector scans workloads for software weaknesses and unwanted network exposure; it does not watch for attackers.
    • B. Not it: Shield Standard protects against common denial-of-service attacks; it does not report suspicious account activity.
    • C. Right: GuardDuty watches logs for threats, with nothing to install.
    • D. Not it: AWS Artifact holds AWS's compliance reports and agreements.
  8. Question 8Security and Compliance

    An application on an EC2 instance must save files to an S3 bucket. What is the safest way to let it, without keeping any long-term keys on the server?

    1. A. Write an IAM user's access keys into the application's code
    2. B. Use the root user's access keys
    3. C. Make the bucket writable by anyone
    4. D. Attach an IAM role to the instance that allows writing to that bucket
    Show the answer

    Answer: D

    An IAM role gives the instance short-lived credentials that AWS rotates for it, so no lasting key sits on the server or in the code.

    • A. Not it: keys in code can leak, and they do not change by themselves.
    • B. Not it: the root user should have no access keys at all.
    • C. Not it: a bucket anyone can write to is open to everyone, not just the application.
    • D. Right: a role on the instance gives temporary credentials with only the permission it needs.
  9. Question 9Cloud Technology and Services

    A clinic's booking app runs on EC2 instances in a single Availability Zone. How can it keep working if that Availability Zone goes down?

    1. A. Run instances in at least two Availability Zones behind a load balancer
    2. B. Move to a larger instance type
    3. C. Serve the app through Amazon CloudFront only
    4. D. Buy Reserved Instances for the servers
    Show the answer

    Answer: A

    Availability Zones are separate groups of data centres in a Region. Spreading instances over two or more, with a load balancer in front, keeps the app up when one fails.

    • A. Right: a second Availability Zone keeps the app running when one is lost.
    • B. Not it: a bigger server in the same Availability Zone fails with it.
    • C. Not it: CloudFront caches content near users but does not run the app's servers elsewhere.
    • D. Not it: Reserved Instances lower the price; they do not add a second location.
  10. Question 10Cloud Technology and Services

    A company keeps millions of files in Amazon S3. Some are opened every day and others not for months, and nobody can predict which. Which storage class moves each file to a cheaper tier by itself once it stops being opened?

    1. A. S3 Standard
    2. B. S3 Intelligent-Tiering
    3. C. S3 One Zone-Infrequent Access
    4. D. S3 Glacier Deep Archive
    Show the answer

    Answer: B

    S3 Intelligent-Tiering watches how often each object is read and moves it between access tiers automatically, so unknown or changing patterns cost less without any work.

    • A. Not it: S3 Standard keeps every file at the same price, however rarely it is read.
    • B. Right: Intelligent-Tiering moves each file to a cheaper tier when it goes unread.
    • C. Not it: One Zone-IA is cheaper for files read rarely, but nothing moves files in or out of it for you, and it keeps them in one Availability Zone only.
    • D. Not it: Deep Archive suits files almost never read; files read every day would be slow and costly to get back.
  11. Question 11Cloud Technology and Services

    A web app should get more EC2 instances automatically when traffic rises, and lose them again when traffic falls. Which service does this?

    1. A. Elastic Load Balancing
    2. B. AWS Outposts
    3. C. Amazon CloudWatch Logs
    4. D. Amazon EC2 Auto Scaling
    Show the answer

    Answer: D

    Amazon EC2 Auto Scaling adds and removes instances to match demand, by rules or schedules you set.

    • A. Not it: a load balancer spreads traffic over the instances there are; it does not add or remove them.
    • B. Not it: Outposts brings AWS hardware into your own building.
    • C. Not it: CloudWatch Logs keeps and searches log files.
    • D. Right: Auto Scaling changes the number of instances with demand.
  12. Question 12Cloud Technology and ServicesChoose TWO

    A company wants to move its PostgreSQL database to a managed AWS service and keep using PostgreSQL. Which TWO services can run it? (Choose TWO.)

    1. A. Amazon DynamoDB
    2. B. Amazon RDS
    3. C. Amazon ElastiCache
    4. D. Amazon Aurora
    5. E. Amazon Neptune
    Show the answer

    Answer: B and D

    Amazon RDS runs PostgreSQL as a managed database, and Amazon Aurora has a PostgreSQL-compatible edition.

    • A. Not it: DynamoDB is a key-value and document database, not PostgreSQL.
    • B. Right: RDS offers PostgreSQL as one of its engines.
    • C. Not it: ElastiCache is an in-memory cache, not a PostgreSQL database.
    • D. Right: Aurora has an edition compatible with PostgreSQL.
    • E. Not it: Neptune is a graph database.
  13. Question 13Cloud Technology and Services

    A team of data scientists wants to build, train and deploy its own machine learning models on managed infrastructure. Which service fits?

    1. A. Amazon Rekognition
    2. B. Amazon SageMaker AI
    3. C. Amazon Polly
    4. D. Amazon Quick
    Show the answer

    Answer: B

    Amazon SageMaker AI is the service for building, training and deploying your own machine learning models.

    • A. Not it: Rekognition is a ready-made service for analysing pictures and video, not for training your own models from scratch.
    • B. Right: SageMaker AI covers building, training and deploying models.
    • C. Not it: Polly turns text into speech.
    • D. Not it: Amazon Quick is for business dashboards and analysis.
  14. Question 14Billing, Pricing, and Support

    A research lab runs long simulations that may be stopped at any moment and carry on later from a saved point. It wants the lowest price for the compute. Which way of paying fits?

    1. A. On-Demand Instances
    2. B. Dedicated Hosts
    3. C. Spot Instances
    4. D. A three-year Reserved Instance
    Show the answer

    Answer: C

    Spot Instances use spare capacity at a large discount, and AWS can take them back at short notice, which suits work that can be stopped and restarted.

    • A. Not it: On-Demand never gets interrupted but costs more than Spot.
    • B. Not it: Dedicated Hosts are whole physical servers for you, usually for licensing or rules; they are not the cheapest.
    • C. Right: interruptible work is what Spot's discount is for.
    • D. Not it: a three-year commitment suits steady, always-on work, not the lowest price for work that can stop.
  15. Question 15Billing, Pricing, and Support

    A company wants a designated Technical Account Manager from AWS, on the lowest-cost Support plan that includes one. Which plan should it choose?

    1. A. Basic
    2. B. AWS Business Support+
    3. C. AWS Unified Operations
    4. D. AWS Enterprise Support
    Show the answer

    Answer: D

    A designated Technical Account Manager starts with AWS Enterprise Support. Unified Operations has one too but costs more.

    • A. Not it: Basic is free and covers account and billing help, with no technical cases.
    • B. Not it: Business Support+ gives engineers at any hour but no Technical Account Manager.
    • C. Not it: Unified Operations includes one, but it is not the lowest-cost plan that does.
    • D. Right: Enterprise Support is the first plan with a designated Technical Account Manager.

Want the full course?

Every exam area, timed practice exams and a score per area. Free.

Join free

Independent practice questions. Not affiliated with, endorsed by, or sponsored by Amazon Web Services, Inc. or its affiliates. AWS and AWS Certified Cloud Practitioner are trademarks of Amazon.com, Inc. or its affiliates.