AWSCloud Technology and Services

SDK & APIs — CLF-C02 Practice Question

A representative AWS Certified Cloud Practitioner (CLF-C02) exam question on SDK & APIs. 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 A. An AWS SDK, such as the AWS SDK for Python.

A is correct: an SDK gives code libraries that call AWS APIs from inside an application. B is wrong because the Console is a web interface for people, not for app code. C is wrong because AWS Outposts is infrastructure placed in your data center. D is wrong because CloudShell is a browser shell for interactive use, not a library for app code.

The Question

Marlow Tile Works runs an inventory app written in Python. The app must start and stop Amazon EC2 instances on its own based on order volume. Which AWS tool should the developers use inside the app code?

AAn AWS SDK, such as the AWS SDK for PythonCorrect
BThe AWS Management Console
CAWS Outposts
DAWS CloudShell

Why A is correct

A is correct: an SDK gives code libraries that call AWS APIs from inside an application. B is wrong because the Console is a web interface for people, not for app code. C is wrong because AWS Outposts is infrastructure placed in your data center. D is wrong because CloudShell is a browser shell for interactive use, not a library for app code.

Why the other options are wrong

Option B: The AWS Management Console

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

Option C: AWS Outposts

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

Option D: AWS CloudShell

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

Key idea: SDK & APIs

A is correct: an SDK gives code libraries that call AWS APIs from inside an application. B is wrong because the Console is a web interface for people, not for app code. C is wrong because AWS Outposts is infrastructure placed in your data center. D is wrong because CloudShell is a browser shell for interactive use, not a library for app code. 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.