AWS-Certified-Developer-Associate Premium Bundle

AWS-Certified-Developer-Associate Premium Bundle

AWS Certified Developer Associate Certification Exam

4.5 
(17655 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
January 4, 2025Last update

Amazon AWS-Certified-Developer-Associate Free Practice Questions

Q1. What is the maximum time messages can be stored in SQS?

A. 14 days

B. one month

C. 4 days

D. 7 days 

Answer: A

Explanation:

A message can be stored in the Simple Queue Service (SQS) from 1 minute up to a maximum of 14 days. Reference: http://aws.amazon.com/sqs/faqs/#How_Iong_can_I_keep_my_messages_in_Amazon_SQS_queues

Q2. In regard to DynamoDB, which of the following statements is correct?

A. An Item should have at least two value sets, a primary key and another attribute.

B. An Item can have more than one attributes.

C. A primary key should be single-valued.

D. An attribute can have one or several other attributes. 

Answer: B

Explanation:

In Amazon DynamoDB, a database is a collection of tables. A table is a collection of items and each item

is a collection of attributes.

Reference:        http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModeI.html

Q3. A user has launched an EC2 instance. However, due to some reason the instance was terminated. If the user wants to find out the reason for termination, where can he find the details?

A. The user can get information from the AWS console, by checking the Instance description under the State transition reason label

B. The user can get information from the AWS console, by checking the Instance description under the Instance Termination reason label

C. The user can get information from the AWS console, by checking the Instance description under the Instance Status Change reason label

D. It is not possible to find the details after the instance is terminated 

Answer: A

Explanation:

An EC2 instance, once terminated, may be available in the AWS console for a while after termination. The user can find the details about the termination from the description tab under the label State transition reason. If the instance is still running, there will be no reason listed. If the user has explicitly stopped or terminated the instance, the reason will be "User initiated shutdown".

Reference: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_|nstanceStraightToTerminated.html

Q4. In DynamoDB, to get a detailed listing of secondary indexes on a table, you can use the action.

A. DescribeTabIe

B. BatchGetItem

C. Getltem

D. TabIeName 

Answer: A

Explanation:

In DynamoDB, DescribeTab|e returns information about the table, including the current status ofthe table, when it was created, the primary key schema, and any indexes on the table.

Reference: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Secondarylndexes.htmI

Q5. In DynamoDB, a secondary index is a data structure that contains a subset of attributes from a table, along with an alternate key to support operations.

A. None of the above

B. Both

C. Query

D. Scan

Answer: C

In DynamoDB, a secondary index is a data structure that contains a subset of attributes from a table, along with an alternate key to support Query operations.

Reference: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Secondarylndexes.htmI

Q6. You are building an online store on AWS that uses SQS to process your customer orders. Your backend system needs those messages in the same sequence the customer orders have been put in. How can

you achieve that?

A. You can do this with SQS but you also need to use SWF

B. Messages will arrive in the same order by default

C. You can use sequencing information on each message

D. It is not possible to do this with SQS 

Answer: C

Explanation:

Amazon SQS is engineered to always be available and deliver messages. One of the resulting tradeoffs is that SQS does not guarantee first in, first out delivery of messages. For many distributed applications, each message can stand on its own, and as long as all messages are delivered, the order is not important. If your system requires that order be preserved, you can place sequencing information in each message,

so that you can reorder the messages when the queue returns them. Reference:

http://docs.aws.amazon.com/AWSSimpIeQueueService/latest/SQSDeveIoperGuide/\NeIcome.html

Q7. What happens if your application performs more reads or writes than your provisioned capacity?

A. Nothing

B. requests above your provisioned capacity will be performed but you will receive 400 error codes.

C. requests above your provisioned capacity will be performed but you will receive 200 error codes.

D. requests above your provisioned capacity will be throttled and you will receive 400 error codes. 

Answer: D

Explanation:

Speaking about DynamoDB, if your application performs more reads/second or writes/second than your tabIe’s provisioned throughput capacity allows, requests above your provisioned capacity will be throttled and you will receive 400 error codes.

Reference: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputlntro.htmI

Q8. A user has created an RDS instance with MySQL. The user is using the HeidiSQL client to connect with the RDS DB. The client is unable to connect to DB from his home machine. What is a possible reason for the failure?

A. The user has to open port 80 in the RDS security group to connect with RDS DNS

B. The security group is not configured to allow a request from the user’s IP on port 3306

C. You can never connect to RDS from your desktop

D. The user has to open port 22 in the RDS security group to connect with RDS DNS 

Answer: B

Explanation:

If the user needs to connect to RDS then he has to open port 3306 in the RDS security group for his IP address.

Reference:       http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html

Q9. A user is configuring the HTTPS protocol on a front end ELB and the SSL protocol for the back-end listener in ELB. What will ELB do?

A. It will allow you to create the configuration, but the instance will not pass the health check

B. Receives requests on HTTPS and sends it to the back end instance on SSL

C. It will not allow you to create this configuration

D. It will allow you to create the configuration, but ELB will not work as expected 

Answer: C

Explanation:

If a user is configuring HTTPS on the front end and TCP on the back end, ELB will not allow saving these listeners and will respond with the message.

"Load Balancer protocol is an application layer protocol, but instance protocol is not. Both the Load Balancer protocol and the instance protocol should be at the same layer. Please fix."

Reference:

http://docs.aws.amazon.com/EIasticLoadBaIancing/latest/DeveIoperGuide/elb-troubleshooting.htmI

Q10. In AWS Elastic Beanstalk, if the application returns any response other than 200 ,OK or there is no response within the configured InactMtyTimeout period, .

A. SQS once again makes the message visible in the queue and available for another attempt at processing

B. SQS waits for another timeout

C. SQS run DeIeteMessagecaII and deletes the message from the queue

D. SQS sends a message to the application with the lVIessageID and pending status 

Answer: A

Explanation:

In AWS Elastic Beanstalk, if the application returns any response other than 200, OK or there is no response within the configured InactMtyTimeout period, SQS once again makes the message visible in the queue and available for another attempt at processing.

Reference:

http://docs.aws.amazon.com/elasticbeanstaIk/latest/dg/using-features-managing-env-tiers.htmI#worker-e nviron

Q11. A user has enabled the automated backup, but not specified the backup window. What will RDS do in this case?

A. Will throw an error on instance launch

B. RDS will take 3 AM — 3:30 AM as the default window

C. RDS assigns a random time period based on the region

D. Will not allow to launch a DB instance 

Answer: C

Explanation:

If the user does not specify a preferred backup window while enabling an automated backup, Amazon RDS assigns a default 30-minute backup window which is selected at random from an 8-hour block of

time per region. Reference:

http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.BackingUpAndRestoringAmazonR DSInstances.htmI

Q12. A user is planning to host MS SQL on an EBS volume. It was recommended to use the AWS RDS. What advantages will the user have if he uses RDS in comparison to an EBS based DB?

A. Better throughput with PIOPS

B. Automated backup

C. NIS SQL is not supported with RDS

D. High availability with multi AZs 

Answer: B

Explanation:

Comparing with on-premises or EC2 based NIS SQL, RDS provides an automated backup feature. PIOPS is available with both RDS and EBS. However, HA is not available with NIS SQL.

Reference: https://aws.amazon.com/rds/faqs/

Q13. In relation to Amazon SQS, how many queues and messages can you have per queue for each user?

A. Unlimited

B. 10

C. 256

D. 500

Answer:

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?externaIID=1343

Q14. How can a user configure three termination policies for the AutoScaIing group?

A. Define multiple policies in random order

B. Define multiple policies in the ordered list

C. Keep updating the AutoScaIing group with each policy

D. The user cannot specify more than two policies for AutoScaIing 

Answer: B

Explanation:

To configure the Auto Scaling termination policy, the user can either specify any one of the policies as a standalone policy or list multiple policies in an ordered list. The policies are executed in the order that they are listed.

Reference:        http://docs.aws.amazon.com/AutoScaIing/latest/DeveIoperGuide/us-termination-policy.html

Q15. Can you configure an RDS Read Replica using CIoudFormation templates?

A. Yes, provided that you have root access.

B. Yes, when you create a new CIoudFormation template

C. Yes, but not for all Regions.

D. No, you can add the ReadRepIica only when the resource is made available by CIoudFormation 

Answer: B

Explanation:

AWS CIoudFormation gives developers and systems administrators an easy way to create and manage collections of AWS resources. You can now set Read Replicas for your databases with RDS when you create a new C|oudFormation tempIate.You can start using it with the sample template of C|oudFormation.

Reference:

https://s3.amazonaws.com/cloudformation-templates-us-east-1/RDS_MySQL_With_Read_RepIica.tempI

START AWS-Certified-Developer-Associate EXAM