Course menuCLF-C02

Exams / CLF-C02 / Deploying and operating on AWS / Question 2

CLF-C02 practice question: Deploying and operating on AWS (2 of 2)

Cloud Technology and Services A free question from our original CLF-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.

Every week an administrator repeats the same 20 steps in the AWS Management Console to create snapshots and tidy up old resources. She wants to run these steps automatically from a shell script, without writing a full application. What should she use?

Choose one answer.

  1. A. The AWS Health Dashboard in the console
  2. B. Reports downloaded from AWS Artifact
  3. C. The AWS Command Line Interface (AWS CLI)
  4. D. Saved AWS Pricing Calculator estimates
Show the answer and explanation

Answer: C

  • A. Wrong: The Health Dashboard shows events that affect AWS services and your account. It does not run administration tasks.
  • B. Wrong: AWS Artifact provides compliance reports and agreements. It cannot perform administration steps.
  • C. Right: Correct. The AWS CLI runs AWS commands from a shell, so repetitive multi-step tasks can be scripted and scheduled.
  • D. Wrong: The Pricing Calculator estimates the cost of planned resources. It cannot run administration tasks.

Explanation

The AWS CLI exposes AWS service APIs as shell commands with the same capabilities as the console. Because the commands run in a shell, repetitive or multi-step administration tasks can be scripted, which saves time and avoids the errors that come from clicking through the console by hand. The console is better suited to occasional, one-off tasks.

Study

Keep practising

Answer questions with a score at the end, or practise just this topic with the explanation after each one. No sign-up needed.