Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified Developer - Associate · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Those who select C and still think they are right - Should study more about unit test & integrate testing before AWS
A) Eliminated - This approach involves creating and destroying AWS resources (SQS, Lambda) for each test, which increases the time, complexity, and potential costs associated with running tests. B) Eliminated - t involves real AWS resources (SQS) C) Eliminated - Even though it's meant for testing, you're still using an actual AWS service (SQS) to conduct the test, making it less of a unit test and more of an integration test. D) Correct - You use the aws lambda invoke command to invoke the Lambda function directly during the test process, without needing to rely on actual resources like an SQS queue.
Unit testing is a type of testing that verifies the correctness of individual units of source code, typically functions or methods