The AWS Certified Developer – Associate (DVA-C02) exam tests your proficiency in developing applications on AWS. It is designed for developers looking to validate their skills in AWS development.
You are configuring an AWS IAM policy. What happens when you declare multiple 'Deny' statements?
APrioritize the first deny
BBlock all actions unless overridden
CThey cancel each other out
DAll rules combine for less access
Explanation
Multiple 'Deny' statements block actions unless overridden by explicit 'Allow', while the other options misinterpret IAM behavior.
Q162
A company needs to keep frequently accessed data in a cost-effective manner. Which storage class should they use for Amazon S3?
AS3 Standard
BS3 Glacier
CS3 Intelligent-Tiering
DS3 One Zone-IA
Explanation
S3 Standard is best for frequently accessed data; Glacier is for archival, Intelligent-Tiering for unpredictable access, and One Zone-IA is for lower availability requirements.
Q163
Which service provides a managed NoSQL database solution?
AAmazon DynamoDB
BAmazon S3
CAmazon RDS
DAmazon Redshift
Explanation
DynamoDB is designed for NoSQL, while others are for relational or data warehouse solutions.
Q164
A company needs to automate deployment of applications. Which AWS service should they use?
AAWS CodeDeploy
BAWS Lambda
CAWS CloudFormation
DAmazon EC2
Explanation
AWS CodeDeploy automates deployment, while others serve different purposes.
Q165
What happens when you delete an Amazon S3 bucket with lifecycle policies?
ALifecycle policies remain active
BBucket is deleted with policies
CPolicies are copied to another bucket
DPolicies are disabled, bucket deleted
Explanation
Deletion of the bucket also removes all associated lifecycle policies.
Q166
Which service is best for managing application secrets securely?
AAWS Secrets Manager
BAWS Lambda
CAWS CloudFormation
DAWS CodeDeploy
Explanation
AWS Secrets Manager is designed for managing secrets securely, while the other options serve different purposes in AWS.
Q167
A company needs to run a containerized application on AWS with minimal management. Which service should they use?
AAmazon EC2
BAmazon ECS
CAmazon S3
DAmazon RDS
Explanation
Amazon ECS simplifies container management, while EC2 requires more manual management and the others do not handle containers.
Q168
What happens when you assign an IAM role to an EC2 instance?
AInstance connects to VPC only
BRole allows instance AWS API access
CInstance gains additional CPU power
DRole affects data stored on EBS
Explanation
IAM roles grant EC2 instances permissions to AWS APIs, while the other options are incorrect regarding IAM role functionality.
Q169
Which service helps manage sensitive data for applications?
AAWS Secrets Manager
BCloudTrail
CEC2
DCloudFormation
Explanation
AWS Secrets Manager securely stores sensitive data, while others do not focus on secrets management.
Q170
A company needs to automatically scale its EC2 instances based on demand. Which service should they use?
AAWS Auto Scaling
BAWS CloudWatch
CAWS Lambda
DAWS EC2 Resource Tagging
Explanation
AWS Auto Scaling enables automatic scaling; the others do not provide this capability directly.