AWSCloud Technology and Services

AWS CLI & Automation — CLF-C02 Practice Question

A representative AWS Certified Cloud Practitioner (CLF-C02) exam question on AWS CLI & Automation. Work through it below, then read why each option is right or wrong.

This question is part of the free AWS Certified Cloud Practitioner practice test.

Short answer

The correct answer is B. AWS Command Line Interface (AWS CLI).

B is correct: the AWS CLI lets you script AWS actions as commands, which suits scheduled automation. A is wrong because AWS Artifact gives access to compliance reports. C is wrong because AWS Marketplace is a catalog for buying third-party software. D is wrong because the Health Dashboard shows service health events and does not run commands.

The Question

An operations engineer at Cedar Ridge Dental needs a shell script that runs every night and creates snapshots of several Amazon EBS volumes. The engineer wants a command-line approach with no manual clicking. Which tool fits best?

AAWS Artifact
BAWS Command Line Interface (AWS CLI)Correct
CAWS Marketplace
DAWS Health Dashboard

Why B is correct

B is correct: the AWS CLI lets you script AWS actions as commands, which suits scheduled automation. A is wrong because AWS Artifact gives access to compliance reports. C is wrong because AWS Marketplace is a catalog for buying third-party software. D is wrong because the Health Dashboard shows service health events and does not run commands.

Why the other options are wrong

Option A: AWS Artifact

Option A does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (B) is the only one that fully meets every constraint stated in the question.

Option C: AWS Marketplace

Option C does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (B) is the only one that fully meets every constraint stated in the question.

Option D: AWS Health Dashboard

Option D does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (B) is the only one that fully meets every constraint stated in the question.

Key idea: AWS CLI & Automation

B is correct: the AWS CLI lets you script AWS actions as commands, which suits scheduled automation. A is wrong because AWS Artifact gives access to compliance reports. C is wrong because AWS Marketplace is a catalog for buying third-party software. D is wrong because the Health Dashboard shows service health events and does not run commands. On the CLF-C02 exam, questions in the "Cloud Technology and Services" domain test whether you can map a scenario's constraints to the right choice. Read the requirement carefully, eliminate options that violate any single constraint, and pick the one that satisfies all of them with the least operational overhead.

Ready to see how you'd score?

Take the free practice quiz and find out which AWS Certified Cloud Practitioner domains you need to focus on. No signup required.

Practice 5 similar questions

Same cert, same or adjacent domain. Use these after reviewing the explanation.

Related AWS Certified Cloud Practitioner Practice Questions

Official sources used

Verify program and exam details at the source before scheduling.