Practice Test for AWS-Developer Certification Real 2024 Mock Exam
Prepare For Realistic AWS-Developer Dumps PDF - 100% Passing Guarantee
The AWS Certified Developer - Associate exam assesses the candidate's proficiency in writing, deploying, and debugging cloud-based applications using AWS services. AWS-Developer exam measures the candidate's ability to code and use AWS services like AWS Lambda, Elastic Beanstalk, Amazon S3, Amazon DynamoDB, and more. Apart from these services, the exam also evaluates the candidate's knowledge of AWS security practices, deployment models, and troubleshooting techniques.
To be eligible for the AWS-Certified-Developer-Associate certification exam, candidates should have at least one year of experience developing and maintaining AWS-based applications. They should also have a solid understanding of one or more programming languages, such as Java, Python, or Ruby. Additionally, candidates should be familiar with AWS services like Elastic Beanstalk, DynamoDB, and Lambda.
NEW QUESTION # 25
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 restored DB instance does not have Enhanced Monitoring enabled
- B. The production DB instance is using a custom parameter group
- C. The production DB instance is using a custom option group
- D. The restored DB instance is using the default security group
Answer: B
NEW QUESTION # 26
A Developer is making changes to a custom application that is currently using AWS Elastic Beanstalk.
After the Developer completes the changes, what solutions will update the Elastic Beanstalk environment with the new application version? (Choose two.)
- A. Package the application code into a .zip file, create a new application version from the packaged application by using AWS CLI, then update the environment by using AWS CLI
- B. Package the application code into a .tar file, and upload and deploy the packaged application from the AWS Management Console
- C. Package the application code into a .tar file, create a new application version from the AWS Management Console, then update the environment by using AWS CLI
- D. Package the application code into a .zip file, and upload, then deploy the packaged application from the AWS Management Console
- E. Package the application code into a .zip file, create a new application version from the AWS Management Console, then rebuild the environment by using AWS CLI
Answer: A,B
NEW QUESTION # 27
The user has configured AutoScaling based on the dynamic policy. Which of the following is not the right command to specify a change in capacity as a part of the policy?
- A. "adjustment=-8" (type is ExactCapacity)
- B. "adjustment=-50" (type is PercentChangeInCapacity)
- C. "adjustment=3" (type is ExactCapacity)
- D. "adjustment=-1" (type is ChangeInCapacity)
Answer: A
Explanation:
The user can configure the AutoScaling group to automatically scale up and then scale down based on the various specified CloudWatch monitoring conditions. The user needs to provide the adjustment value and the adjustment type. A positive adjustment value increases the current capacity and a negative adjustment value decreases the current capacity. The user can express the change to the current size as an absolute number, an increment or as a percentage of the current group size. In this option specifying the exact capacity with the adjustment value = -8 will not work as when type is exact capacity the adjustment value cannot be negative.
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html
NEW QUESTION # 28
A company's ecommerce website is experiencing massive traffic spikes, which are causing performance problems in the company database. Users are reporting that accessing the website takes a long time
A developer wants to implement a caching layer using Amazon ElastiCache. The website is required to be responsive no matter which product a user views, and the updates to product information and prices must be strongly consistent
- A. Write to the cache directly and sync the backend at a later time.
- B. Which cache writing policy will satisfy these requirements?
- C. Write to the backend first and invalidate the cache
- D. Write to the cache and the backend at the same time
- E. Write to the backend first and wait for the cache to expire.
Answer: C
NEW QUESTION # 29
An Amazon DynamoDB table uses a Global Secondary Index (GSI) to support read queries. The primary table is write-heavy, whereas the GSI is used for read operations. Looking at Amazon CloudWatch metrics, the Developer notices that write operations to the primary table are throttled frequently under heavy write activity.
However, write capacity units to the primary table are available and not fully consumed.
Why is the table being throttled?
- A. There are not enough read capacity units on the primary table
- B. Amazon DynamoDB Streams is not enabled on the table
- C. The GSI write capacity units are underprovisioned
- D. A large write operation is being performed against another table
Answer: C
Explanation:
Explanation
https://stackoverflow.com/questions/39582752/do-global-secondary-index-gsi-in-dynamodb-impact-tables-provi
https://medium.com/@synchrophoto/amazon-dynamodb-provisioning-write-capacity-for-global-secondary-index
NEW QUESTION # 30
An e-commerce site allows returning users to log in to display customized web pages. The workflow is shown in the image below:
An application is running on EC2 instances. Amazon RDS is used for the database that stores user accounts and preferences. The website freezes or is slow to load while waiting for the login step to complete. The remaining components of the site are well-optimized.
Which of the following techniques will resolve this issue? (Choose two.)
- A. Batch login requests from hundreds of users together as a single read request to the database.
- B. Implement the user login page as an asynchronous Lambda function.
- C. Use Amazon ElastiCache for MemCached to cache user data.
- D. Call the database asynchronously so the code can continue executing.
- E. Use an Amazon Application Load Balancer to load balance the traffic to the website.
Answer: C,D
NEW QUESTION # 31
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: A
NEW QUESTION # 32
A developer is migrating code to an AWS Lambda function that will access an Amazon Aurora MySQL database.
What is the MOST secure way to authenticate the function to the database?
- A. Store the database credentials as encrypted parameters in AWS Systems Manager Parameter Store Obtain the credentials from Systems Manager when the Lambda function needs to connect to the database
- B. Create a policy with rds-db connect access to the database and attach it to the role assigned to the Lambda function
- C. Store the database credentials in AWS Secrets Manager Let Secrets Manager handle the rotation of the credentials, as required
- D. Store the database credentials in an Amazon S3 bucket that has a restrictive bucket policy for the Lambda role only when accessing the credentials Use AWS KMS to encrypt the data
Answer: C
NEW QUESTION # 33
A Developer executed a AWS CLI command and received the error shown below:
What action should the Developer perform to make this error human-readable?
- A. Use an open source decoding library to decode the message.
- B. Make a call to AWS KMS to decode the message.
- C. Use the AWS STS decode-authorization-message API to decode the message.
- D. Use the AWS IAM decode-authorization-message API to decode this message.
Answer: C
Explanation:
https://docs.aws.amazon.com/cli/latest/reference/sts/decode-authorization-message.html
The message is encoded because the details of the authorization status can constitute privileged information that the user who requested the operation should not see. To decode an authorization status message, a user must be granted permissions via an IAM policy to request the DecodeAuthorizationMessage (sts:DecodeAuthorizationMessage ) action.
NEW QUESTION # 34
A user is uploading archives to Glacier. The user is trying to understand key Glacier resources. Which of the below mentioned options is not a Glacier resource?
- A. Archive
- B. Job
- C. Notification configuration
- D. Archive ID
Answer: D
Explanation:
AWS Glacier has four resources. Vault and Archives are core data model concepts. Job is required to initiate download of archive. The notification configuration is required to send user notification when archive is available for download.
Reference: http://docs.aws.amazon.com/amazonglacier/latest/dev/amazon-glacier-data-model.html
NEW QUESTION # 35
A Developer is working on an application that tracks hundreds of millions of product reviews in an Amazon DynamoDB table. The records include the data elements shown in the table:
Which field, when used as the partition key, would result in the MOST consistent performance using DynamoDB?
- A. productID
- B. comment
- C. reviewID
- D. starRating
Answer: C
NEW QUESTION # 36
An organization has enabled a strict password policy for its IAM users. The organization is taking help from the IAM console to set the password policy. Which of the below mentioned rules cannot be specified by the user as a part of the policy?
- A. Allow at least one non-alphanumeric character
- B. Allow at least one number
- C. Allow at least one lower case letter
- D. Do not allow the user to use the password from the last three passwords
Answer: D
Explanation:
AWS IAM allows an organization to create multiple users and provide them access to various AWS services. By default when the user is created, he does not have password enabled and can not login to AWS console. If the organization wants to allow the users to login to AWS console, they can enable password for each user. It is required that IAM users follow certain guidelines to set their IAM login password. For this IAM provides root account owner to setup passwrod policy.
The password policy also lets the specify whether all IAM users can change their own passwords.
As part of policy, organization can specify that passwords for IAM users must be of a certain minimum length, must include certain characters, and a few more criteria such as below.
One upper / lower or both letters
One alpha numeric
One number
http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html
NEW QUESTION # 37
An organization has enabled a strict password policy for its IAM users. The organization is taking help from the IAM console to set the password policy. Which of the below mentioned rules cannot be specified by the user as a part of the policy?
- A. Allow at least one non-alphanumeric character
- B. Allow at least one number
- C. Allow at least one lower case letter
- D. Do not allow the user to use the password from the last three passwords
Answer: D
Explanation:
AWS IAM allows an organization to create multiple users and provide them access to various AWS services. By default when the user is created, he does not have password enabled and can not login to AWS console. If the organization wants to allow the users to login to AWS console, they can enable password for each user. It is required that IAM users follow certain guidelines to set their IAM login password. For this IAM provides root account owner to setup passwrod policy.
The password policy also lets the specify whether all IAM users can change their own passwords.
As part of policy, organization can specify that passwords for IAM users must be of a certain minimum length, must include certain characters, and a few more criteria such as below.
One upper / lower or both letters
One alpha numeric
One number
http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html
NEW QUESTION # 38
A Developer is creating an application that needs to locate the public IPv4 address of the Amazon EC2 instance on which it runs. How can the application locate this information?
- A. Get the application to run IFCONFIG to get the public IP address.
- B. Get the instance user data by retrieving http://169.254.169.254/latest/userdata/.
- C. Get the application to run IPCONFIG to get the public IP address.
- D. Get the instance metadata by retrieving http://169.254.169.254/latest/metadata/.
Answer: D
NEW QUESTION # 39
A developer receives the following error message when trying to launch or terminate an Amazon EC2 instance using a boto3 script.
What should the developer do to correct this error message?
- A. Increase the overall network bandwidth to handle higher API request rates.
- B. Implement an exponential backoff algorithm for optimizing the number of API requests made to Amazon EC2.
- C. Assign an IAM role to the EC2 instance to allow necessary API calls on behalf of the client.
- D. Upgrade to the latest AWS CLI version so that boto3 can handle higher request rates.
Answer: B
Explanation:
Explanation/Reference: https://docs.aws.amazon.com/general/latest/gr/api-retries.html
NEW QUESTION # 40
AutoScaling is configured with 3 AZs. Each zone has 5 instances running. If AutoScaling wants to terminate an instance based on the policy action, which instance will it terminate first?
- A. Terminate the first launched instance
- B. Terminate the instance from the AZ which does not have a high AWS load
- C. Terminate the instance from the AZ which has instances running near to the billing hour
- D. Randomly select the instance for termination
Answer: D
Explanation:
Before Auto Scaling selects an instance to terminate, it first identifies the Availability Zone that has more instances than the other Availability Zones used by the group. If all the Availability Zones have the same number of instances, it identifies a random Availability Zone.
http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/us-termination-policy.html
NEW QUESTION # 41
In a move toward using microservices, a company's Management team has asked all Development teams to build their services so that API requests depend only on that service's data store. One team is building a Payments service which has its own database; the service needs data that originates in the Accounts database.
Both are using Amazon DynamoDB.
What approach will result in the simplest, decoupled, and reliable method to get near-real time updates from the Accounts database?
- A. Use Amazon ElastiCache in Payments, with the cache updated by triggers in the Accounts database.
- B. Use Amazon DynamoDB Streams to deliver all changes from the Accounts database to the Payments database.
- C. Use Amazon Glue to perform frequent ETL updates from the Accounts database to the Payments database.
- D. Use Amazon Kinesis Data Firehouse to deliver all changes from the Accounts database to the Payments database.
Answer: B
Explanation:
Reference:
https://aws.amazon.com/blogs/database/how-to-perform-ordered-data-replication-betweenapplications-by-using-
NEW QUESTION # 42
A Developer is trying to make API calls using SDK. The IAM user credentials used by the application require multi-factor authentication for all API calls.
Which method the Developer use to access the multi-factor authentication protected API?
- A. GetFederationToken
- B. GetCallerIdentity
- C. DecodeAutherizationMessage
- D. GetSessionToken
Answer: B
NEW QUESTION # 43
A company is about to migrate an application from its on-premises data center to AWS. As part of the
planning process, the following requirements involving DNS have been identified.
On-premises systems must be able to resolve the entries in an Amazon Route 53 private hosted zone.
Amazon EC2 instances running in the organization's VPC must be able to resolve the DNS names of
on-premises systems
The organization's VPC uses the CIDR block 172.16.0.0/16.
Assuming that there is no DNS namespace overlap, how can these requirements be met?
- A. Deploy and configure a set of EC2 instances into the company VPC to act as DNS proxies. Configure
the proxies to forward queries for the on-premises domain to the on-premises DNS systems, and
forward all other queries to 172.16.0.2. Change the DHCP options set for the VPC to use the new DNS
proxies. Configure the on-premises DNS systems with a stub-zone, delegating the name server
172.16.0.2 as authoritative for the Route 53 private hosted zone. - B. Change the DHCP options set for the VPC to use both the on-premises DNS systems. Configure the
on-premises DNS systems with a stub-zone, delegating the Route 53 private hosted zone's name
servers as authoritative for the Route 53 private hosted zone. - C. Change the DHCP options set for the VPC to use both the Amazon-provided DNS server and the on-
premises DNS systems. Configure the on-premises DNS systems with a stub-zone, delegating the
name server 172.16.0.2 as authoritative for the Route 53 private hosted zone. - D. Deploy and configure a set of EC2 instances into the company VPC to act as DNS proxies. Configure
the proxies to forward queries for the on-premises domain to the on-premises DNS systems, and
forward all other queries to the Amazon-provided DNS server (172.16.0.2). Change the DHCP options
set for the VPC to use the new DNS proxies. Configure the on-premises DNS systems with a stub-
zone, delegating the proxies as authoritative for the Route 53 private hosted zone.
Answer: D
NEW QUESTION # 44
A Developer created configuration specifications for an AWS Elastic Beanstalk application in a file named healthcheckurl.yaml in the .ebextensions/directory of their application source bundle. The file contains the following:
After the application launches, the health check is not being run on the correct path, event though it is valid.
What can be done to correct this configuration file?
- A. Convert the file to JSON format.
- B. Rename the file to a .config extension.
- C. Change the configuration section from options_settings to resources.
- D. Change the namespace of the option settings to a cusom namespace.
Answer: C
NEW QUESTION # 45
A large e-commerce site is being designed to deliver static objects from Amazon S3. The Amazon S3 bucket will server more than 300 GET requests per second. What should be done to optimize performance? (Select TWO.)
- A. Enable Amazon S3 cross-region replication.
- B. Delete expired Amazon S3 server log files.
- C. Randomize Amazon S3 key name prefixes.
- D. Integrate Amazon CloudFront with Amazon S3.
- E. Configure Amazon S3 lifecycle rules.
Answer: A,D
Explanation:
http://jayendrapatil.com/aws-s3-best-practices/
NEW QUESTION # 46
......
To prepare for the AWS Certified Developer - Associate Exam, you should have a solid understanding of AWS core services such as EC2, S3, and RDS. You should also be familiar with AWS security and best practices for developing cloud-based applications. There are many online resources available to help you prepare for the exam, including AWS documentation, online courses, and practice exams.
Download AWS-Developer Exam Dumps Questions to get 100% Success: https://www.ipassleader.com/Amazon/AWS-Developer-practice-exam-dumps.html
Check the Available AWS-Developer Exam Dumps with 67 QA's: https://drive.google.com/open?id=19JHgs9LyTvJOV-iGSp0u3qpFLtJgmeVX