Course menuCLF-C02

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

CLF-C02 practice question: Deploying and operating on AWS (1 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.

Last verified against current AWS documentation ·How we write our questions

A developer is building a Node.js service.

Each time a customer places an order, the code must save a receipt to Amazon S3 and write the order to Amazon DynamoDB.

Which way of working with AWS is designed for this?

Choose one answer.

  1. A. The AWS Management Console, opened in a web browser for each order
  2. B. An AWS SDK for JavaScript, called from the service's own code
  3. C. An AWS CloudFormation template that creates the bucket and the table
  4. D. AWS Trusted Advisor recommendations for the account
Show the answer and explanation

Answer: B

  • A. Wrong: The console is a web interface for people to use by hand. Application code cannot use it to save receipts or write orders on every purchase.
  • B. Right: Correct. The AWS SDKs are language-specific libraries that let application code call AWS APIs directly, so each order can save a receipt and write to DynamoDB. Learn more: What is covered in the AWS SDKs and Tools Reference Guide (opens in a new tab)
  • C. Wrong: CloudFormation creates and updates infrastructure from templates. It runs when stacks are deployed, not on every order at runtime.
  • D. Wrong: Trusted Advisor gives best-practice recommendations about the account. It does not give application code a way to call AWS services.

Explanation

AWS offers several ways to work with its services. The console suits people doing interactive tasks, the AWS CLI suits scripts, and CloudFormation suits repeatable infrastructure. The AWS SDKs let application code call AWS APIs from its own runtime logic, which is what this service needs.

Study

Keep practicing

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

Want more on Deploying and operating on AWS? The 5 full-length practice sets have 10 more Deploying and operating on AWS questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets