Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the Amazon Web Services AWS Certified Associate DVA-C02 Questions and answers with CertsForce

Viewing page 1 out of 11 pages
Viewing questions 1-15 out of questions
Questions # 1:

A developer is creating an application that must transfer expired items from Amazon DynamoDB to Amazon S3. The developer sets up the DynamoDB table to automatically delete items after a specific TTL. The application must process the items in DynamoDB and then must store the expired items in Amazon S3. The entire process, including item processing and storage in Amazon S3, will take 5 minutes.

Which solution will meet these requirements with the LEAST operational overhead?

Options:

A.

Configure DynamoDB Accelerator (DAX) lo query for expired items based on the TTL Save the results to Amazon S3.


B.

Configure DynamoDB Streams to invoke an AWS Lambda function. Program the Lambda function to process the items and to store the expired items in Amazon S3.


C.

Deploy a custom application on an Amazon Elastic Container Service (Amazon ECS) cluster on Amazon EC2 instances. Program the custom application to process the items and to store the expired items in Amazon S3.


D.

Create an Amazon EventBridge rule to invoke an AWS Lambda function. Program the Lambda function to process The items and to store the expired items in Amazon S3.


Expert Solution
Questions # 2:

A developer is building a video search application. Video files average 2.5 TB in size. Files must have instant access for the first 90 days . After 90 days, files can take more than 10 minutes to load .

Which solution will meet these requirements in the MOST cost-effective way?

Options:

A.

Store files in Amazon EFS Standard, then transition to EFS Standard-IA.


B.

Store files in Amazon S3 Glacier Deep Archive for 90 days, then transition to S3 Glacier Flexible Retrieval.


C.

Store files in Amazon EBS for 90 days, then transition to S3 Glacier Deep Archive.


D.

Store files in Amazon S3 Glacier Instant Retrieval for 90 days, then transition to S3 Glacier Flexible Retrieval.


Expert Solution
Questions # 3:

A company is building a micro services app1 cation that consists of many AWS Lambda functions. The development team wants to use AWS Serverless Application Model (AWS SAM) templates to automatically test the Lambda functions. The development team plans to test a small percentage of traffic that is directed to new updates before the team commits to a full deployment of the application.

Which combination of steps will meet these requirements in the MOST operationally efficient way? (Select TWO.)

Options:

A.

Use AWS SAM CLI commands in AWS CodeDeploy lo invoke the Lambda functions to lest the deployment


B.

Declare the EventlnvokeConfig on the Lambda functions in the AWS SAM templates with OnSuccess and OnFailure configurations.


C.

Enable gradual deployments through AWS SAM templates.


D.

Set the deployment preference type to Canary10Percen130Minutes Use hooks to test the deployment.


E.

Set the deployment preference type to Linear10PefcentEvery10Minutes Use hooks to test the deployment.


Expert Solution
Questions # 4:

A developer wants to insert a record into an Amazon DynamoDB table as soon as a new file is added to an Amazon S3 bucket.

Which set of steps would be necessary to achieve this?

Options:

A.

Create an event with Amazon EventBridge that will monitor the S3 bucket and then insert the records into DynamoDB.


B.

Configure an S3 event to invoke an AWS Lambda function that inserts records into DynamoDB.


C.

Create an AWS Lambda function that will poll the S3 bucket and then insert the records into DynamoDB.


D.

Create a cron job that will run at a scheduled time and insert the records into DynamoDB.


Expert Solution
Questions # 5:

A company is using an Amazon API Gateway REST API endpoint as a webhook to publish events from an on-premises source control management (SCM) system to Amazon EventBridge. The company has configured an EventBridge rule to listen for the events and to control application deployment in a central AWS account. The company needs to receive the same events across multiple receiver AWS accounts.

How can a developer meet these requirements without changing the configuration of the SCM system?

Options:

A.

Deploy the API Gateway REST API to all the required AWS accounts. Use the same custom domain name for all the gateway endpoints so that a single SCM webhook can be used for all events from all accounts.


B.

Deploy the API Gateway REST API to all the receiver AWS accounts. Create as many SCM webhooks as the number of AWS accounts.


C.

Grant permission to the central AWS account for EventBridge to access the receiver AWS accounts. Add an EventBridge event bus on the receiver AWS accounts as the targets to the existing EventBridge rule.


D.

Convert the API Gateway type from REST API to HTTP API.


Expert Solution
Questions # 6:

A company developed an API application on AWS by using Amazon CloudFront, Amazon API Gateway, and AWS Lambda. The API has a

minimum of four requests every second. A developer notices that many API users run the same query by using the POST method. The developer

wants to cache the POST request to optimize the API resources.

Which solution will meet these requirements?

Options:

A.

Configure the CloudFront cache. Update the application to return cached content based upon the default request headers.


B.

Override the cache method in the selected stage of API Gateway. Select the POST method.


C.

Save the latest request response in Lambda /tmp directory. Update the Lambda function to check the /tmp directory.


D.

Save the latest request in AWS Systems Manager Parameter Store. Modify the Lambda function to take the latest request response from Parameter Store.


Expert Solution
Questions # 7:

An application uses an Amazon API Gateway API that is integrated with an AWS Lambda function. Specific API requests are returning the HTTP 504 (Gateway Timeout) error message. The Lambda function is configured with a 20-second timeout. The API Gateway integration is configured with a 15-second timeout and a rate of 10 requests every second. There are no errors in the logs for the Lambda function. Which solution will prevent the HTTP 504 error responses?

Options:

A.

Increase the reserved concurrency of the Lambda function.


B.

Increase the timeout of the Lambda function.


C.

Increase the timeout of the API Gateway integration.


D.

Increase the per-client throttling limit.


Expert Solution
Questions # 8:

A company runs an ecommerce application on AWS. The application stores data in an Amazon Aurora database.

A developer is adding a caching layer to the application. The caching strategy must ensure that the application always uses the most recent value for each data item.

Which caching strategy will meet these requirements?

Options:

A.

Implement a TTL strategy for every item that is saved in the cache.


B.

Implement a write-through strategy for every item that is created and updated.


C.

Implement a lazy loading strategy for every item that is loaded.


D.

Implement a read-through strategy for every item that is loaded.


Expert Solution
Questions # 9:

A developer is creating an application that will store personal health information (PHI). The PHI needs to be encrypted at all times. An encrypted Amazon RDS for MySQL DB instance is storing the data. The developer wants to increase the performance of the application by caching frequently accessed data while adding the ability to sort or rank the cached datasets.

Which solution will meet these requirements?

Options:

A.

Create an Amazon ElastiCache for Redis instance. Enable encryption of data in transit and at rest. Store frequently accessed data in the cache.


B.

Create an Amazon ElastiCache for Memcached instance. Enable encryption of data in transit and at rest. Store frequently accessed data in the cache.


C.

Create an Amazon RDS for MySQL read replica. Connect to the read replica by using SSL. Configure the read replica to store frequently accessed data.


D.

Create an Amazon DynamoDB table and a DynamoDB Accelerator (DAX) cluster for the table. Store frequently accessed data in the DynamoDB table.


Expert Solution
Questions # 10:

A company runs a serverless application on AWS. The application includes an AWS Lambda function. The Lambda function processes data and stores the data in an Amazon RDS for PostgreSQL database. A developer created user credentials in the database for the application.

The developer needs to use AWS Secrets Manager to manage the user credentials. The password must be rotated on a regular basis. The solution needs to ensure that there is high availability and no downtime for the application during secret rotation.

What should the developer do to meet these requirements?

Options:

A.

Configure managed rotation with the single user rotation strategy.


B.

Configure managed rotation with the alternating users rotation strategy.


C.

Configure automatic rotation with the single user rotation strategy.


D.

Configure automatic rotation with the alternating users rotation strategy.


Expert Solution
Questions # 11:

A developer is working on an ecommerce application that stores data in an Amazon RDS for MySQL cluster. The developer needs to implement a caching layer for the application to retrieve information about the most viewed products.

Which solution will meet these requirements?

Options:

A.

Edit the RDS for MySQL cluster by adding a cache node. Configure the cache endpoint instead of the cluster endpoint in the application.


B.

Create an Amazon ElastiCache (Redis OSS) cluster. Update the application code to use the ElastiCache (Redis OSS) cluster endpoint.


C.

Create an Amazon DynamoDB Accelerator (DAX) cluster in front of the RDS for MySQL cluster. Configure the application to connect to the DAX endpoint instead of the RDS endpoint.


D.

Configure the RDS for MySQL cluster to add a standby instance in a different Availability Zone. Configure the application to read the data from the standby instance.


Expert Solution
Questions # 12:

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?

Options:

A.

Increase the Lambda function ' s memory.


B.

Include the entire AWS SDK for .NET in the Lambda function ' s deployment package.


C.

Include only the AWS SDK for .NET modules for DynamoDB and Amazon S3 in the Lambda function ' s deployment package.


D.

Configure the Lambda function to download the AWS SDK for .NET from an S3 bucket at runtime.


Expert Solution
Questions # 13:

A web application is using Amazon Kinesis Data 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 Data Streams?

Options:

A.

Enable SSL connections to Kinesis.


B.

Use Amazon Kinesis Consumer Library.


C.

Encrypt the data once it is at rest with a Lambda function.


D.

Enable server-side encryption in Kinesis Data Streams.


Expert Solution
Questions # 14:

A company with multiple branch locations has an analytics and reporting application. Each branch office pushes a sales report to a shared Amazon S3 bucket at a predefined time each day. The company has developed an AWS Lambda function that analyzes the reports from all branch offices in a single pass. The Lambda function stores the results in a database.

The company needs to start the analysis once each day at a specific time.

Which solution will meet these requirements MOST cost-effectively?

Options:

A.

Configure an S3 event notification to invoke the Lambda function when a branch office uploads a sales report.


B.

Create an AWS Step Functions state machine that invokes the Lambda function once each day at the predefined time.


C.

Configure the Lambda function to run continuously and to begin analysis only at the predefined time each day.


D.

Create an Amazon EventBridge scheduled rule that invokes the Lambda function once each day at the predefined time.


Expert Solution
Questions # 15:

A company ' s application uses an Amazon API Gateway REST API and AWS Lambda functions to upload media files to and fetch media files from a standard Amazon S3 Standard bucket. The company runs a nightly job on an Amazon EC2 instance to create dashboards and other visualizations for application users. The job usually runs for 1 to 2 hours.

A developer observes request throttling while the function is running. The application generates multiple 429 exceptions in the Lambda function logs when files do not process successfully. The developer needs to resolve the issue and ensure that all of the application ingests all files.

Which solution will meet these requirements?

Options:

A.

Enable S3 Transfer Acceleration on the bucket. Use the appropriate endpoint.


B.

Call the CreateMultipartUpload API in the Lambda functions to upload the files in pieces.


C.

Implement the retry with a backoff pattern in the Lambda functions.


D.

Set up an S3 Lifecycle policy to automatically move the media files to the S3 Intelligent-Tiering storage class.


Expert Solution
Viewing page 1 out of 11 pages
Viewing questions 1-15 out of questions