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.
A developer is writing a Python application that must upload files to Amazon S3 and read items from Amazon DynamoDB as part of its normal logic. Which way of accessing AWS is designed for this?
Choose one answer.
- AA. The AWS Management Console in a web browser
- BB. An AWS SDK, such as the AWS SDK for Python (Boto3)
- CC. An AWS CloudFormation template for the bucket
- DD. AWS Trusted Advisor recommendations
Show the answer and explanation
Answer: B
- A. Wrong: The console is a web interface for people. Application code cannot use it to call AWS services.
- B. Right: Correct. The SDKs are language-specific libraries that let application code call AWS APIs directly.
- C. Wrong: CloudFormation provisions infrastructure from templates. It is not used by application code to read and write data at runtime.
- D. Wrong: Trusted Advisor gives best-practice recommendations. It does not provide a way for code to call AWS services.
Explanation
AWS offers several ways to work with its services. The Management Console suits people doing interactive or one-off tasks, the AWS CLI suits scripts run from a shell, CloudFormation suits repeatable infrastructure as code, and the AWS SDKs (for Python, Java, JavaScript, .NET and other languages) let applications call AWS APIs from their own code.
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.