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 # 76

A company has implemented AWS CodeDeploy as part of its continuous integration and continuous delivery (CI/CD) stack in the cloud. The company sets up automatic rollbacks while initiating an in-place deployment of a new version of its web application on Amazon EC2 instances. Which result occurs if the deployment of the new version fails validation?

Options:

A.  

CodeDeploy automatically restores the last known successful deployment from a snapshot that is stored in Amazon S3.

B.  

CodeDeploy switches the Amazon Route 53 alias records back to the last known successful green deployment and terminates the failed blue deployment.

C.  

CodeDeploy redeploys the last known stable version of the application as a new deployment with a new deployment I

D.  

D.  

AWS CodePipeline promotes the most recent deployment that has a SUCCEEDED status to production.

Discussion 0
Question # 77

An application is using Amazon Cognito user pools and identity pools for secure access. A developer wants to integrate the user-specific file upload and download features in the application with Amazon S3. The developer must ensure that the files are saved and retrieved in a secure manner and that users can access only their own files. The file sizes range from 3 KB to 300 M

B.  

Which option will meet these requirements with the HIGHEST level of security?

Options:

A.  

Use S3 Event Notifications to validate the file upload and download requests and update the user interface (UI).

B.  

Save the details of the uploaded files in a separate Amazon DynamoDB table. Filter the list of files in the user interface (UI) by comparing the current user ID with the user ID associated with the file in the table.

C.  

Use Amazon API Gateway and an AWS Lambda function to upload and download files. Validate each request in the Lambda function before performing the requested operation.

D.  

Use an IAM policy within the Amazon Cognito identity prefix to restrict users to use their own folders in Amazon S3.

Discussion 0
Question # 78

A social media company is designing a platform that allows users to upload data, which is stored in Amazon S3. Users can upload data encrypted with a public key. The company wants to ensure that only the company can decrypt the uploaded content using an asymmetric encryption key. The data must always be encrypted in transit and at rest.

Options:

Options:

A.  

Use server-side encryption with Amazon S3 managed keys (SSE-S3) to encrypt the data.

B.  

Use server-side encryption with customer-provided encryption keys (SSE-C) to encrypt the data.

C.  

Use client-side encryption with a data key to encrypt the data.

D.  

Use client-side encryption with a customer-managed encryption key to encrypt the data.

Discussion 0
Question # 79

A company has an Amazon API Gateway REST API that integrates with an AWS Lambda function. The API’s development stage references a Lambda development alias named dev.

A developer needs to make a production alias of the Lambda function named prod available through the API.

Which solution meets these requirements?

Options:

A.  

Create a new method on the API named production. Configure the method to include a stage variable that points to the prod Lambda alias.

B.  

Create a new method on the API named production. Configure an integration request on the development stage that points to the prod Lambda alias.

C.  

Deploy the API to a new stage named production. Configure the stage to include a stage variable that points to the prod Lambda alias.

D.  

Deploy the API to a new stage named production. Configure an integration request on the production stage that points directly to the prod Lambda alias.

Discussion 0
Question # 80

An application uses an Amazon DynamoDB table to manage user profiles. A UserID attribute is the primary key of the table. The table also includes columns named Username, EmailAddress, RegistrationDate, Location, and Status.

The application needs to display a list of users from a specific location who registered after a specific date. Queries on the table must be optimized for efficiency.

Which solution will meet these requirements?

Options:

A.  

Create a global secondary index (GSI). Use Location as the partition key and RegistrationDate as the sort key. Use the Query operation to retrieve the specified users.

B.  

Use the Scan operation to retrieve the specified users. Use a filter expression for a value in the RegistrationDate column that is greater than the date required by the application.

C.  

Create a local secondary index (LSI). Use Location as the partition key and RegistrationDate as the sort key. Use the Query operation to retrieve the specified users.

D.  

Use the BatchGetItem operation with a filter on the RegistrationDate column for a value that is greater than the required date to retrieve the specified users.

Discussion 0
Question # 81

A company hosts its application in the us-west-1 Region. The company wants to add redundancy in the us-east-1 Region. The application secrets are stored in AWS Secrets Manager in us-west-1. A developer needs to replicate the secrets to us-east-1.

Which solution will meet this requirement?

Options:

A.  

Configure secret replication for each secret. Add us-east-1 as a replication Region. Choose an AWS KMS key in us-east-1 to encrypt the replicated secrets.

B.  

Create a new secret in us-east-1 for each secret. Configure secret replication in us-east-1. Set the source to be the corresponding secret in us-west-1. Choose an AWS KMS key in us-west-1 to encrypt the replicated secrets.

C.  

Create a replication rule for each secret. Set us-east-1 as the destination Region. Configure the rule to run during secret rotation. Choose an AWS KMS key in us-east-1 to encrypt the replicated secrets.

D.  

Create a Secrets Manager lifecycle rule to replicate each secret to a new Amazon S3 bucket in us-west-1. Configure an S3 replication rule to replicate the secrets to us-east-1.

Discussion 0
Question # 82

A developer is troubleshooting an application in an integration environment. In the application, an Amazon Simple Queue Service (Amazon SQS) queue consumes messages and then an AWS Lambda function processes the messages. The Lambda function transforms the messages and makes an API call to a third-party service.

There has been an increase in application usage. The third-party API frequently returns an HTTP 429 Too Many Requests error message. The error message prevents a significant number of messages from being processed successfully.

How can the developer resolve this issue?

Options:

A.  

Increase the SQS event source ' s batch size setting.

B.  

Configure provisioned concurrency for the Lambda function based on the third-party API ' s documented rate limits.

C.  

Increase the retry attempts and maximum event age in the Lambda function ' s asynchronous configuration.

D.  

Configure maximum concurrency on the SQS event source based on the third-party service ' s documented rate limits.

Discussion 0
Question # 83

A software company is launching a multimedia application. The application will allow guest users to access sample content before the users decide if they want to create an account to gain full access. The company wants to implement an authentication process that can identify users who have already created an account. The company also needs to keep track of the number of guest users who eventually create an account.

Which combination of steps will meet these requirements? {Select TWO.)

Options:

A.  

Create an Amazon Cognito user pool. Configure the user pool to allow unauthenticated users. Exchange user tokens for temporary credentials that allow authenticated users to assume a role.

B.  

Create an Amazon Cognito identity pool. Configure the identity pool to allow unauthenticated users. Exchange unique identity for temporary credentials that allow all users to assume a role.

C.  

Create an Amazon CloudFront distribution. Configure the distribution to allow unauthenticated users. Exchange user tokens for temporary credentials that allow all users to assume a role.

D.  

Create a role for authenticated users that allows access to all content. Create a role for unauthenticated users that allows access to only the sample content.

E.  

Allow all users to access the sample content by default. Create a role for authenticated users that allows access to the other content.

Discussion 0
Question # 84

A developer is making changes to a custom application that uses AWS Elastic Beanstalk.

Which solutions will update the Elastic Beanstalk environment with the new application version after the developer completes the changes? (Select TWO.)

Options:

A.  

Package the application code into a .zip file. Use the AWS Management Console to upload the .zip file and deploy the packaged application.

B.  

Package the application code into a .tar file. Use the AWS Management Console to create a new application version from the .tar file. Update the environment by using the AWS CLI.

C.  

Package the application code into a .tar file. Use the AWS Management Console to upload the .tar file and deploy the packaged application.

D.  

Package the application code into a .zip file. Use the AWS CLI to create a new application version from the .zip file and to update the environment.

E.  

Package the application code into a .zip file. Use the AWS Management Console to create a new application version from the .zip file. Rebuild the environment by using the AWS CLI.

Discussion 0
Question # 85

A development team maintains a web application by using a single AWS CloudFormation template. The template defines web servers and an Amazon RDS database. The team uses the Cloud Formation template to deploy the Cloud Formation stack to different environments.

During a recent application deployment, a developer caused the primary development database to be dropped and recreated. The result of this incident was a loss of data. The team needs to avoid accidental database deletion in the future.

Which solutions will meet these requirements? (Choose two.)

Options:

A.  

Add a CloudFormation Deletion Policy attribute with the Retain value to the database resource.

B.  

Update the CloudFormation stack policy to prevent updates to the database.

C.  

Modify the database to use a Multi-AZ deployment.

D.  

Create a CloudFormation stack set for the web application and database deployments.

E.  

Add a Cloud Formation DeletionPolicy attribute with the Retain value to the stack.

Discussion 0
Question # 86

A developer is building an application and wants to quickly test the effectiveness of a function before committing the code. Which solution will meet this requirement with the LEAST effort?

Options:

A.  

Add a report group that has test case information to the buildspec file of an AWS CodeBuild project.

B.  

Highlight the function within the application code. Use the Amazon Q Developer agent to generate a unit test.

C.  

Add a report group that has test case information to the appspec file of an AWS CodeBuild project.

D.  

Use Amazon Q Developer to review the code. Use the results of the review as context in a follow-up prompt to generate a unit test.

Discussion 0
Question # 87

A company wants to launch a REST API across multiple environments. The company needs to configure staging, testing, and production environments. The configuration must provide built-in support for version control. The team must be able to promote the test environment to the production environment when required. Which solution will meet these requirements in the MOST operationally efficient way?

Options:

A.  

Use Amazon API Gateway to create a REST API. Set up an API method for each environment. Deploy the REST API. Associate the REST API deployment with the appropriate method.

B.  

Create a REST API for each environment in Amazon API Gateway. Deploy the APIs and distribute the URL of the API to the corresponding users.

C.  

Identify the API methods required for the configuration. Create an AWS Lambda function for each required API method. Use Lambda canary deployments with a weighted alias for new releases and version control.

D.  

Use Amazon API Gateway to create a REST API. Set up an API method for each environment. Deploy the REST API and associate the deployment with the appropriate stage.

Discussion 0
Question # 88

A company has installed smart motes in all Its customer locations. The smart meter’s measure power usage at 1minute intervals and send the usage readings to a remote endpoint tot collection. The company needs to create an endpoint that will receive the smart meter readings and store the readings in a database. The company wants to store the location ID and timestamp information.

The company wants to give Is customers low-latency access to their current usage and historical usage on demand The company expects demand to increase significantly. The solution must not impact performance or include downtime write seeing.

When solution will meet these requirements MOST cost-effectively?

Options:

A.  

Store the smart meter readings in an Amazon RDS database. Create an index on the location ID and timestamp columns Use the columns to filter on the customers ‘data.

B.  

Store the smart motor readings m an Amazon DynamoDB table Croato a composite Key oy using the location ID and timestamp columns. Use the columns to filter on the customers ' data.

C.  

Store the smart meter readings in Amazon EastCache for Reds Create a Sorted set key y using the location ID and timestamp columns. Use the columns to filter on the customers’ data.

D.  

Store the smart meter readings m Amazon S3 Parton the data by using the location ID and timestamp columns. Use Amazon Athena lo tiler on me customers ' data.

Discussion 0
Question # 89

A developer is building a financial application on AWS that processes sensitive cardholder data and personally identifiable information (PII). The developer needs a solution to encrypt all application data in transit and data at rest. The solution must ensure that the developer can manage encryption keys. Which solution will meet these requirements?

Options:

A.  

Use AWS KMS to implement envelope encryption by using the AWS Encryption SDK.

B.  

Store encryption keys as a SecureString parameter in AWS Systems Manager Parameter Store. Fetch the keys at application startup. Use standard HTTPS for calls.

C.  

Store encryption keys directly in AWS Secrets Manager. Create an AWS Lambda function to automatically handle encryption.

D.  

Upload sensitive data directly from the application to an Amazon S3 bucket. Configure the S3 bucket to use server-side encryption with Amazon S3 managed keys (SSE-S3) as the default encryption.

Discussion 0
Question # 90

A development team uses an Amazon DynamoDB table as a database for an application. The team notices errors and slowdowns in the application during peak usage hours. The slowdowns and errors occur during a surge of user logins. The application receives frequent write requests. Application logs indicate that write requests are being throttled.

The development team needs to reduce the application latency and resolve the throttling errors.

Which solutions will meet these requirements? (Select TWO.)

Options:

A.  

Create a DynamoDB Accelerator (DAX) cluster. Update the application to send read requests to the DAX endpoint.

B.  

Increase the provisioned throughput of the table.

C.  

Reduce the frequency of write requests by using error retries and exponential backoff.

D.  

Reduce control plane operations that occur during peak usage hours by consolidating the DynamoDB tables and indexes.

E.  

Change the table ' s capacity mode to on-demand.

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