Act now and download your Amazon AWS-Certified-Developer-Associate test today! Do not waste time for the worthless Amazon AWS-Certified-Developer-Associate tutorials. Download Refresh Amazon AWS Certified Developer Associate exam with real questions and answers and begin to learn Amazon AWS-Certified-Developer-Associate with a classic professional.

Q89. How do you configure SQS to support longer message retention?

A. Set the lVIessageRetentionPeriod attribute using the SetQueueAttributes method

B. Using a Lambda function

C. You can't. It is set to 14 days and cannot be changed

D. You need to request it from AWS 

Answer: A

Explanation:

To configure the message retention period, set the lVIessageRetentionPeriod attribute using the SetQueueAttributes method. This attribute is used to specify the number of seconds a message will be retained by SQS. Currently the default value for the message retention period is 4 days. Using the lVIessageRetentionPeriod attribute, the message retention period can be set anywhere from 60 seconds (1 minute), up to 1209600 seconds (14 days).

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


Q90. In regard to AWS CIoudFormation, what is a stack?

A. The set of AWS templates that are created and managed as a template

B. The set of AWS resources that are created and managed as a template

C. The set of AWS resources that are created and managed as a single unit

D. The set of AWS templates that are created and managed as a single unit 

Answer: C

Explanation:

A stack is the set of AWS resources that are created and managed as a single unit when AWS C|oudFormation initiates a template.

Reference:        http://docs.aws.amazon.com/AWSCIoudFormation/latest/UserGuide/concept-stack.html


Q91. A user is accessing an EC2 instance on the SSH port for IP 10.20.30.40. Which one is a secure way to

configure that the instance can be accessed only from this IP?

A. In the security group, open port 22 for IP 1020.30.40/0

B. In the security group, open port 22 for IP 10.20.30.40/32

C. In the security group, open port 22 for IP 10.20.30.40/24

D. In the security group, open port 22 for IP 10.20.30.40 

Answer: B

Explanation:

In AWS EC2, while configuring a security group, the user needs to specify the IP address in CIDR notation. The CIDR IP range 10.20.30.40/32 says it is for a single IP 10.20.30.40. If the user specifies the IP as 10.20.30.40 only, the security group will not accept and ask it in a CIRD format.

Reference:        http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html


Q92. 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


Q93. A user has launched an EBS backed Linux instance. How can a user detach the root device and attach it to another instance as a secondary volume?

A. Unmount the root volume first and then detach it

B. It is not possible to mount the root volume to some other instance

C. Stop the first instance and then attach instance’s root volume as a new volume to the other instance

D. It is not possible to mount the root device as a secondary volume on the other instance 

Answer: C

Explanation:

If an Amazon EBS volume is the root device of an instance, it cannot be detached unless the instance is in the stopped state.

Reference:        http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html


Q94. An account owner has created an IAM user with the name examkiller. 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. Create an IAM user in the US West region and give access to EC2

C. Create an IAM policy and define the region in the condition

D. It is not possible to provide access based on the region 

Answer: C

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.

Reference:      http://awspolicygen.s3.amazonaws.com/poIicygen.htmI


Q95. Regarding Amazon SQS, are there restrictions on the names of Amazon SQS queues?

A. No

B. Yes. Queue names must be unique within an AWS account and you cannot use hyphens (-) and underscores (_)

C. Yes. Queue names are limited to 80 characters and queue names must be unique within an AWS account

D. Yes. Queue names are limited to 80 characters but queue names do not need to be unique within an AWS account

Answer:

Explanation:

Queue names are limited to 80 characters. Alphanumeric characters plus hyphens (-) and underscores (_) are allowed. Queue names must be unique within an AWS account. After you delete a queue, you can reuse the queue name.

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