image


DVA-C01 Dumps DVA-C01 Braindumps

DVA-C01 Real Questions DVA-C01 Practice Test DVA-C01 Actual Questions


Amazon


DVA-C01


AWS Certified Developer -Associate (DVA-C01)


https://killexams.com/pass4sure/exam-detail/DVA-C01


Question #224 Section 2


A startup s photo-sharing site is deployed in a VPC. An ELB distributes web traffic across two subnets. ELB session stickiness is configured to use the AWS- generated session cookie, with a session TTL of 5 minutes. The webserver Auto Scaling Group is configured as: min-size=4, max-size=4.

The startups preparing for a public launch, by running load-testing software installed on a single EC2 instance running in us-west-2 After 60 minutes of load-testing, the webserver logs show:

image

Which recommendations can help ensure load-testing HTTP requests are evenly distributed across the four webservers? (Choose two.)


image

  1. Launch and run the load-tester EC2 instance from us-east-1 instead.

    image

  2. Re-configure the load-testing software to re-resolve DNS for each web request.

    image

  3. Use a 3rd-party load-testing service which offers globally-distributed test clients.

    image

  4. Configure ELB and Auto Scaling to distribute across us-west-2a and us-west-2c.

    image

  5. Configure ELB session stickiness to use the app-specific session cookie.


Answer: BE


Question #225 Section 2


A development team uses AWS Elastic Beanstalk to deploy a Java-based web application. The team wants to ensure that the changes to the source code and the configuration are always deployed on new instances. The team configures the Elastic Beanstalk environment to use immutable updates. However, an error occurs the first time a change is deployed with the new update policy.

What is the MOST likely cause of this issue?


image

  1. Immutable updates are not supported for Java-based applications.

    image

  2. The account has reached its on-demand instance limit.

    image

  3. Immutable updates are only supported for m4.large and larger instance types.

    image

  4. The developer must also modify the .ebextensions/immutable-updates.config file to enable immutable updates.


Answer: D Reference:

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environmentmgmt-updates-immutable.html


Question #226 Section 2


A developer tested an application locally and then deployed it to AWS Lambda. While testing the application remotely, the Lambda function fails with an access denied message.

How can this issue be addressed?


image

  1. Update the Lambda function's execution role to include the missing permissions.

    image

  2. Update the Lambda function's resource policy to include the missing permissions.

    image

  3. Include an IAM policy document at the root of the deployment package and redeploy the Lambda function.

    image

  4. Redeploy the Lambda function using an account with access to the AdministratorAccess policy.


Answer: A Reference:

https://aws.amazon.com/premiumsupport/knowledge-center/access-denied-lambda-s3-bucket/ Question #227 Section 2

An application contains two components: one component to handle HTTP requests, and another component to handle background processing tasks. Each component must scale independently. The developer wants to deploy this application using AWS Elastic Beanstalk.

How should this application be deployed, based on these requirements?


image

  1. Deploy the application in a single Elastic Beanstalk environment.

    image

  2. Deploy each component in a separate Elastic Beanstalk environment.

    image

  3. Use multiple Elastic Beanstalk environments for the HTTP component, but one environment for the background task component.

    image

  4. Use multiple Elastic Beanstalk environments for the background task component, but one environment for the HTTP component.


Answer: D


Question #228 Section 2


A company experienced partial downtime during the last deployment of a new application. AWS Elastic Beanstalk split the environment's Amazon EC2 instances into batches and deployed a new version one batch at a time after taking them out of service. Therefore, full capacity was not maintained during deployment.

The developer plans to release a new version of the application, and is looking for a policy that will maintain full capacity and minimize the impact of the failed deployment.

Which deployment policy should the developer use?


image

  1. Immutable

    image

  2. All at Once

    image

  3. Rolling

    image

  4. Rolling with an Additional Batch


Answer: D Reference:

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html


Question #229 Section 2


An application running on multiple Amazon EC2 instances pulls messages from a standard Amazon SQS queue. A requirement for the application is that all messages must be encrypted at rest.

Developers are instructed to use methods that allow for centralized key management and minimize possible support requirements whenever possible. Which of the following solutions supports these requirements?


image

  1. Encrypt individual messages by using client-side encryption with customer managed keys, then write to the SQS queue.

    image

  2. Encrypt individual messages by using SQS Extended Client and the Amazon S3 encryption client.

    image

  3. Create an SQS queue, and encrypt the queue by using sewer-side encryption with AWS KMS.

    image

  4. Create an SQS queue, and encrypt the queue by using client-side encryption.


Answer: B


Question #230 Section 2


A company is developing a serverless ecommerce web application. The application needs to make coordinated, all-or-nothing changes to multiple items in the company's inventory table in Amazon DynamoDB.

Which solution will meet these requirements?


image

  1. Enable transactions for the DynamoDB table. Use the BatchWriteItem operation to update the items.

    image

  2. Use the TransactWriteItems operation to group the changes. Update the items in the table.

    image

  3. Set up a FIFO queue using Amazon SQS. Group the changes in the queue. Update the table based on the grouped changes.

    image

  4. Create a transaction table in an Amazon Aurora DB cluster to manage the transactions. Write a backend process to sync the Aurora DB table and the DynamoDB table.

Answer: B Reference:

https://aws.amazon.com/blogs/mobile/appsync-caching-transactions/


Question #231 Section 2


How can a developer use a debugger for AWS Lambda code that is deployed with AWS Serverless Application Model (AWS SAM)?


image

  1. Download the Lambda code locally and use the AWS CLI to execute it

    image

  2. Use the Lambda console to connect the debugger

    image

  3. Use AWS SAM to invoke a function locally in debug mode

    image

  4. Connect a third-party-compatible integrated development environment (IDE) to the Lambda debugger endpoint


Answer: C Reference:

https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-debugging.html


Question #232 Section 2


An application takes longer than expected to process an Amazon SQS message.

What should the developer do to the application so that other instances do not pick up the same message?


image

  1. Make a ReceiveMessage call to get the same message again from the queue

    image

  2. Issue a DeleteMessage call to delete the message from the queue

    image

  3. Use SendMessage to pass the message to the dead letter queue

    image

  4. Send a ChangeMessageVisibility call to extend VisibilityTimeout


Answer: A


Question #233 Section 2


A developer is building a WebSocket API using Amazon API Gateway. The payload sent to this API is JSON that includes an action key. This key can have three different values: create, update, and remove. The developer must integrate with different routes based on the value of the action key of the incoming JSON payload.

How can the developer accomplish this task with the LEAST amount of configuration?


image

  1. Deploy the WebSocket API to three stages for the respective routes: create, update, and remove

    image

  2. Create a new route key and set the name as action

    image

  3. Set the value of the route selection expression to action

    image

  4. Set the value of the route selection expression to $request.body.action


Answer: B


Question #234 Section 2


A development team is creating a new application designed to run on AWS. While the test and production environments will run on Amazon EC2 instances, developers will each run their own environment on their laptops.

Which of the following is the simplest and MOST secure way to access AWS services from the local development machines?


image

  1. Use an IAM role to assume a role and execute API calls using the role.

    image

  2. Create an IAM user to be shared with the entire development team; provide the development team with the access key.

    image

  3. Create an IAM user for each developer on the team; provide each developer with a unique access key.

    image

  4. Set up a federation through an Amazon Cognito user pool.


Answer: D


Question #235 Section 2


A developer wants to ensure the Amazon EC2 instances in AWS Elastic Beanstalk execute a certain set of commands before the application is ready to

use.

Which Elastic Beanstalk feature will allow the developer to accomplish this?


image

  1. Rolling update

    image

  2. Immutable update

    image

  3. User data

    image

  4. .ebextensions


Answer: D Reference:

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html


Question #236 Section 2


A developer is planning to use an Amazon API Gateway and AWS Lambda to provide a REST API. The developer will have three distinct environments to manage: development, test, and production.

How should the application be deployed while minimizing the number of resources to manage?


image

  1. Create a separate API Gateway and separate Lambda function for each environment in the same Region.

    image

  2. Assign a Region for each environment and deploy API Gateway and Lambda to each Region.

    image

  3. Create one API Gateway with multiple stages with one Lambda function with multiple aliases.

    image

  4. Create one API Gateway and one Lambda function, and use a REST parameter to identify the environment.


Answer: C Reference:

https://aws.amazon.com/blogs/compute/using-api-gateway-stage-variables-to-manage-lambda-functions/


Question #237 Section 2


A developer is creating an application to process a large number of requests. Requests must be processed in order, and each request should be processed only once.

How should Amazon SQS be deployed to achieve this?


image

  1. Configure First in First out (FIFO) delivery in a standard Amazon SQS queue to process requests.

    image

  2. Use an SQS FIFO queue to process requests.

    image

  3. Use the SetOrder attribute to ensure sequential request processing.

    image

  4. Convert the standard queue to a FIFO queue by renaming the queue to use the .fifo suffix.


Answer: B Reference:

https://medium.com/awesome-cloud/aws-difference-between-sqs-standard-and-fifo-first-in-first-out-queues-28d1ea5e153


image

6$03/( 48(67,216


7KHVH TXHVWLRQV DUH IRU GHPR SXUSRVH RQO\ )XOO YHUVLRQ LV XS WR GDWH DQG FRQWDLQV DFWXDO TXHVWLRQV DQG DQVZHUV


.LOOH[DPV FRP LV DQ RQOLQH SODWIRUP WKDW RIIHUV D ZLGH UDQJH RI VHUYLFHV UHODWHG WR FHUWLILFDWLRQ H[DP SUHSDUDWLRQ 7KH SODWIRUP SURYLGHV DFWXDO TXHVWLRQV H[DP GXPSV DQG SUDFWLFH WHVWV WR KHOS LQGLYLGXDOV SUHSDUH IRU YDULRXV FHUWLILFDWLRQ H[DPV ZLWK FRQILGHQFH +HUH DUH VRPH NH\ IHDWXUHV DQG VHUYLFHV RIIHUHG E\ .LOOH[DPV FRP


$FWXDO ([DP 4XHVWLRQV .LOOH[DPV FRP SURYLGHV DFWXDO H[DP TXHVWLRQV WKDW DUH H[SHULHQFHG LQ WHVW FHQWHUV 7KHVH TXHVWLRQV DUH XSGDWHG UHJXODUO\ WR HQVXUH WKH\ DUH XS WR GDWH DQG UHOHYDQW WR WKH ODWHVW H[DP V\OODEXV %\ VWXG\LQJ WKHVH DFWXDO TXHVWLRQV FDQGLGDWHV FDQ IDPLOLDUL]H WKHPVHOYHV ZLWK WKH FRQWHQW DQG IRUPDW RI WKH UHDO H[DP


([DP 'XPSV .LOOH[DPV FRP RIIHUV H[DP GXPSV LQ 3') IRUPDW 7KHVH GXPSV FRQWDLQ D FRPSUHKHQVLYH FROOHFWLRQ RI TXHVWLRQV DQG DQVZHUV WKDW FRYHU WKH H[DP WRSLFV %\ XVLQJ WKHVH GXPSV FDQGLGDWHV FDQ HQKDQFH WKHLU NQRZOHGJH DQG LPSURYH WKHLU FKDQFHV RI VXFFHVV LQ WKH FHUWLILFDWLRQ H[DP


3UDFWLFH 7HVWV .LOOH[DPV FRP SURYLGHV SUDFWLFH WHVWV WKURXJK WKHLU GHVNWRS 9&( H[DP VLPXODWRU DQG RQOLQH WHVW HQJLQH 7KHVH SUDFWLFH WHVWV VLPXODWH WKH UHDO H[DP HQYLURQPHQW DQG KHOS FDQGLGDWHV DVVHVV WKHLU UHDGLQHVV IRU WKH DFWXDO H[DP 7KH SUDFWLFH WHVWV FRYHU D ZLGH UDQJH RI TXHVWLRQV DQG HQDEOH FDQGLGDWHV WR LGHQWLI\ WKHLU VWUHQJWKV DQG ZHDNQHVVHV


*XDUDQWHHG 6XFFHVV .LOOH[DPV FRP RIIHUV D VXFFHVV JXDUDQWHH ZLWK WKHLU H[DP GXPSV 7KH\ FODLP WKDW E\ XVLQJ WKHLU PDWHULDOV FDQGLGDWHV ZLOO SDVV WKHLU H[DPV RQ WKH ILUVW DWWHPSW RU WKH\ ZLOO UHIXQG WKH SXUFKDVH SULFH 7KLV JXDUDQWHH SURYLGHV DVVXUDQFH DQG FRQILGHQFH WR LQGLYLGXDOV SUHSDULQJ IRU FHUWLILFDWLRQ H[DPV


8SGDWHG &RQWHQW .LOOH[DPV FRP UHJXODUO\ XSGDWHV LWV TXHVWLRQ EDQN DQG H[DP GXPSV WR HQVXUH WKDW WKH\ DUH FXUUHQW DQG UHIOHFW WKH ODWHVW FKDQJHV LQ WKH H[DP V\OODEXV 7KLV KHOSV FDQGLGDWHV VWD\ XS WR GDWH ZLWK WKH H[DP FRQWHQW DQG LQFUHDVHV WKHLU FKDQFHV RI VXFFHVV


7HFKQLFDO 6XSSRUW .LOOH[DPV FRP SURYLGHV IUHH [ WHFKQLFDO VXSSRUW WR DVVLVW FDQGLGDWHV ZLWK DQ\ TXHULHV RU LVVXHV WKH\ PD\ HQFRXQWHU ZKLOH XVLQJ WKHLU VHUYLFHV 7KHLU FHUWLILHG H[SHUWV DUH DYDLODEOH WR SURYLGH JXLGDQFH DQG KHOS FDQGLGDWHV WKURXJKRXW WKHLU H[DP SUHSDUDWLRQ MRXUQH\


'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU

.LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG