
AWSCertified Developer - Associate
Domain 2Objective 1
Task 1: Implement Authentication And/or Authorization for Applications and AWS Services DVA-C02 Practice Questions (Page 4)
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 16–20
- 16
A developer has an IAM user that needs to access an S3 bucket in another AWS account. The developer has been given an IAM role ARN to assume. What is the correct way to make authenticated calls to S3 using the AWS CLI?
Select an answer first - 17
A developer is writing a script that runs on a local machine and needs to access AWS resources. The script is used by multiple developers. The security team wants to avoid storing long-term access keys in shared files. What is the recommended approach?
Select an answer first - 18
A developer is writing a script that runs on an EC2 instance and needs to read from an S3 bucket. The script currently uses an IAM user's access key stored in a configuration file. The security team wants to eliminate long-term credentials. What should the developer do?
Select an answer first - 19
A developer is building a serverless application using AWS Lambda. The Lambda function needs to write to a DynamoDB table. The developer wants to follow the principle of least privilege and avoid hardcoding any credentials. How should the function authenticate to DynamoDB?
Select an answer first - 20
A developer is implementing a REST API that uses bearer tokens for authentication. What is the primary purpose of the 'Bearer' token scheme in the HTTP Authorization header?
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.