Exclusive Black Friday Deal: 75% Off All Exam Bundles! Use coupon code below to unlock your savings! - Ends in 0d 00h 00m 00s - Coupon code: e4s75best

Free AWS Certified Developer - Associate Practice Questions

Question # 121

A developer is creating an AWS Lambda function that searches for items from an Amazon DynamoDB table that contains customer contact information. The DynamoDB table items have the customer ' s email_address as the partition key and additional properties such as customer_type, name, and job_title.

The Lambda function runs whenever a user types a new character into the customer_type text input. The developer wants the search to return partial matches of the email_address property for a particular customer_type value. The developer does not want to recreate the DynamoDB table.

What should the developer do to meet these requirements?

Options:

A.  

Add a global secondary index (GSI) to the DynamoDB table with customer_type as the partition key and email_address as the sort key. Perform a query operation on the GSI by using the begins_with key condition expression with the email_address property.

B.  

Add a global secondary index (GSI) to the DynamoDB table with email_address as the partition key and customer_type as the sort key. Perform a query operation on the GSI by using the begins_with key condition expression with the email_address property.

C.  

Add a local secondary index (LSI) to the DynamoDB table with customer_type as the partition key and email_address as the sort key. Perform a query operation on the LSI by using the begins_with key condition expression with the email_address property.

D.  

Add a local secondary index (LSI) to the DynamoDB table with job_title as the partition key and email_address as the sort key. Perform a query operation on the LSI by using the begins_with key condition expression with the email_address property.

Discussion 0
Question # 122

An Amazon Data Firehose delivery stream is receiving customer data that contains personally identifiable information. A developer needs to remove pattern-based customer identifiers from the data and store the modified data in an Amazon S3 bucket.

What should the developer do to meet these requirements?

Options:

A.  

Implement Amazon Data Firehose data transformation as an AWS Lambda function. Configure the function to remove the customer identifiers. Set an Amazon S3 bucket as the destination of the delivery stream.

B.  

Launch an Amazon EC2 instance. Set the EC2 instance as the destination of the delivery stream. Run an application on the EC2 instance to remove the customer identifiers. Store the transformed data in an Amazon S3 bucket.

C.  

Create an Amazon OpenSearch Service instance. Set the OpenSearch Service instance as the destination of the delivery stream. Use search and replace to remove the customer identifiers. Export the data to an Amazon S3 bucket.

D.  

Create an AWS Step Functions workflow to remove the customer identifiers. As the last step in the workflow, store the transformed data in an Amazon S3 bucket. Set the workflow as the destination of the delivery stream.

Discussion 0
Question # 123

A developer has created a repository in AWS CodeArtifact . The development team needs to receive notifications when new packages are published to the repository.

Which solution will meet this requirement with the LEAST operational overhead ?

Options:

A.  

Create an Amazon SNS topic. Subscribe the team’s email address. Associate the SNS topic ARN directly with the repository.

B.  

Create an AWS Lambda function that sends notifications by using Amazon SES. Use Amazon EventBridge to invoke the Lambda function.

C.  

Create an Amazon SNS topic. Subscribe the team’s email address. Use Amazon EventBridge to notify the SNS topic.

D.  

Create an AWS Step Functions state machine that sends notifications through Amazon SES. Use Amazon EventBridge to invoke the state machine.

Discussion 0
Question # 124

A developer writes an AWS Lambda function that processes new object uploads to an Amazon S3 bucket. The Lambda function runs for approximately 30 seconds. The function runs as expected under normal load conditions. Other Lambda functions in the AWS account also run as expected. Occasionally, up to 500 new objects are written to the bucket every minute. Each new object write invokes the processing Lambda function during the high-volume periods through an event. The developer must ensure that the processing function will continue to run as expected during the high-volume periods. Which solution will meet this requirement?

Options:

A.  

Modify the function ' s timeout setting.

B.  

Add an additional layer to optimize the code execution.

C.  

Configure a reserved concurrency quota for the function.

D.  

Decrease the function’s memory allocation.

Discussion 0
Question # 125

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?

Options:

A.  

Use the AWS:lnclude transform in CloudFormation to provide the log group ' s name to the application

B.  

Pass the log group ' s name to the application in the user data section of the CloudFormation template.

C.  

Use the CloudFormation template ' s Mappings section to specify the log group ' s name for the application.

D.  

Pass the log group ' s Amazon Resource Name (ARN) as an environment variable to the Lambda function

Discussion 0
Question # 126

A developer is creating a new application that will be accessed by users through an API created using Amazon API Gateway. The users need to be authenticated by a third-party Security Assertion Markup Language (SAML) identity provider. Once authenticated, users will need access to other AWS services, such as Amazon S3 and Amazon DynamoD

B.  

How can these requirements be met?

Options:

A.  

Use an Amazon Cognito user pool with SAML as the resource server.

B.  

Use Amazon Cognito identity pools with a SAML identity provider as one of the authentication providers.

C.  

Use the AWS IAM service to provide the sign-up and sign-in functionality.

D.  

Use Amazon CloudFront signed URLs to connect with the SAML identity provider.

Discussion 0
Question # 127

A developer registered an AWS Lambda function as a target for an Application Load Balancer (ALB) using a CLI command. However, the Lambda function is not being invoked when the client sends requests through the AL

B.  

Why is the Lambda function not being invoked?

Options:

A.  

A Lambda function cannot be registered as a target for an AL

B.  

B.  

A Lambda function can be registered with an ALB using AWS Management Console only.

C.  

The permissions to invoke the Lambda function are missing.

D.  

Cross-zone is not enabled on the AL

B.  

Discussion 0
Question # 128

A developer is testing a Python application that is deployed on AWS Elastic Beanstalk. The application is using the Boto3 library to send events to an Amazon SQS queue. An external tool consumes the events.

During the tests, a ThrottlingException error occurs at irregular intervals.

What should the developer do to resolve this error?

Options:

A.  

Increase the number of instances that are assigned to the Elastic Beanstalk deployment.

B.  

Scale up the instances in the Elastic Beanstalk deployment to provide more RAM and CPU to the environment.

C.  

Configure Boto3 to use the adaptive retry mode to retry the failing step with progressively longer waits between calls.

D.  

Redeploy the Elastic Beanstalk environment. Choose a less memory-intensive programming language.

Discussion 0
Question # 129

A developer is building an application that gives users the ability to view bank account from multiple sources in a single dashboard. The developer has automated the process to retrieve API credentials for these sources. The process invokes an AWS Lambda function that is associated with an AWS CloudFormation cotton resource.

The developer wants a solution that will store the API credentials with minimal operational overhead.

When solution will meet these requirements?

Options:

A.  

Add an AWS Secrets Manager GenerateSecretString resource to the CloudFormation template. Set the value to reference new credentials to the Cloudformation resource.

B.  

Use the AWS SDK ssm PutParameter operation in the Lambda function from the existing, custom resource to store the credentials as a parameter. Set the parameter value to reference the new credentials. Set ma parameter type to SecureString.

C.  

Add an AWS Systems Manager Parameter Store resource to the CloudFormation template. Set the CloudFormation resource value to reference the new credentials Set the resource NoEcho attribute to true.

D.  

Use the AWS SDK ssm PutParameter operation in the Lambda function from the existing custom resources to store the credentials as a parameter. Set the parameter value to reference the new credentials. Set the parameter NoEcho attribute to true.

Discussion 0
Question # 130

A developer is working on a web application that runs on Amazon ECS and uses an Amazon DynamoDB table to store data. The application performs a large number of read requests against a small set of the table data.

How can the developer improve the performance of these requests? (Select TWO.)

Options:

A.  

Create an Amazon ElastiCache cluster. Configure the application to cache data in the cluster.

B.  

Create a DynamoDB Accelerator (DAX) cluster. Configure the application to use the DAX cluster for DynamoDB requests.

C.  

Configure the application to make strongly consistent read requests against the DynamoDB table.

D.  

Increase the read capacity of the DynamoDB table.

E.  

Enable DynamoDB adaptive capacity.

Discussion 0
Question # 131

A developer wants to add request validation to a production environment Amazon API Gateway API. The developer needs to test the changes

before the API is deployed to the production environment. For the test, the developer will send test requests to the API through a testing tool.

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

Options:

A.  

Export the existing API to an OpenAPI file. Create a new API. Import the OpenAPI file. Modify the new API to add request validation. Perform the tests. Modify the existing API to add request validation. Deploy the existing API to production.

B.  

Modify the existing API to add request validation. Deploy the updated API to a new API Gateway stage. Perform the tests. Deploy the updated API to the API Gateway production stage.

C.  

Create a new API. Add the necessary resources and methods, including new request validation. Perform the tests. Modify the existing API to add request validation. Deploy the existing API to production.

D.  

Clone the existing API. Modify the new API to add request validation. Perform the tests. Modify the existing API to add request validation. Deploy the existing API to production.

Discussion 0
Question # 132

A developer is building an application that uses an Amazon SQS queue and an AWS Lambda function that consumes messages from the SQS queue. When the function processes a message, the function sometimes sends a duplicate message to the source queue. The developer notices that some of the duplicate messages are lost from the queue without being processed. The developer must ensure that all messages are processed.

Which solution will meet this requirement?

Options:

A.  

Increase the batch size in the SQS event source mapping.

B.  

Add permissions to allow the SQS queue to invoke the function.

C.  

Update the function configuration to allow recursive loops.

D.  

Increase the visibility timeout for the SQS queue.

Discussion 0
Question # 133

A company maintains an application responsible for processing several thousand external callbacks each day. The company’s system administrators want to know how many callbacks are being received on a rolling basis, and they want this data available for 10 days.

The company also wants the ability to issue automated alerts if the number of callbacks exceeds the defined thresholds.

What is the MOST cost-effective way to address the need to track and alert on these statistics?

Options:

A.  

Push callback data to an Amazon RDS database that can be queried to show historical data and to alert on exceeded thresholds.

B.  

Push callback data to AWS X-Ray and use AWS Lambda to query, display, and alert on exceeded thresholds.

C.  

Push callback data to Amazon Kinesis Data Streams and invoke an AWS Lambda function that stores data in Amazon DynamoDB and sends the required alerts.

D.  

Push callback data to Amazon CloudWatch as a custom metric and use the CloudWatch alerting mechanisms to alert system administrators.

Discussion 0
Question # 134

A developer wants to expand an application to run in multiple AWS Regions. The developer wants to copy Amazon Machine Images (AMIs) with the latest changes and create a new application stack in the destination Region. According to company requirements, all AMIs must be encrypted in all Regions. However, not all the AMIs that the company uses are encrypted.

How can the developer expand the application to run in the destination Region while meeting the encryption requirement?

Options:

A.  

Create new AMIs, and specify encryption parameters. Copy the encrypted AMIs to the destination Region. Delete the unencrypted AMIs.

B.  

Use AWS Key Management Service (AWS KMS) to enable encryption on the unencrypted AMIs. Copy the encrypted AMIs to the destination Region.

C.  

Use AWS Certificate Manager (ACM) to enable encryption on the unencrypted AMIs. Copy the encrypted AMIs to the destination Region.

D.  

Copy the unencrypted AMIs to the destination Region. Enable encryption by default in the destination Region.

Discussion 0
Question # 135

A developer is building a microservices-based application by using Python on AWS and several AWS services The developer must use AWS X-Ray The developer views the service map by using the console to view the service dependencies. During testing, the developer notices that some services are missing from the service map

What can the developer do to ensure that all services appear in the X-Ray service map?

Options:

A.  

Modify the X-Ray Python agent configuration in each service to increase the sampling rate

B.  

Instrument the application by using the X-Ray SDK for Python. Install the X-Ray SDK for all the services that the application uses

C.  

Enable X-Ray data aggregation in Amazon CloudWatch Logs for all the services that the application uses

D.  

Increase the X-Ray service map timeout value in the X-Ray console

Discussion 0

DVA-C03 PDF

DVA-C03 PDF (Printable)
$41.25
$164.99

DVA-C03 Testing Engine

DVA-C03 PDF (Printable)
$45
$179.99

DVA-C03 PDF + Testing Engine

DVA-C03 PDF (Printable)
$55.75
$222.99

Free Exams Sample Questions