
AWSCertified Developer - Associate
Domain 2Objective 1
Task 1: Implement Authentication And/or Authorization for Applications and AWS Services DVA-C02 Practice Questions (Page 2)
Part of the Content Domain 2: Security domain, which accounts for 26% of the DVA-C02 exam. AWS does not publish an official question count, but from its 130-minute exam (~50–85 total, ~13–22 in this domain), expect 4–7 from this objective — we provide 23 practice questions to prepare you well beyond it. (estimate)
23questions here
5free pages
8concepts
26%of the exam
Questions 6–10
- 6
A developer is building a web application that allows users to view and edit their own profile. The application uses a JWT for authentication. The developer needs to ensure that a user can only modify their own profile, not other users'. What is the best way to enforce this?
Select an answer first - 7
A developer is designing a microservices architecture on AWS. Service A needs to call Service B, which is an internal HTTP API. The developer wants to authenticate the call without managing user credentials. What is a secure and recommended method?
Select an answer first - 8
A company has a microservices architecture running on Amazon ECS. Service A needs to call Service B, which is behind an Application Load Balancer (ALB). The security team requires that Service B only accepts requests from Service A, not from any other client. The developer wants to avoid managing certificates or API keys. What is the most appropriate solution?
Select an answer first - 9
A developer is running a batch job on an EC2 instance that needs to access a Secrets Manager secret. The instance is already configured with an IAM role. What is the correct way to retrieve the secret in the code?
Select an answer first - 10
An application running on an EC2 instance needs to access an Amazon S3 bucket. The developer wants to avoid storing long-term AWS access keys on the instance. Which AWS feature should be used to grant the EC2 instance temporary credentials for this access?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by AWS. “DVA-C02” is a trademark of its owner, used for identification only.