AWS-Developer Exam PDF [2022] Tests Free Updated Today with Correct 503 Questions [Q127-Q145]

Share

AWS-Developer Exam PDF [2022] Tests Free Updated Today with Correct 503 Questions

Amazon AWS-Developer Exam Preparation Guide and PDF Download


Amazon AWS Certified Developer Associate Practice Test Questions, Amazon AWS Certified Developer Associate Exam Practice Test Questions

The Amazon AWS Certified Developer – Associate certification is designed for the prospective developers. The main aim of this certificate is to prepare the professionals for the specific tasks such as developing and maintaining applications created within the AWS platform. Before earning this associate-level certification, the learners should go through training and pass one related exam that is known under the codename DVA-C01.


The AWS Certified Developer – Associate certificate is appropriate for individuals who occupy the position of a developer and who want to upgrade their skills. This certification helps candidates understand how to use AWS core services.

 

NEW QUESTION 127
A Developer has been asked to make changes to the source code of an AWS Lambda function. The function is managed using an AWS CloudFormation template. The template is configured to load the source code from an Amazon S3 bucket. The Developer manually created a .ZIP file deployment package containing the changes and put the file into the correct location on Amazon S3. When the function is invoked, the code changes have not been applied.
What step is required to update the function with the changes?

  • A. Update the CloudFormation stack with the correct values for the function code properties S3Bucket, S3Key, or S3ObjectVersion.
  • B. Modify the execution role of the Lambda function to allow S3 access permission to the deployment package .ZIP file.
  • C. Ensure that the function source code is base64-encoded before uploading the deployment package to S3.
  • D. Delete the .ZIP file on S3, and re-upload by using a different object key name.

Answer: B

 

NEW QUESTION 128
___________ is a task coordination and state management service for cloud applications.

  • A. Amazon FPS
  • B. Amazon SNS
  • C. Amazon SWF
  • D. Amazon SES

Answer: C

Explanation:
Amazon Simple Workflow (Amazon SWF) is a task coordination and state management service for cloud applications. With Amazon SWF, you can stop writing complex glue-code and state machinery and invest more in the business logic that makes your applications unique.
http://aws.amazon.com/swf/

 

NEW QUESTION 129
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?

  • A. Rolling
  • B. Immutable
  • C. Rolling with an Additional Batch
  • D. All at Once

Answer: C

 

NEW QUESTION 130
When developing an AWS Lambda function that processes Amazon Kinesis Data Streams, Administrators within the company must receive a notice that includes the processed data.
How should the Developer write the function to send processed data to the Administrators?

  • A. Use Amazon CloudWatch Events to send the processed data
  • B. Separate the Lambda handler from the core logic
  • C. Publish the processed data to an Amazon SNS topic
  • D. Push the processed data to Amazon SQS

Answer: A

Explanation:
Explanation
https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/WhatIsCloudWatchEvents.html

 

NEW QUESTION 131
The Developer for a retail company must integrate a fraud detection solution into the order processing solution. The fraud detection solution takes between ten and thirty minutes to verify an order. At peak, the web site can receive one hundred orders per minute.
What is the most scalable method to add the fraud detection solution to the order processing pipeline?

  • A. Write all new orders to Amazon DynamoDB. Configure DynamoDB Streams to include all new orders.
    Subscribe a Lambda function to automatically read batches of records from the Kinesis Stream. The Lambda function includes the fraud detection software and will update the order with a pass or fail status.
  • B. Add all new orders to an Amazon Kinesis Stream. Subscribe a Lambda function to automatically read batches of records from the Kinesis Stream. The Lambda function includes the fraud detection software and will update the order with a pass or fail status.
  • C. Add all new orders to an SQS queue. Configure an Auto Scaling group that uses the queue depth metric as its unit of scale to launch a dynamically-sized fleet of EC2 instances spanning multiple AZs with the fraud detection solution installed on them to pull orders from this queue. Update the order with a pass or fails status.
  • D. Add all new orders to an Amazon SQS queue. Configure a fleet of 10 EC2 instances spanning multiple AZs with the fraud detection solution installed on them to pull orders from this queue. Update the order with a pass or fails status.

Answer: A

 

NEW QUESTION 132
A Development team wants to instrument their code to provide more detailed information to AWS X-Ray than simple outgoing and incoming requests. This will generate large amounts of data, so the Development team wants to implement indexing so they can filter the data.
What should the Development team do to achieve this?

  • A. Install required plugins for the appropriate AWS SDK
  • B. Add metadata to the segment document and the code
  • C. Configure the necessary X-Ray environment variables
  • D. Add annotations to the segment document and the code

Answer: D

Explanation:
Explanation
https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-python-segment.html

 

NEW QUESTION 133
A user has created a new raw EBS volume. The user mounts the volume on the instance to which it is attached. Which of the below mentioned options is a required step before the user can mount the volume?

  • A. Create a file system of the volume
  • B. Run a cyclic check on the device for data consistency
  • C. No step is required. The user can directly mount the device
  • D. Resize the volume as per the original snapshot size

Answer: A

Explanation:
When a user is trying to mount a blank EBS volume, it is required that the user first creates a file system within the volume.
Reference: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html

 

NEW QUESTION 134
A Developer is working on a serverless project based in Java. Initial testing shows a cold start takes about 8 seconds on average for AWS Lambda functions.
What should the Developer do to reduce the cold start time? (Choose two.)

  • A. Increase the timeout setting for the Lambda function.
  • B. Add the Spring Framework to the project and enable dependency injection.
  • C. Increase the memory allocation setting for the Lambda function.
  • D. Reduce the deployment package by including only needed modules from the AWS SDK for Java.
  • E. Change the Lambda invocation mode from synchronous to asynchronous.

Answer: B,E

Explanation:
Explanation/Reference: https://github.com/awslabs/aws-serverless-java-container/wiki/Quick-start---Spring-Boot

 

NEW QUESTION 135
A development team wants to immediately build and deploy an application whenever there is a change to the source code. Which approaches could be used to trigger the deployment? (Select TWO.)

  • A. Store the source code in an Amazon S3 bucket Configure AWS CodePipeline to start whenever a file in the bucket changes
  • B. Store the source code in an Amazon S3 bucket Configure AWS CodePipeline to start every 15 minutes
  • C. Store the source code in an Amazon EC2 instance's ephemeral storage. Configure the instance to start AWS CodePipeline whenever there are changes to the source code
  • D. Store the source code in an AWS CodeCommit repository Configure AWS CodePipeline to start whenever a change is committed to the repository.
  • E. Store the source code in an encrypted Amazon EBS volume Configure AWS CodePipeline to start whenever a file in the volume changes

Answer: D,E

Explanation:
Reference:
https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-ecs-ecr-codedeploy.html

 

NEW QUESTION 136
Which EC2 API call would you use to retrieve a list of Amazon Machine Images (AMIs)?

  • A. You cannot retrieve a list of AMIs as there are over 10,000 AMIs
  • B. DescribeAMls
  • C. DescribeImages
  • D. GetAMls
  • E. DescnbeInstances

Answer: A

 

NEW QUESTION 137
Which of the following are correct statements with policy evaluation logic in AWS Identity and Access Management? Choose 2 answers

  • A. An explicit allow overrides an explicit deny
  • B. An explicit allow overrides default deny.
  • C. An explicit deny does not override an explicit allow
  • D. By default, all requests are denied
  • E. By default, all request are allowed

Answer: B,D

Explanation:
Explanation
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html By default, all requests are implicitly denied. (Alternatively, by default, the AWS account root user has full access.) An explicit allow in an identity-based or resource-based policy overrides this default. If a permissions boundary, Organizations SCP, or session policy is present, it might override the allow with an implicit deny.
An explicit deny in any policy overrides any allows.

 

NEW QUESTION 138
A Developer has created a large Lambda function, and deployment is failing with the following error:
ClientError: An error occurred (InvalidParameterValueException) when calling the
CreateFunction operation: Unzipped size must be smaller than XXXXXXXXX bytes', where XXXXXXXXX is the current Lambda limit
What can the Developer do to fix this problem?

  • A. Use a compression algorithm that is more efficient than ZIP.
  • B. Submit a limit increase request to AWS Support to increase the function to the size needed.
  • C. Break the function into multiple smaller Lambda functions.
  • D. ZIP the ZIP file twice to compress it further.

Answer: C

 

NEW QUESTION 139
A global company has an application running on Amazon EC2 instances that serves image files from Amazon S3. User requests from the browser are causing high traffic, which results in degraded performance.
Which optimization solution should a Developer implement to increase application performance?

  • A. Create an Amazon ElastiCache cluster to cache and serve frequently accessed items.
  • B. Create multiple prefix in the S3 bucket to increase the request rate
  • C. Submit a ticket to AWS support to request a rate limit increase for the S3 bucket.
  • D. Use Amazon CloudFront to serve the content of images stored in Amazon S3.

Answer: C

 

NEW QUESTION 140
You have written an application that uses the Elastic Load Balancing service to spread traffic to several web servers. Your users complain that they are sometimes forced to login again in the middle of using your application, after they have already logged in. This is not behavior you have designed.
What is a possible solution to prevent this happening?

  • A. Use Glacier to save session slate.
  • B. Use instance storage to save session state.
  • C. Use instance memory to save session state.
  • D. Use ElastiCache to save session state.
  • E. Use EBS to save session state

Answer: D

 

NEW QUESTION 141
A Developer is building a web application that uses Amazon API Gateway to expose an AWS Lambda function to process requests from clients. During testing, the Developer notices that the API Gateway times out even though the Lambda function finishes under the set time limit.
Which of the following API Gateway metrics in Amazon CloudWatch can help the Developer troubleshoot the issue? (Choose two.)

  • A. Latency
  • B. CacheHitCount
  • C. CacheMissCount
  • D. Count
  • E. IntegrationLatency

Answer: C,E

Explanation:
Explanation
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-metrics-and-dimensions.html

 

NEW QUESTION 142
A website's page load times are gradually increasing as more users access the system at the same time.
Analysis indicates that a user profile is being loaded from a database in all the web pages being visited by each user and this is increasing the database load and the page load latency. To address this issue the Developer decides to cache the user profile data.
Which caching strategy will address this situation MOST efficiently?

  • A. Create a new Amazon EC2 Instance and run a NoSQL database on it. Cache the profile data within this database using the write-through caching strategy.
  • B. Create an ElastiCache cluster to cache the user profile data. Use a write-through caching strategy.
  • C. Use a dedicated Amazon RDS instance for caching profile data. Use a write-through caching strategy.
  • D. Create an Amazon ElastiCache cluster to cache the user profile data. Use a cache-aside caching strategy.

Answer: D

 

NEW QUESTION 143
An application that runs on an Amazon EC2 instance needs to access and make API calls to multiple AWS services.
What is the MOST secure way to provide access to the AWS services with MINIMAL management overhead?

  • A. Use AWS root user to make requests to the application.
  • B. Store and retrieve credentials from AWS CodeCommit.
  • C. Use EC2 instance profiles.
  • D. Use AWS KMS to store and retrieve credentials.

Answer: C

Explanation:
Explanation
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html

 

NEW QUESTION 144
A Developer is storing sensitive documents in Amazon S3 that will require encryption at rest. The encryption keys must be rotated annually, at least.
What is the easiest way to achieve this?

  • A. Encrypt the data before sending it to Amazon S3
  • B. Export a key from AWS KMS to encrypt the data
  • C. Use AWS KMS with automatic key rotation
  • D. Import a custom key into AWS KMS with annual rotation enabled

Answer: C

Explanation:
https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html
https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html
You can use the same techniques to view and manage the CMKs in your custom key store that you use for CMKs in the AWS KMS key store. You can control access with IAM and key policies, create tags and aliases, enable and disable the CMKs, and schedule key deletion. You can use the CMKs for cryptographic operations and use them with AWS services that integrate with AWS KMS. However, you cannot enable automatic key rotation and you cannot import key material into a CMK in a custom key store.
Q: Can I rotate my keys? Yes. You can choose to have AWS KMS automatically rotate CMKs every year, provided that those keys were generated within AWS KMS HSMs. Automatic key rotation is not supported for imported keys, asymmetric keys, or keys generated in an AWS CloudHSM cluster using the AWS KMS custom key store feature. If you choose to import keys to AWS KMS or asymmetric keys or use a custom key store, you can manually rotate them by creating a new CMK and mapping an existing key alias from the old CMK to the new CMK. https://aws.amazon.com/kms/faqs/

 

NEW QUESTION 145
......

Verified & Correct AWS-Developer Practice Test Reliable Source Oct 01, 2022 Updated: https://pass4lead.newpassleader.com/Amazon/AWS-Developer-exam-preparation-materials.html