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.
A company needs to share their EBS volume snapshots with another AWS account securely. What should they do?
AChange snapshot permissions to public
BShare the snapshot via resource sharing
CShare using IAM roles only
DCopy the snapshot to S3
Explanation
Snapshot permissions can be shared with another account securely via resource sharing; others either expose it unnecessarily or are ineffective.
Q72
What happens when you configure an Auto Scaling Group to use a mixed instance type?
AOnly one instance type is used
BIt reduces cost automatically
CMultiple instance types can be utilized
DIt limits scaling to an instance type
Explanation
Mixed instance types allow flexibility and optimal utilization, while others limit or misrepresent its functionality.
Q73
Which service allows you to run code in response to events?
AAWS Lambda
BAmazon EC2
CAmazon RDS
DAmazon S3
Explanation
AWS Lambda is designed for event-driven code execution, unlike the others which are used for compute or storage purposes.
Q74
A company needs highly available storage with automatic synchronization. Which service should they use?
AAWS EFS
BAWS S3
CAWS Glacier
DAmazon Redshift
Explanation
AWS EFS provides shared, highly available storage, while S3 is for object storage without synchronization between instances.
Q75
You are configuring an IAM policy that allows read access to specific S3 buckets. What happens if the user has deny access from another policy?
AAccess is granted.
BAccess is denied.
CAccess depends on S3 settings.
DAccess must be requested again.
Explanation
IAM operates on the principle of least privilege, so explicit denies take precedence over allows.
Q76
Which AWS service provides fully managed event-driven computing?
AAWS Lambda
BAWS EC2
CAWS S3
DAWS CloudFormation
Explanation
AWS Lambda allows you to run code in response to events without managing servers, unlike EC2 which needs provisioning.
Q77
A company needs to restrict access to an S3 bucket based on user attributes. Which AWS feature should they use?
AIAM Policies
BBucket Policies
CS3 Access Points
DIAM Roles
Explanation
IAM Policies can specify conditions that allow user attribute-based restrictions, unlike the other options that are less flexible.
Q78
You are configuring a DynamoDB table. What happens if you exceed your provisioned write capacity?
AWrites are throttled
BWrites succeed with additional charges
CTable is deleted
DRead capacity is affected
Explanation
Exceeding provisioned write capacity leads to throttling of writes, while other options do not accurately describe the behavior.
Q79
Which service provides a fully managed NoSQL database?
AAmazon DynamoDB
BAmazon RDS
CAmazon ElastiCache
DAmazon Redshift
Explanation
DynamoDB is a NoSQL service; RDS is for SQL databases.
Q80
You are configuring cross-region replication for an S3 bucket. What must you enable first?
AS3 Versioning
BS3 Transfer Acceleration
CAWS Global Accelerator
DS3 Lifecycle Policy
Explanation
Versioning must be enabled for cross-region replication.