AWS Certified Cloud Practitioner — Question 450
A company needs to test a new application that was written in Python. The code will activate when new images are stored in an Amazon S3 bucket. The application will put a watermark on each image and then will store the images in a different S3 bucket.
Which AWS service should the company use to conduct the test with the LEAST amount of operational overhead?
Answer options
- A. Amazon EC2
- B. AWS Code Deploy
- C. AWS Lambda
- D. Amazon Lightsail
Correct answer: C
Explanation
AWS Lambda is a serverless compute service that natively integrates with Amazon S3 event notifications, allowing the Python code to run automatically in response to image uploads with zero server administration. In contrast, Amazon EC2 and Amazon Lightsail require provisioning, configuring, and managing virtual servers, which increases operational overhead. AWS CodeDeploy is a deployment service used to automate software deployments, not a runtime environment for executing the application code itself.