[Nov-2024] AWS-Developer Questions - Truly Beneficial For Your Amazon Exam [Q24-Q48]

Share

[Nov-2024] AWS-Developer Questions - Truly Beneficial For Your Amazon Exam

Download Amazon AWS-Developer Sample Questions


Achieving the AWS-Developer Certification is a great way for developers to showcase their expertise in developing and maintaining AWS-based applications. It is also a valuable credential for developers who are looking to advance their careers in cloud computing. AWS Certified Developer - Associate certification can help individuals stand out in a competitive job market and can lead to higher salaries and better job opportunities. Additionally, certification holders have access to various resources and exclusive events that can help them stay up-to-date with the latest AWS developments.

 

NEW QUESTION # 24
Which of the following device names is recommended for an EBS volume that can be attached to an Amazon EC2 Instance running Windows?

  • A. /dev/sda1
  • B. /mnt/sd[b-e]
  • C. xvd[f-p]
  • D. xvd[a-e]

Answer: C

Explanation:
The xvd[f-p] is the recommended device name for EBS volumes that can be attached to the Amazon EC2 Instances running on Windows.
http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/device_naming.html


NEW QUESTION # 25
You are providing AWS consulting services for a company developing a new mobile application that will be leveraging Amazon SNS Mobile Push for push notifications. In order to send direct notification messages to individual devices each device registration identifier or token needs to be registered with SNS; however the developers are not sure of the best way to do this.
You advise them to:

  • A. Implement a token vending service to handle the registration.
  • B. Call the CreatePlatformEndPoint API function to register multiple device tokens.
  • C. Bulk upload the device tokens contained in a CSV file via the AWS Management Console.
  • D. Let the push notification service (e.g. Amazon Device Messaging) handle the registration.

Answer: D


NEW QUESTION # 26
A Developer is designing a fault-tolerant environment where client sessions will be saved.
How can the Developer ensure that no sessions are lost if an Amazon EC2 instance fails?

  • A. Use Amazon SQS to save session data.
  • B. Use Elastic Load Balancer connection draining to stop sending requests to failing instances.
  • C. Use sticky sessions with an Elastic Load Balancer target group.
  • D. Use Amazon DynamoDB to perform scalable session handling.

Answer: C


NEW QUESTION # 27
A Developer is writing an application that runs on Amazon EC2 instances in an Auto scaling group. The application data is stored in an Amazon DynamoDB table and records are constantly updated by all instances. An instance sometimes retrieves old dat
a. The Developer wants to correct this by making sure the reads are strongly consistent.
How can the developer accomplish this?

  • A. Set consistentRead to true when calling Getitem.
  • B. Set consistency to strong when calling Update Table.
  • C. Create a new DynamoDB Accelerator (DAX) table.
  • D. Use the Getshardlterator command.

Answer: A

Explanation:
Reference:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
HowItWorks.ReadConsistency.html


NEW QUESTION # 28
An existing serverless application processes uploaded image files. The process currently uses a single Lambda function that takes an image file, performs the processing, and stores the file in Amazon S3. Users of the application now require thumbnail generation of the images. Users want to avoid any impact to the time it takes to perform the image uploads.
How can thumbnail generation be added to the application, meeting user requirements while minimizing changes to existing code?

  • A. Change the existing Lambda function handling the uploads to create thumbnails at the time of upload. Have the function store both the image and thumbnail in Amazon S3.
  • B. Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails.
  • C. Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.
  • D. Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails.

Answer: B

Explanation:
https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html


NEW QUESTION # 29
Which features can be used to restrict access to data in S3? (Choose two.)

  • A. Set an S3 ACL on the bucket or the object.
  • B. Create a CloudFront distribution for the bucket
  • C. Use S3 Virtual Hosting
  • D. Enable IAM Identity Federation.
  • E. Set an S3 Bucket policy.

Answer: A,E


NEW QUESTION # 30
A root AWS account owner has created three IAM users: Bob, John and Michael. Michael is the IAM administrator. Bob and John are not the superpower users, but users with some pre-defined policies. John does not have access to modify his password. Thus, he asks Bob to change his password. How can Bob change John's password?

  • A. This statement is false. It should be Michael who changes the password for John
  • B. Provided Bob is the manager of John
  • C. Provided Michael has added Bob to a group, which has permissions to modify the IAM passwords
  • D. It is not possible that John cannot modify his password

Answer: C

Explanation:
Generally with IAM users, the password can be modified in two ways. The first option is to define the IAM level policy which allows each user to modify their own passwords. The other option is to create a group and create a policy for the group which can change the passwords of various IAM users.
http://docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html


NEW QUESTION # 31
Which of the following is chosen as the default region when making an API call with an AWS SDK?

  • A. us-west-2
  • B. us-central-1
  • C. eu-west-1
  • D. ap-northeast-1
  • E. us-east-1

Answer: E


NEW QUESTION # 32
A company is launching an ecommerce website and will host the static data in Amazon S3. The company expects approximately 1 000 transactions per second (TPS) for GET and PUT requests in total. Logging must be enabled to track all requests and must be retained for auditing purposes.
What is the MOST cost-effective solution?

  • A. Enable AWS CloudTrail logging for the S3 bucket-level action and create a lifecycle policy to move the data from the log bucket to Amazon S3 Glacier in 90 days
  • B. Enable AWS CloudTrail logging for the S3 bucket-level action and create a lifecycle policy to expire the data in 90 days
  • C. Enable S3 server access logging and create a lifecycle policy to move the data to Amazon S3 Glacier in
    90 days.
  • D. Enable S3 server access logging and create a lifecycle policy to expire the data in 90 days

Answer: B


NEW QUESTION # 33
A Developer is writing a REST service that will add items to a shopping list. The service is built on Amazon API Gateway with AWS Lambda integrations. The shopping list items are send as query string parameters in the method request.
How should the Developer convert the query string parameters to arguments for the Lambda function?

  • A. Enable request validation
  • B. Create a mapping template
  • C. Change the integration type
  • D. Include the Amazon Resource Name (ARN) of the Lambda function

Answer: C

Explanation:
Explanation/Reference: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-step-by- step.html


NEW QUESTION # 34
Regarding Amazon SWF, at times you might want to record information in the workflow history of a workflow execution that is specific to your use case. _________ enable you to record information in the workflow execution history that you can use for any custom or scenario-specific purpose.

  • A. Markers
  • B. Hash keys
  • C. Tags
  • D. Events

Answer: A

Explanation:
In Amazon SWF, at times you might want to record information in the workflow history of a workflow execution that is specific to your use case. Markers enable you to record information in the workflow execution history that you can use for any custom or scenario-specific purpose.
http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-adv.html


NEW QUESTION # 35
A current architecture uses many Lambda functions invoking one another as large state machine. The coordination of this state machine is legacy custom code that breaks easily.
Which AWS Service can help refactor and manage the state machine?

  • A. Amazon Elastic MapReduce
  • B. AWS SNS with AWS SQS
  • C. AWS Step Functions
  • D. AWS Data Pipeline

Answer: C


NEW QUESTION # 36
A company runs an e-commerce website that uses Amazon DynamoDB where pricing for items is dynamically updated in real time. At any given time, multiple updates may occur simultaneously for pricing information on a particular product. This is causing the original editor's changes to be overwritten without a proper review process.
Which DynamoDB write option should be selected to prevent this overwriting?

  • A. Conditional writes
  • B. Atomic writes
  • C. Concurrent writes
  • D. Batch writes

Answer: A

Explanation:
Explanation
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html#WorkingWithIte


NEW QUESTION # 37
A developer needs to create an application that supports Security Assertion Markup Language (SAML) and Facebook authentication It must also allow access to AWS services, such as Amazon DynamoDB.
Which AWS service or feature will meet these requirements with the LEAST amount of additional coding?

  • A. Amazon Cognito identity pools
  • B. AWSAppSync
  • C. Amazon Lambda@Edge
  • D. Amazon Cognito user pools

Answer: D


NEW QUESTION # 38
A Developer has been asked to create an AWS Lambda function that is triggered any time updates are made to items in an Amazon DynamoDB table. The function has been created, and appropriate permissions have been added to the Lambda execution role. Amazon DynamoDB streams have been enabled for the table, but the function is still not being triggered.
Which option would enable DynamoDB table updates to trigger the Lambda function?

  • A. Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table
  • B. increase the maximum execution time (timeout) setting of the Lambda function
  • C. Map an Amazon SNS topic to the DynamoDB streams
  • D. Configure event source mapping for the Lambda function

Answer: D

Explanation:
https://docs.aws.amazon.com/en_us/amazondynamodb/latest/developerguide/Streams.Lambda.Tutorial.html
Create an event source mapping to tell Lambda to send records from your stream to a Lambda function. You can create multiple event source mappings to process the same data with multiple Lambda functions, or process items from multiple streams with a single function.


NEW QUESTION # 39
A company is using AWS CodePipeline to deliver one of its applications. The delivery pipeline is triggered by changes to the master branch of an AWS CodeCommit repository and uses AWS CodeBuild to implement the test and build stages of the process and AWS CodeDeploy to deploy the application.
The pipeline has been operating successfully for several months and there have been no modifications.
Following a recent change to the application's source code, AWS CodeDeploy has not deployed the updates application as expected.
What are the possible causes? (Choose two.)

  • A. One of the earlier stages in the pipeline failed and the pipeline has terminated.
  • B. One of the Amazon EC2 instances in the company's AWS CodePipeline cluster is inactive.
  • C. AWS CodePipeline does not have permissions to access AWS CodeCommit.
  • D. The AWS CodePipeline is incorrectly configured and is not executing AWS CodeDeploy.
  • E. The change was not made in the master branch of the AWS CodeCommit repository.

Answer: A,E


NEW QUESTION # 40
An account owner has created an IAM user with the name pass4test. The account owner wants to give EC2 access of only the US West region to that IAM user. How can the owner configure this?

  • A. While creating a policy provide the region as a part of the resources
  • B. It is not possible to provide access based on the region
  • C. Create an IAM user in the US West region and give access to EC2
  • D. Create an IAM policy and define the region in the condition

Answer: D

Explanation:
The IAM policy is never region specific. If the user wants to configure the region specific setting, he needs to provide conditions as part of the policy.
http://awspolicygen.s3.amazonaws.com/policygen.html


NEW QUESTION # 41
A Developer wants to debug an application by searching and filtering log dat
a. The application logs are stored in Amazon CloudWatch Logs. The Developer creates a new metric filter to count exceptions in the application logs. However, no results are returned from the logs.
What is the reason that no filtered results are being returned?

  • A. Metric data points for logs groups can be filtered only after they are exported to an Amazon S3 bucket
  • B. CloudWatch Logs only publishes metric data for events that happen after the filter is created
  • C. The log group for CloudWatch Logs should be first streamed to Amazon Elasticsearch Service before metric filtering returns the results
  • D. A setup of the Amazon CloudWatch interface VPC endpoint is required for filtering the CloudWatch Logs in the VPC

Answer: B

Explanation:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html


NEW QUESTION # 42
After restoring an Amazon RDS snapshot from 3 days ago, a company's Development team cannot connect to the restored RDS DB instance. What is the likely cause of this problem?

  • A. The production DB instance is using a custom parameter group
  • B. The production DB instance is using a custom option group
  • C. The restored DB instance does not have Enhanced Monitoring enabled
  • D. The restored DB instance is using the default security group

Answer: A


NEW QUESTION # 43
A developer is creating a script to automate the deployment process for a serverless application. The developer wants to use an existing AWS Serverless Application Model (AWS SAM) template for the application
What should the developer use for the project? (Select TWO)

  • A. Call sam package to create the deployment package Call sam deploy to deploy the package afterward
  • B. Create a ZIP package locally and call aws serverlessrepo create-applicarion to create the application.
  • C. Callaws cloudformation package to create the deployment package Call aws cloudformation deploy to deploy the package afterward.
  • D. Create a ZIP package and upload it to Amazon S3 Callaws cloudfonnation create-stack to create the application
  • E. Callaws s3 cp to upload the AWS SAM template to Amazon S3 Call aws lambda update-function-code to create the application.

Answer: A,E


NEW QUESTION # 44
In relation to Amazon SQS, how many queues and messages can you have per queue for each user?

  • A. 0
  • B. 1
  • C. Unlimited
  • D. 2

Answer: C

Explanation:
Amazon SQS supports an unlimited number of queues and unlimited number of messages per queue for each user. Please be aware that Amazon SQS automatically deletes messages that have been in the queue for more than 4 days.
Reference: https://aws.amazon.com/items/1343?externalID=1343


NEW QUESTION # 45
A Developer wants to enable AWS X-Ray for a secure application that runs in an Amazon ECS environment.
What combination of steps will enable X-Ray? (Select THREE.)

  • A. Register the application with X-Ray.
  • B. Install the X-Ray daemon on the underlying EC2 instance.
  • C. Create a Docker image that runs the X-Ray daemon.
  • D. Add instrumentation to the application code for X-Ray.
  • E. Configure and use an IAM role for tasks.
  • F. Configure and use an IAM EC2 instance role.

Answer: A,B,D


NEW QUESTION # 46
A Developer must trigger an AWS Lambda function based on the item lifecycle activity in an Amazon DynamoDB table.
How can the Developer create the solution?

  • A. Enable a DynamoDB stream, and trigger the Lambda function synchronously from the stream.
  • B. Enable a DynamoDB stream, and trigger the Lambda function asynchronously from the stream.
  • C. Enable a DynamoDB stream that publishes an Amazon SNS message. Trigger the Lambda function synchronously from the SNS message.
  • D. Enable a DynamoDB stream that publishes an SNS message. Trigger the Lambda function asynchronously from the SNS message.

Answer: A

Explanation:
https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html


NEW QUESTION # 47
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?

  • A. Rolling update
  • B. Immutable update
  • C. User data
  • D. .ebextensions

Answer: D

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


NEW QUESTION # 48
......

Truly Beneficial For Your Amazon Exam: https://www.freepdfdump.top/AWS-Developer-valid-torrent.html

Real AWS-Developer Exam Questions and Answers FREE: https://drive.google.com/open?id=1LiWz86KGIlRUMdLnGFd3FNSo4XiJ16EM