Amazon AWS Certified Developer - Associate (DVA-C02)
Get full access to the updated question bank and confidently prepare for your exam.
Vendor
Amazon
Certification
Associate Certifications
Content
614 Qs
Status
Verified
Updated
2 days ago
Test the Practice Engine
Experience our interactive testing environment with free demo questions
Premium Bundle
Complete Success Suite
Save $44 Instantly
-
โFull PDF + Interactive Engine Everything you need to pass
-
โAll Advanced Question Types Drag & Drop, Hotspots, Case Studies
-
โPriority 24/7 Expert Support Direct line to certification leads
-
โ90 Days Free Priority Updates Stay current as exams change
Success Metric
98.4% Pass Rate
Standard Simulation
Practice Engine
One-Time Payment
-
Web-Based (Zero Install)
-
Real Testing Environment Virtual & Practice Modes
-
Interactive Engine Drag & Drop, Hotspots
-
60 Days Free Updates
Compatible with All Devices
Basic Tier
PDF Study Guide
Digital Access
- โ Exam Questions (PDF)
- โ Mobile Friendly
- โ 60 Days Updates
Verified 100-Question Preview (DVA-C02)
Verified Community
The CertoMetrics Standard.
Recommend the #1 platform for verified Amazon certification resources.
Success Network
Help a Colleague Succeed.
Invite a peer to get their own updated DVA-C02 prep kit.
Exam Overview
The AWS Certified Developer - Associate (DVA-C02) certification validates a developer's ability to write, deploy, and debug cloud-based applications using AWS. This credential signifies a deep understanding of core AWS services, their interactions, and best practices for developing secure, scalable, and resilient applications. Earning this certification empowers developers to accelerate their careers, demonstrating proficiency in leveraging AWS to innovate and solve complex technical challenges. It proves an individual's practical skills in developing and maintaining applications on the AWS platform, making them a highly valuable asset in any organization adopting cloud technologies. This certification is a critical step for developers aiming to solidify their expertise in the rapidly evolving cloud landscape.
Questions
65
Passing Score
700/1000
Duration
130 Minutes
Difficulty
Intermediate
Level
Associate
Skills Measured
Career Path
Target Roles
Common Questions
Is the material up to date?
Yes. We update our question bank weekly to match the latest Amazon standards. You get free updates for 90 days.
What format do I get?
You get instant access to both the **PDF** (for reading) and our **Premium Test Engine** (for exam simulation).
Is there a guarantee?
Absolutely. If you fail the DVA-C02 exam using our materials, we offer a full money-back guarantee.
When do I get the download?
Instantly. The download link is available in your dashboard immediately after payment is confirmed.
Free Study Guide Samples
Previewing updated DVA-C02 bank (100 Questions).
A developer is creating a service that uses an Amazon S3 bucket for image uploads. The service will use an AWS Lambda function to create a thumbnail of each image. Each time an image is uploaded, the service needs to send an email notification and create the thumbnail. The developer needs to configure the image processing and email notifications setup.
Which solution will meet these requirements?
Correct Option: A
A developer adds new dependencies to an existing AWS Lambda function. The developer cannot deploy the Lambda function because the unzipped deployment package exceeds the maximum size quota for the Lambda function. The Instruction set architecture of the Lambda function is x86_64.
The developer must implement a solution to deploy the Lambda function with the new dependencies.
Which solution will meet these requirements?
Correct Option: D
A developer is working on a web application that uses Amazon DynamoDB as its data store. The application has two DynamoDB tables: one table that is named artists and one table that is named songs. The artists table has artistName as the partition key. The songs table has songName as the partition key and artistName as the sort key.
The table usage patterns include the retrieval of multiple songs and artists in a single database operation from the webpage. The developer needs a way to retrieve this information with minimal network traffic and optimal application performance.
Which solution will meet these requirements?
Correct Option: A
A developer is building a microservice that uses AWS Lambda to process messages from an Amazon Simple Queue Service (Amazon SQS) standard queue The Lambda function calls external APIs to enrich the SQS message data before loading the data into an Amazon Redshift data warehouse. The SQS queue must handle a maximum of 1,000 messages per
During initial testing, the Lambda function repeatedly inserted duplicate data into the Amazon Redshift table. The duplicate data led to a problem with data analysis. All duplicate messages were submitted to the queue within 1 minute of each other.
How should the developer resolve this issue?
Correct Option: A
A company is running Amazon EC2 instances in multiple AWS accounts. A developer needs to implement an application that collects all the lifecycle events of the EC2 instances. The application needs to store the lifecycle events in a single Amazon Simple Queue Service (Amazon SQS) queue in the company's main AWS account for further processing.
Which solution will meet these requirements?
Correct Option: D
A developer is working on an AWS Lambda function. The developer notices that the Lambda function's logs do not appear in Amazon CloudWatch Logs
How should the developer resolve this issue?
Correct Option: D
An online food company provides an Amazon API Gateway HTTP API to receive orders for partners. The API is integrated with an AWS Lambda function. The Lambda function stores the orders in an Amazon DynamoDB table.
The company expects to onboard additional partners. Some of the partners require additional Lambda functions to receive orders. The company has created an Amazon S3 bucket. The company needs to
store all orders and updates in the S3 bucket for future analysis.
How can the developer ensure that all orders and updates are stored to Amazon S3 with the LEAST development effort?
Correct Option: C
A developer has written a distributed application that uses microservices. The microservices are running on Amazon EC2 instances, Because of message volume, the developer is unable to match log output from each microservice to a specific transaction. The developer needs to analyze the message flow to debug the application.
Which combination of steps should the developer take to meet this requirement? (Select TWO.)
Correct Option: A,D
A company is developing an ecommerce application that uses Amazon API Gateway APIs. The application uses AWS Lambda as a backend. The company needs to test the code in a dedicated, monitored test environment before the company releases the code to the production environment.
Which solution will meet these requirements?
Correct Option: C
A company has a web application that contains an Amazon API Gateway REST API, A developer has created an AWS CloudFormation template for the initial deployment of the application. The developer has deployed the application successfully as part of an AWS CodePipeIine continuous integration and continuous delivery (CIICD) process. All resources and methods are available through the deployed stage endpoint.
The CloudFormation template contains the following resource types:
โข AWS::ApiGateway::RestAp1
โข AWS::ApiGateway::Resource
โข AWS::ApiGateway::Method
โข AWS::ApiGateway::Stage
โข AWS::ApiGateway::Deployment
The developer adds a new resource to the REST API with additional methods and redeploys the template- CloudFormation reports that the deployment is successful and that the stack is in the UPDATE COMPLETE state. However, calls to all new methods are returning 404 (Not Found) errors.
What should the developer do to make the new methods available?
Correct Option: C
A developer is writing unit tests a new application that will be deployed on AWS. The developer wants to validate all pull requests with unit tests and merge the code with the main branch only when all tests pass.
The developer stores the code in AWS CodeCommit and sets up AWS CodeBuild to run the unit tests. The developer creates an AWS Lambda function to start the CodeBuild task. The developer needs to identity the CodeCommit events an Amazon EventBridge event that can invoke the Lambda function when a pull request is created or updated.
Which CodeCommit event will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company has implemented a pipeline in AWS CodePipeline. The company is using a single AWS account and does not use AWS Organizations. The company needs to test its AWS CloudFormation templates in its primary AWS Region and a disaster recovery Region.
Which solution will meet these requirements with the MOST operational efficiency?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is writing an AWS Lambda function. The developer wants to key events that occur while the function runs. The wants to include a unique identifier to associate the events with a specific function. The developer adds the following code to the function:

Which solution will meet this requirement?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer must cache dependent artifacts from Maven Central, a public package repository. as part of an application's build pipeline. The build pipeline has an AWS CodeArtifact repository where artifacts of the build are published. The developer needs a solution that requires minimum changes to the build pipeline.
Which solution meets these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is building a new application on AWS. The application uses an AWS Lambda function that retrieves information from an Amazon DynamoDB table. The developer hard coded the DynamoDB table name into the Lambda function code. The table name might change over time. The developer does not want to modify the code if the table name changes.
Which solution will meet these requirements MOST efficiently?
Premium Solution Locked
Unlock all 614 answers & explanations
A company has an application that processes audio files for different departments. When aud10 files are saved to an Amazon S3 bucket, an AWS Lambda function receives an event notification and processes the audio input.
A developer needs to update the solution so that the application can process the audio files for each department independently. The application must publish the audio file location for each department to each department's existing Amazon Simple Queue Service (Amazon SQS) queue,
Which solution will meet these requirements with no changes to the Lambda function code?
Premium Solution Locked
Unlock all 614 answers & explanations
A company wants to share information with a third party. The third party has an HTTP API endpoint that the company can use to share the information. The company has the required API key to access the HTTP API.
The company needs a way to manage the API key by using code. The integration of the API key with the application code cannot affect application performance.
Which solution will meet these requirements MOST securely?
Premium Solution Locked
Unlock all 614 answers & explanations
A large company has its application components distributed across multiple AWS accounts. The company needs to collect and visualize trace data across these accounts.
What should be used to meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company is building a serverless application that uses AWS Lambda functions. The company needs to create a set of test events to test Lambda functions in a development environment. The test events will be created once and then will be used by all the developers in an IAM developer group. The test events must be editable by any of the IAM users in the IAM developer group.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company's application includes an Amazon DynamoDB table for product orders. The table has a primary partition key of orderld and has no sort key. The company is adding a new feature that requires the application to query the table by using the customerld attribute.
Which solution will provide this query functionality?
Premium Solution Locked
Unlock all 614 answers & explanations
A company stores its data in data tables in a series of Amazon S3 buckets. The company received an alert that customer credit card information might have been exposed in a data table on one of the company's public applications. A developer needs to identify all potential exposures within the application environment.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is troubleshooting a three-tier application, which is deployed on Amazon EC2 instances. There is a connectivity problem between the application servers and the database servers.
Which AWS services or tools should be used to identify the faulty component? (Select TWO.)
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is using an AWS Lambda function to generate avatars for profile pictures that are uploaded to an Amazon S3 bucket. The Lambda function is automatically invoked for profile pictures that are saved under the /original/ S3 prefix. The developer notices that some pictures cause the Lambda function to time out. The developer wants to implement a fallback mechanism by using another function that resizes the profile picture.
Which solution will meet these requirements with the LEAST development effort?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is building an image-processing application that includes an AWS Lambda function. The Lambda function moves images from one AWS service to another AWS service for image processing. For images that are larger than 2 MB, the Lambda function returns the following error "Task timed out after 3.01 seconds."
The developer needs to resolve the error without modifying the Lambda function code.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company hosts a batch processing application on AWS Elastic Beanstalk with instances that run the most recent version of Amazon Linux. The application and processes large datasets.
In recent weeks, the application's performance has decreased significantly during a peak period for traffic. A developer suspects that the application issues are related to the memory usage. The developer checks the Elastic Beanstalk console and notices that memory usage is not being tracked.
How should the developer gather more information about the application performance issues?
Premium Solution Locked
Unlock all 614 answers & explanations
A development team has an Amazon API Gateway REST API that is backed by an AWS Lambda function.
Users have reported performance issues for the Lambda function. The development team identified the source of the issues as a cold start of the Lambda function. The development team needs to reduce the time needed for the Lambda function to initialize.
Which solution will meet this requirement?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer needs to create an application that supports Security Assertion Markup Language (SAML) and authentication with social media providers. It must also allow access to AWS services, such as Amazon DynamoDB.
Which AWS service or feature will meet these requirements with the LEAST amount of additional coding?
Premium Solution Locked
Unlock all 614 answers & explanations
An application interacts with Amazon Aurora to store and track customer information. The primary database is set up with multiple read replicas for improving the performance of the read queries. However. one of the Aurora replicas is receiving most or all of the traffic, while the other Aurora replica remains idle.
How can this issue be resolved?
Premium Solution Locked
Unlock all 614 answers & explanations
A Development team decides to adopt a continuous integration/continuous delivery (CI/CD) process using AWS CodePipeline and AWS CodeCommit for a new application. However, management wants a person to review and approve the code before it is deployed to production.
How can the Development team add a manual approver to the CI/CD pipeline?
Premium Solution Locked
Unlock all 614 answers & explanations
A company is building an application to accept data from customers. The data must be encrypted at rest and in transit.
The application uses an Amazon API Gateway API that resolves to AWS Lambda functions. The Lambda functions store the data in an Amazon Aurora MySQL DB cluster. The application worked property during testing.
A developer configured an Amazon CloudFront distribution with field-level encryption that uses an AWS Key Management Service (AWS KMS) key. After the configuration of the distribution, the application behaved unexpectedly. All the data in the database changed from plaintext to ciphertext
The developer must ensure that the data is not stored in the database as the ciphertext from the CloudFront field-level encryption.
Which solution will meet this requirement?
Premium Solution Locked
Unlock all 614 answers & explanations
A company has an application that writes files to an Amazon S3 bucket. Whenever there is a new file, an S3 notification event invokes an AWS Lambda function to process the file. The Lambda function code works as expected. However, when a developer checks the Lambda function logs, the developer finds that multiple invocations occur for every file.
What is causing the duplicate entries?
Premium Solution Locked
Unlock all 614 answers & explanations
Users receive occasional HTTP 500 internal server errors from an application that includes an AWS Lambda function. A developer has identified an unhandled exception that produces the errors-
The log statements in the Lambda function's code occur immediately before where the exception occurs. All exceptions are logged. The Lambda function writes its log messages to a log group in Amazon CloudWatch Logs,
The developer must implement a solution to track the frequency of the log messages from immediately before the exception and during the exception. The solution must track the frequency of log messages in near real time.
Which solution will meet these requirements with the LEAST development effort?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is writing an AWS Lambda function. The developer wants to log key events that occur during the Lambda function and include a unique identifier to associate the events with a specific function invocation.
Which of the following will help the developer accomplish this objective?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is writing a web application that must share secure documents with end users. The documents are stored in a private Amazon S3 bucket. The application must allow only authenticated users to download specific documents when requested, and only for a duration of 15 minutes-
How can the developer meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A development team has been using a builder server that is hosted on an Amazon EC2 instance to perform builds and deployments for the last 3 months. The EC2 instance's instance profile uses an IAM role that contains the Administrator Access managed policy. The development team must replace that policy with a policy that provides only the required permissions.
What is the FASTEST way to create a custom 1AM policy for the EC2 instance to meet this requirement?
Premium Solution Locked
Unlock all 614 answers & explanations
A company runs an application on Amazon EC2 instances in an Auto Scaling group. The application experiences variable loads throughout each day.
The company needs to collect detailed metrics from the EC2 instances to right-size the instances. The company also wants to monitor custom application metrics to ensure the application is performing efficiently
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer has created a Java application that makes HTTP requests directly to AWS services. Application logging shows 5xx HTTP response codes that occur at irregular intervals. The errors are affecting users.
How should the developer update the application to improve the application's resiliency?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is implementing a serverless application by using AWS CloudFormation to provision Amazon S3 web hosting. Amazon API Gateway, and AWS Lambda functions, The Lambda function source code is zipped and uploaded to an S3 bucket. The S3 object key of the zipped source code is specified in the Lambda resource in the CloudFormation template.
The developer notices that there are no changes in the Lambda function every time the CloudFormation stack is updated.
How can the developer resolve this issue?
Premium Solution Locked
Unlock all 614 answers & explanations
A company has an application that runs on AWS Elastic Beanstalk in a load-balanced environment. The company needs to update the instance types in the environment to a more recent generation of instance types. The company must minimize downtime during the deployment of this configuration change.
Which deployment options will meet these requirements? (Choose two.)
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is designing an event-driven architecture. An AWS Lambda function that processes data needs to push processed data to a subset of four consumer Lambda functions, The data must be routed based on the value of one field in the data.
Which solution will meet these requirements with the LEAST operational overhead?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer deploys an AWS Lambda function that runs each time a new Amazon S3 bucket is created. The Lambda function is supposed to attach an S3 Lifecycle policy to each new S3 bucket. The developer discovers that newly created S3 buckets have no S3 Lifecycle policy attached.
Which AWS service should the developer use to find a possible error in the Lambda function?
Premium Solution Locked
Unlock all 614 answers & explanations
A company is developing a serverless application by using AWS Lambda functions. One of the Lambda functions needs to access an Amazon RDS DB instance. The DB instance is in a private subnet inside a VPC.
The company creates a role that includes the necessary permissions to access the DB instance. The company then assigns the role to the Lambda function. A developer must take additional action to give the Lambda function access to the DB instance.
What should the developer do to meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is creating a serverless application that uses an AWS Lambda function. The developer will use AWS CloudFormation to deploy the application The application will write logs to Amazon CloudWatch Logs. The developer has created a log group in a CloudFormation template for the application to use. The developer needs to modify the CloudFormation template to make the name of the log group available to the application at runtime.
Which solution will meet this requirement?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is deploying an application on an Amazon Elastic Container Service (Amazon ECS) cluster that uses AWS Faregate. The developer is using a Docker container with an Ubuntu image.
The developer needs to implement a solution to store application data that is available from multiple ECS tasks. The application data must remain accessible after the container is terminated.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is building a serverless application by using AWS Serverless Application Model (AWS SAM) on multiple AWS Lambda functions. When the application is deployed, the developer wants to shift 10% of the traffic to the new deployment of the application for the first 10 minutes after deployment. If there are no issues, all traffic must switch over to the new version.
Which change to the AWS SAM template will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer manages encryption keys in AWS Key Management Service (AWS KMS). The developer must ensure that all encryption keys can be deleted immediately when the keys are no longer required. The developer wants a solution that is highly available and does not require manual management for compute infrastructure.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company recently deployed an AWS Lambda function. A developer notices an increase in the function throttle metrics in Amazon CloudWatch.
What are the MOST operationally efficient solutions to reduce the function throttling? (Select TWO.)
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is building an application that includes an AWS Lambda function that is written in .NET Core. The Lambda functionโs code needs to interact with Amazon DynamoDB tables and Amazon S3 buckets. The developer must minimize the Lambda functionโs deployment time and invocation duration.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer needs to troubleshoot an AWS Lambda function in a development environment. The Lambda function is configured in VPC mode and needs to connect to an existing Amazon RDS for SQL Server DB instance. The DB instance is deployed in a private subnet and accepts connections by using port 1433.
When the developer tests the function. the function reports an error when it tries to connect to the database.
Which combination of steps should the developer take to diagnose this issue? (Select TWO.)
Premium Solution Locked
Unlock all 614 answers & explanations
A developer IS creating a stock trading application. The developer needs a solution to send text messages to application users to confirmation when a trade has been completed.
The solution must deliver messages in the order a user makes stock trades. The solution must not send duplicate messages.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is preparing to begin development of a new version of an application. The previous version of the application is deployed in a production environment. The developer needs to deploy fixes and updates to the current version during the development of the new version of the application. The code for the new version of the application is stored in AWS CodeCommit.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer created several AWS Lambda functions that write data to a single Amazon S3 bucket. The developer configured all the Lambda functions to send logs and metrics to Amazon CloudWatch.
The developer receives reports that one of the Lambda functions writes data to the bucket very slowly. The developer needs to measure the latency between the problematic Lambda function and the S3 bucket.
Which solution will meet this requirement?
Premium Solution Locked
Unlock all 614 answers & explanations
A company requires that all applications running on Amazon EC2 use IAM roles to gain access to AWS services. A developer is modifying an application that currently relies on IAM user access keys stored in environment variables to access Amazon DynamoDB tables using boto, the AWS SDK for Python.
The developer associated a role with the same permissions as the IAM user to the EC2 instance, then deleted the IAM user. When the application was restarted. the AWS AccessDeniedException messages started appearing in the application logs. The developer was able to use their personal account on the server to run DynamoDB API commands using the AWS CLI.
What is the MOST likely cause of the exception?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is building a three-tier web application that should be able to handle a minimum of 5000 requests per minute. Requirements state that the web tier should be completely stateless while the
application maintains session state for the users.
How can session data be externalized, keeping latency at the LOWEST possible value?
Premium Solution Locked
Unlock all 614 answers & explanations
An developer is building a serverless application by using the AWS Serverless Application Model (AWS SAM). The developer is currently testing the application in a development environment. When the application is nearly finished, the developer will need to set up additional testing and staging environments for a quality assurance team.
The developer wants to use a feature of the AWS SAM to set up deployments to multiple environments.
Which solution will meet these requirements with the LEAST development effort?
Premium Solution Locked
Unlock all 614 answers & explanations
A gaming company has deployed a web portal on AWS Elastic Beanstalk. The company sometimes needs to deploy new versions three or four times in a day. The company needs to deploy new features for
all users as quickly as possible. The solution must minimize performance impact and must maximize availability.
What solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is planning to migrate on-premises company data to Amazon S3. The data must be encrypted, and the encryption keys must support automatic annual rotation.
The company must use AWS Key Management Service (AWS KMS) to encrypt the data.
Which type of keys should the developer use to meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is working on a new authorization mechanism for an application. The developer must create an Amazon API Gateway API and must test JSON Web
Token (JWT) authorization on the API.
The developer must use the built-in authorizer and must avoid managing the code with custom logic. The developer needs to define an API route that is available at auth to test the authorizer configuration.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company has an application that runs as a series of AWS Lambda functions. Each Lambda function receives data from an Amazon Simple Notification Service (Amazon SNS) topic and writes the data to an Amazon Aurora DB instance.
To comply with an information security policy, the company must ensure that the Lambda functions all use a single securely encrypted database connection string to access Aurora.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company is developing a new application that uses Amazon EC2, Amazon S3, and AWS Lambda resources. The company wants to allow employees to access the AWS Management Console by using existing credentials that the company stores and manages in an on-premises Microsoft Active Directory. Each employee must have a specific level of access to the AWS resources that is based on the employee's role.
Which solution will meet these requirements with the LEAST operational overhead?
Premium Solution Locked
Unlock all 614 answers & explanations
An IT department uses Amazon S3 to store sensitive images. After more than 1 year, the company moves the images into archival storage. The company rarely accesses the images, but the company wants a storage solution that maximizes resiliency. The IT department needs access to the images that have been moved to archival storage within 24 hours.
Which solution will meet these requirements MOST cost-effectively?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is building an application that will process messages from an Amazon Simple Queue Service (Amazon SQS) standard queue. The application needs to process the messages in an Amazon Elastic Container Service (Amazon ECS) task.
Which actions will result in the MOST cost-effective processing of the messages? (Select TWO.)
Premium Solution Locked
Unlock all 614 answers & explanations
A company has an existing application that has hardcoded database credentials. A developer needs to modify the existing application. The application is deployed in two AWS Regions with an active-passive failover configuration to meet company's disaster recovery strategy.
The developer needs a solution to store the credentials outside the code. The solution must comply with the companyโs disaster recovery strategy.
Which solution will meet these requirements in the MOST secure way?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is troubleshooting the permissions of an application that needs to make changes to an Amazon RDS database, The developer has access to the IAM role that the application is using.
Which command structure should the developer use to test the role permissions?
Premium Solution Locked
Unlock all 614 answers & explanations
A company uses Amazon API Gateway to expose a set of APIs to customers. The APIs have caching enabled in API Gateway. Customers need a way to invalidate the cache for each API when they test the API.
What should a developer do to give customers the ability to invalidate the API cache?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is updating the code for an AWS Lambda function to add new capabilities. The Lambda function has version aliases for production and development environments that run separate versions of the function. The developer needs to configure a staging environment for the Lambda function to handle invocations to both the development version and the production version.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
An AWS Lambda function is running in a company's shared AWS account. The function needs to perform an additional ec2:Describelnstances action that is directed at the company's development accounts. A developer must configure the required permissions across the accounts.
How should the developer configure the permissions to adhere to the principle of least privilege?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer manages an application that writes customer orders to an Amazon DynamoDB table. The orders use customer_id as the partition key, order_id as the sort of key, and order_date as an attribute. A new access pattern requires accessing data by order_date and order_id. The developer needs to implement a new AWS Lambda function to support the new access pattern.
How should the developer support the new access pattern in the MOST operationally efficient way?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is creating a machine learning (ML) pipeline in AWS Step Functions that contains AWS Lambda functions. The developer has configured an Amazon Simple Queue Service (Amazon SQS) queue to deliver ML model parameters to the ML pipeline to train ML models. The developer uploads the trained models are uploaded to an Amazon S3 bucket.
The developer needs a solution that can locally test the ML pipeline without making service integration calls to Amazon SQS and Amazon S3.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
Two containerized microservices are hosted on Amazon EC2 ECS. The first microservice reads an Amazon RDS Aurora database instance, and the second microservice reads an Amazon DynamoDB table.
How can each microservice be granted the minimum privileges?
Premium Solution Locked
Unlock all 614 answers & explanations
A company is migrating its PostgreSQL database into the AWS Cloud. The company wants to use a database that Will secure and regularly rotate database credentials. The company wants a solution that does not require additional programming overhead.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company has an Amazon DynamoDB table that contains records of users that have signed up for a trial of the company's product, The company is using a spreadsheet to track data about the product trial. The company needs to ensure the spreadsheet is automatically updated with the latest information when
individual trials begin, are updated, or finish.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company has a serverless application on AWS that uses a fleet of AWS Lambda functions that have aliases. The company regularly publishes new Lambda function by using an in-house deployment solution. The company wants to improve the release process and to use traffic shifting. A newly published function version should initially made available only to a fixed percentage of production users.
Which solution Will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is deploying an application on Amazon EC2 instances that run in Account A. The application needs to read data from an existing Amazon Kinesis data stream in Account B.
Which actions should the developer take to provide the application with access to the stream? (Choose two.)
Premium Solution Locked
Unlock all 614 answers & explanations
A developer has created a large AWS Lambda function. Deployment of the function IS falling because of an InvalidParameterValueException error. The error message indicates that the unzipped size of the function exceeds the maximum supported value.
Which actions can the developer take to resolve this error? (Select TINO.)
Premium Solution Locked
Unlock all 614 answers & explanations
An application that is running on Amazon EC2 instances stores data in an Amazon S3 bucket. All the data must be encrypted in transit.
How can a developer ensure that all traffic to the S3 bucket is encrypted?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is updating the production version of an AWS Lambda function to fix a defect. The developer has tested the updated code in a test environment. The developer wants to slowly roll out the updates to a small subset of production users before rolling out the changes to all users. Only 10% of the users should be initially exposed to the new code in production.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
An AWS Lambda function generates a 3 MB JSON file and then uploads it to an Amazon S3 bucket daily, the file contains sensitive information, so the developer must ensure that it is encrypted before uploading to the bucket.
Which of the following modifications should the developer make to ensure that the data is encrypted before uploading it to the bucket?
Premium Solution Locked
Unlock all 614 answers & explanations
An application that runs on AWS receives messages from an Amazon Simple Queue Service (Amazon SQS) queue and processes the messages in batches. The application sends the data to another SQS queue to be consumed by another legacy application. The legacy system can take up to 5 minutes to process some transaction data.
A developer wants to ensure that there are no out-of-order updates in the legacy system. The developer cannot alter the behavior of the legacy system.
Which solution Will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company has an application that runs on Amazon EC2 instances. The application needs to use dynamic feature flags that will be shared with other applications. The application must poll on an interval for new feature flag values. The values must be cached when they are retrieved.
Which solution will meet these requirements in the MOST operationally efficient way?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is working on an application that processes operating data from IoT devices. Each IoT device uploads a data file once every hour to an Amazon S3 bucket. The developer wants to immediately process each data file when the data file is uploaded to Amazon S3.
The developer will use an AWS Lambda function to process the data files from Amazon S3. The Lambda function is configured with the S3 bucket information where the files are uploaded. The developer wants to configure the Lambda function to immediately invoke after each data file is uploaded.
Which solution Will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer created an AWS Lambda function named Process Messages. The Lambda function is invoked asynchronously when a message is published to an Amazon Simple Notification Service (Amazon SNS) topic named Input Topic. The developer uses a second SNS topic named Error Topic to handle alerts of failures for other services.
The developer wants to receive notifications from the Error Topic SNS topic when the Process Messages Lambda function fails to process a message.
Which solution will meet this requirement?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer must provide an API key to an AWS Lambda function to authenticate with a third-party system. The Lambda function Will run on a schedule. The developer needs to ensure that the API key remains encrypted at rest.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer has an application that uses AWS Security Token Service (AWS STS). The application calls the STS Assume Role API operation to provide trusted users with temporary security credentials. The application calls AWS STS at the service's default endpoint: https:/fsts.amazonaws.com.
The application is deployed in an Asia Pacific AWS Region. The application is experiencing errors that are related to intermittent latency when the application calls AWS STS.
What should the developer do to resolve this issue?
Premium Solution Locked
Unlock all 614 answers & explanations
An application uses AWS X-Ray to generate a large amount of trace data on an hourly basis. A developer wants to use filter expressions to limit the returned results through user-specified custom attributes.
How should the developer use filter expressions to filter the results in X-Ray?
Premium Solution Locked
Unlock all 614 answers & explanations
A company is hosting an Amazon API Gateway REST API that calls a single AWS Lambda function. The function is infrequently invoked by multiple clients at the
same time. The code performance is optimal, but the company wants to optimize the startup time of the function.
What can a developer do to optimize the initialization of the function?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer wants to reduce risk when deploying a new version of an existing AWS Lambda function. To test the Lambda function, the developer needs to split the traffic between the existing version and the new version of the Lambda function.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
A company stores customer credit report in an Amazon S3 bucket. An analytics service uses standard Amazon S3 GET requests to access the reports, A developer must implement a solution to redact personally identifiable information (PII) from the reports before the reports reach the analytics service.
Which solution will meet this requirement with the MOST operational efficiency?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer created a web API that receives requests by using an internet-facing Application Load Balancer (ALB) with an HTTPS listener. The developer configures an Amazon Cognito user pool and wants to ensure that every request to the API is authenticated through Amazon Cognito.
What should the developer do to meet this requirement?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is creating an AWS Lambda function that needs network access to private resources in a VPC.
Which solution will provide this access with the LEAST operational overhead?
Premium Solution Locked
Unlock all 614 answers & explanations
A web application is using Amazon Kinesis Streams for clickstream data that may not be consumed for up to 12 hours.
How can the Developer implement encryption at rest for data within the Kinesis Streams?
Premium Solution Locked
Unlock all 614 answers & explanations
A team deploys an AWS CloudFormation template to update a stack that already included an Amazon DynamoDB table. However, before the deployment of the update, the team changed the name of the DynamoDB table on the template by mistake. The Deletion Policy attribute for all resources has the default value.
What will be the result of this mistake?
Premium Solution Locked
Unlock all 614 answers & explanations
When a Developer tries to run an AWS CodeBuild project, it raises an error because the length of all environment variables exceeds the limit for the combined maximum of characters.
What is the recommended solution?
Premium Solution Locked
Unlock all 614 answers & explanations
A company has an Amazon API Gateway REST API that integrates with an AWS Lambda function. The API's development stage references a development alias of the Lambda function named dev. A developer needs make a production alias of the Lambda function named prod available through the API.
Which solution meets these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
An application is real-time processing millions of events that are received through an API.
What service could be used to allow multiple consumers to process the data concurrently and MOST cost- effectively?
Premium Solution Locked
Unlock all 614 answers & explanations
A developer is building an ecommerce application that uses multiple AWS Lambda functions. Each function performs a specific step in a customer order workflow, such as order processing and inventory management. The developer must ensure that the Lambda functions run in a specific order.
Which solution will meet this requirement with the LEAST operational overhead?
Premium Solution Locked
Unlock all 614 answers & explanations
A gaming company is developing a mobile game application for iOSยฎ and Androidยฎ platforms. This mobile game securely stores user data locally on the device. The company wants to allow users to use multiple device for the game, which requires user data synchronization across devices.
Which service should be used to synchronize user data across devices without the need to create a backend application?
Premium Solution Locked
Unlock all 614 answers & explanations
A company needs to deploy all its cloud resources by using AWS CloudFormation templates. A developer must create an Amazon Simple Notification Service (Amazon SNS) automatic notification to help enforce this rule. The developer creates an SNS topic and subscribes the email address of the company's security team to the SNS topic.
The security team must receive a notification immediately if an IAM role is created without the use of CloudFormation.
Which solution will meet this requirement?
Premium Solution Locked
Unlock all 614 answers & explanations
A company is using AWS CodePipeline to deliver one of its applications. The delivery pipeline is triggered by changes to the master branch of an AWS CodeCommit repository and uses AWS CodeBuild to implement the test and build stages of the process and AWS CodeDeploy to deploy the application.
The pipeline has been operating successfully for several months and there have been no modifications. Following a recent change to the application's source code, AWS CodeDeploy has not deployed the updates application as expected.
What are the possible causes? (Choose two.)
Premium Solution Locked
Unlock all 614 answers & explanations
A developer creates a static website for their department. The developer deploys the static assets for the website to an Amazon S3 bucket and serves the assets with Amazon CloudFront. The developer uses origin access control (OAC) on the CloudFront distribution to access the S3 bucket.
The developer notices users can access the root URL and specific pages but cannot access directories without specifying a file name. For example, /products/index.html works, but /products/ return an error. The developer needs to enable accessing directories without specifying a file name without exposing the S3 bucket publicly.
Which solution will meet these requirements?
Premium Solution Locked
Unlock all 614 answers & explanations
Full Question Bank Locked
You have reached the end of the free study guide preview. Upgrade now to unlock all 614 questions and the full simulation engine.
Certification Path
Related Certifications
Customer Reviews
Global Community Feedback
David M.
"The practice engine is incredible. It feels exactly like the real testing environment and helped me build so much confidence."
Sarah J.
"The PDF is very well organized and the explanations for the answers are actually helpful, not just random text."
Michael C.
"I was skeptical, but the content is high quality and definitely worth the price. I passed on my first try!"