AWS-Certified-Developer-Associate Premium Bundle

AWS-Certified-Developer-Associate Premium Bundle

AWS Certified Developer Associate Certification Exam

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

Amazon AWS-Certified-Developer-Associate Free Practice Questions

Q1. When should a user try to Force Detach an EBS volume?

A. If the volume is stuck in a detaching state

B. If the volume is not accessible from the instance

C. If the volume is not unmounted and the user still wants to detach

D. If the volume is a root volume 

Answer: A

Explanation:

If an EBS volume stays in the detaching state, the user can force the detachment by clicking Force Detach. Forcing the detachment can lead to either data loss or a corrupted file system. The user should use this option only as a last resort to detach a volume from a failed instance or if he is detaching a volume with the intention of deleting it.

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

Q2. You have been given a scope to deploy some AWS infrastructure for a large orgAMsation. The requirements are that you will have a lot of EC2 instances but may need to add more when the average utilization of your Amazon EC2 fileet is high and conversely remove them when CPU utilization is low. Which AWS services would be best to use to accomplish this?

A. Amazon CIoudFront, Amazon CIoudWatch and Elastic Load Balancing.

B. Auto Scaling, Amazon CIoudWatch and AWS CIoudTraiI.

C. Auto Scaling, Amazon CIoudWatch and Elastic Load Balancing.

D. Auto Scaling, Amazon CIoudWatch and AWS Elastic Beanstalk 

Answer: C

Explanation:

Auto Scaling enables you to follow the demand curve for your applications closely, reducing the need to manually provision Amazon EC2 capacity in advance. For example, you can set a condition to add new Amazon EC2 instances in increments to the Auto Scaling group when the average utilization of your Amazon EC2 fileet is high; and similarly, you can set a condition to remove instances in the same increments when CPU utilization is low. If you have predictable load changes, you can set a schedule through Auto Scaling to plan your scaling actMties. You can use Amazon CIoudWatch to send alarms to trigger scaling actMties and Elastic Load Balancing to help distribute traffic to your instances within Auto Scaling groups. Auto Scaling enables you to run your Amazon EC2 fileet at optimal utilization.  Reference: http://aws.amazon.com/autoscaIing/

Q3. In relation to Amazon Simple Workflow Service (Amazon SWF),what is an "ActMty Worker"?

A. An indMdual task undertaken by a workflow

B. The automation of a business process

C. A piece of software that implements tasks

D. All answers listed are correct 

Answer: C

Explanation:

In relation to Amazon Simple Workflow Service (Amazon SWF), an actMty worker is a program that receives actMty tasks, performs them, and provides results back. Which translates to a piece of software that implements tasks.

Reference:        http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-develop-actMty.html

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

Q5. A user has launched an EC2 instance and installed a website with the Apache webserver. The webserver is running but the user is not able to access the website from the internet. What can be the possible reason for this failure?

A. The security group of the instance is not configured properly.

B. The instance is not configured with the proper key-pairs.

C. The Apache website cannot be accessed from the internet.

D. Instance is not configured with an elastic IP. 

Answer: A

Explanation:

In Amazon Web Services, when a user has configured an instance with Apache, the user needs to ensure that the ports in the security group are opened as configured in Apache config. E.g. If Apache is running on port 80, the user should open port 80 in the security group.

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

Q6. In DynamoDB, if you create a table and request 10 units of write capacity and 200 units of read capacity of provisioned throughput, how much would you be charged in US East (Northern Virginia) Region?

A. $0.05 per hour

B. $0.10 per hour

C. $0.03 per hour

D. $0.15 per hour 

Answer: A

Explanation:

To understand pricing in DynamoDB, consider the following example. If you create a table and request 10 units of write capacity and 200 units of read capacity of provisioned throughput, you would be charged:

$0.01 + (4 x $0.01) = $0.05 per hour

Reference: http://aws.amazon.com/dynamodb/pricing/

Q7. You want to have multiple versions of your application running at the same time, with all versions launched via AWS Elastic Beanstalk. Is this possible?

A. No. However if you have 2 AWS accounts this can be done

B. No. AWS Elastic Beanstalk is not designed to support multiple running environments

C. Yes. AWS Elastic Beanstalk is designed to support a number of multiple running environments

D. Yes. However AWS Elastic Beanstalk is designed to support only 2 multiple running environments 

Answer: C

Explanation:

AWS Elastic Beanstalk is designed to support multiple running environments. As an example you could have one for integration testing, one for pre-production, and one for production, with each environment independently configured and running on its own separate AWS resources.

Reference: https://aws.amazon.com/elasticbeansta|k/faqs/

Q8. A user has created a MySQL RDS instance with PIOPS. Which of the below mentioned statements will help user understand the advantage of PIOPS?

A. The user can achieve additional dedicated capacity for the EBS I/O with an enhanced RDS option

B. It uses optimized EBS volumes and optimized configuration stacks

C. It provides a dedicated network bandwidth between EBS and RDS

D. It uses a standard EBS volume with optimized configuration the stacks 

Answer: B

Explanation:

RDS DB instance storage comes in two types: standard and provisioned IOPS. Standard storage is allocated on the Amazon EBS volumes and connected to the user’s DB instance. Provisioned IOPS uses optimized EBS volumes and an optimized configuration stack. It provides additional, dedicated capacity for the EBS I/O.

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

Q9. In Amazon SNS, to send push notifications to mobile devices using Amazon SNS and ADM, you need to obtain the following, except:

A. Client secret

B. Client ID

C. Device token

D. Registration ID 

Answer: C

Explanation:

To send push notifications to mobile devices using Amazon SNS and ADM, you need to obtain the following: Registration ID and Client secret.

Reference:       http://docs.aws.amazon.com/sns/latest/dg/SNSMobiIePushPrereq.htmI

Q10. Which of the below mentioned options can be a good use case for storing content in AWS RRS?

A. Storing mission critical data Files

B. Storing infrequently used log files

C. Storing a video file which is not reproducible

D. Storing image thumbnails 

Answer: D

Explanation:

AWS RRS provides the same functionality as AWS S3, but at a cheaper rate. It is ideally suited for non-mission, critical applications, such as files which can be reproduced.

Reference:      http://docs.aws.amazon.com/AmazonS3/Iatest/dev/UsingRRS.htmI

Q11. A user is trying to find the state of an S3 bucket with respect to versioning. Which of the below mentioned states AWS will not return when queried?

A. versioning-enabled

B. versioning-suspended

C. unversioned

D. versioned 

Answer: D

Explanation:

S3 buckets can be in one of the three states: unversioned (the default), versioning-enabled or versioning-suspended. The bucket owner can configure the versioning state of a bucket. The versioning state applies to all (never some) of the objects in that bucket. The first time owner enables a bucket for versioning, objects in it are thereafter always versioned and given a unique version ID.

Reference:      http://docs.aws.amazon.com/AmazonS3/Iatest/dev/Versioning.htmI

Q12. Can one instance be registered with two ELBs in the same region?

A. No

B. Yes, provided both ELBs have the same health check configuration

C. Yes, always

D. Yes, provided both ELBs are in the same AZ 

Answer: C

Explanation:

Yes, it is possible to have one instance part of two separate ELBs, though both ELBs have different configurations. ELBs are never launched in specific zones.

Reference:

http://docs.aws.amazon.com/EIasticLoadBaIancing/latest/DeveIoperGuide/enable-disable-az.html

Q13. A user has created a queue named "myqueue" with SQS. There are four messages published to queue which are not received by the consumer yet. If the user tries to delete the queue, what will happen?

A. A user can never delete a queue manually. AWS deletes it after 30 days of inactMty on queue

B. It will initiate the delete but wait for four days before deleting until all messages are deleted automatically.

C. It will ask user to delete the messages first

D. It will delete the queue 

Answer: D

Explanation:

SQS allows the user to move data between distributed components of applications so they can perform different tasks without losing messages or requiring each component to be always available. The user can delete a queue at any time, whether it is empty or not. It is important to note that queues retain

messages for a set period of time. By default, a queue retains messages for four days. Reference:

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

Q14. 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/

Q15. A user is using an EBS backed instance. Which of the below mentioned statements is true?

A. The user will be charged for volume and instance only when the instance is running

B. The user will be charged for the volume even if the instance is stopped

C. The user will be charged only for the instance running cost

D. The user will not be charged for the volume if the instance is stopped 

Answer: B

Explanation:

If a user has launched an EBS backed instance, the user will be charged for the EBS volume even though the instance is in a stopped state. The instance will be charged for the EC2 hourly cost only when it is running.

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

START AWS-Certified-Developer-Associate EXAM