AWS-Certified-Developer-Associate Premium Bundle

AWS-Certified-Developer-Associate Premium Bundle

AWS Certified Developer Associate Certification Exam

4.5 
(8205 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
March 4, 2025Last update

Amazon AWS-Certified-Developer-Associate Free Practice Questions

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

Q2. A user is enabling logging on a particular bucket. Which of the below mentioned options may be best suitable to allow access to the log bucket?

A. Create an IAM policy and allow log access

B. It is not possible to enable logging on the S3 bucket

C. Create an IAM Role which has access to the log bucket

D. Provide ACL for the logging group 

Answer: D

Explanation:

The only recommended use case for the S3 bucket ACL is to grant the write permission to the Amazon S3 Log Delivery group to write access log objects to the user’s bucket.

Reference:        http://docs.aws.amazon.com/AmazonS3/latest/dev/access-policy-alternatives-guidelines.html

Q3. A user is planning to use EBS for his DB requirement. The user already has an EC2 instance running in the VPC private subnet. How can the user attach the EBS volume to a running instance?

A. The user must create EBS within the same VPC and then attach it to a running instance.

B. The user can create EBS in the same zone as the subnet of instance and attach that EBS to instance.

C. It is not possible to attach an EBS to an instance running in VPC until the instance is stopped.

D. The user can specify the same subnet while creating EBS and then attach it to a running instance. 

Answer: B

Explanation:

A Virtual Private Cloud (VPC) is a virtual network dedicated to the user’s AWS account. The user can create subnets as per the requirement within a VPC. The VPC is always specific to a region. The user can create a VPC which can span multiple Availability Zones by adding one or more subnets in each Availability Zone.

The instance launched will always be in the same availability zone of the respective subnet. When creating an EBS the user cannot specify the subnet or VPC. However, the user must create the EBS in the same zone as the instance so that it can attach the EBS volume to the running instance.

Reference:        http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.htm|#VPCSubnet

Q4. You cannot access your AWS console, so you revert to using the CLI that you are not familiar with. Which of the following commands is not a valid CLI command for EC2 instances?

A. ec2-allocate-address

B. ec2-attach-internet-gateway

C. ec2-associate-route-table

D. ec2-allocate-interface 

Answer: D

Explanation:

You can use the CLI tools to manage your Amazon EC2 resources (such as instances, security groups, and volumes) and your Amazon VPC resources (such as VPCs, subnets, route tables, and Internet gateways). Before you can start using the tools, you must download and configure them.

The following are valid CLI commands for EC2 instances: ec2-accept-vpc-peering-connection

ec2-allocate-address

ec2-assign-private-ip-addresses ec2-associate-address

ec2-associate-dhcp-options ec2-associate-route-table

ec2-attach-internet-gateway

ec2-attach-network-interface (not ec2-allocate-interface) Reference:

http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/command-reference.html

Q5. A user plans to use RDS as a managed DB platform. Which of the below mentioned features is not supported by RDS?

A. Automated backup

B. Automated scaling to manage a higher load

C. Automated failure detection and recovery

D. Automated software patching 

Answer: B

Explanation:

AWS RDS provides a managed DB platform, which offers features, such as automated backup, patch management, automated failure detection and recovery. The scaling is not automated and the user needs to plan it with a few clicks.

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

Q6. When a user is detaching an EBS volume from a running instance and attaching it to a new instance, which of the below mentioned options should be followed to avoid file system damage?

A. Unmount the volume first

B. Stop all the I/O of the volume before processing

C. Take a snapshot of the volume before detaching

D. Force Detach the volume to ensure that all the data stays intact 

Answer: A

Explanation:

When a user is trying to detach an EBS volume, the user can either terminate the instance or explicitly remove the volume. It is a recommended practice to unmount the volume first to avoid any file system damage.

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

Q7. Regarding Amazon SWF, the coordination logic in a workflow is contained in a software program called a

A. Handler

B. Decider

C. Cordinator

D. Worker 

Answer: B

Explanation:

In Amazon SWF, the coordination logic in a workflow is contained in a software program called a decider. The decider schedules actMty tasks, provides input data to the actMty workers, processes events that  arrive while the workflow is in progress, and ultimately ends (or closes) the workflow when the objective has been completed.

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

Q8. A user is running a MySQL RDS instance. The user will not use the DB for the next 3 months. How can the user save costs?

A. Pause the RDS actMties from CLI until it is required in the future

B. Stop the RDS instance

C. Create a snapshot of RDS to launch in the future and terminate the instance now

D. Change the instance size to micro 

Answer: C

Explanation:

The RDS instances unlike the AWS EBS backed instances cannot be stopped or paused. The user needs to take the final snapshot, terminate the instance and launch a new instance in the future from that snapshot

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

Q9. A user wants to access RDS from an EC2 instance using IP addresses. Both RDS and EC2 are in the same region, but different AZs. Which of the below mentioned options help configure that the instance is accessed faster?

A. Configure the Private IP of the Instance in RDS security group

B. Security group of EC2 allowed in the RDS security group

C. Configuring the elastic IP of the instance in RDS security group

D. Configure the Public IP of the instance in RDS security group 

Answer: A

Explanation:

If the user is going to specify an IP range in RDS security group, AWS recommends using the private IP address of the Amazon EC2 instance. This provides a more direct network route from the Amazon EC2 instance to the Amazon RDS DB instance, and does not incur network charges for the data sent outside of the Amazon network.

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

Q10. A user is creating an ELB with VPC. Which of the following options is available as a part of the "Add EC2

instances" page?

A. Select Subnet

B. Select IAM

C. Select ENI

D. Select VPC 

Answer: A

Explanation:

When a user is launching an ELB with VPC, he/she has to select the options, such as subnet and security group before selecting the instances part of that subnet.

Reference:

http://docs.aws.amazon.com/EIasticLoadBaIancing/latest/Deve|operGuide/elb-getting-started.htmI

Q11. How long can you keep your Amazon SQS messages in Amazon SQS queues?

A. From 120 secs up to 4 weeks

B. From 10 secs up to 7 days

C. From 60 secs up to 2 weeks

D. From 30 secs up to 1 week 

Answer: C

Explanation:

The SQS message retention period is configurable and can be set anywhere from 1 minute to 2 weeks. The default is 4 days and once the message retention limit is reached your messages will be automatically deleted. The option for longer message retention provides greater filexibility to allow for longer intervals between message production and consumption.

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

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

Q13. When you create a table with a hash-and-range key, you must define one or more secondary indexes on that table.

A. False, hash-range key is another name for secondary index

B. False, it is optional

C. True

D. False, when you have Hash-Range key you cannot define Secondary index 

Answer: B

Explanation:

When you create a table with a hash-and-range key in DynamoDB, you can also define one or more secondary indexes on that table.

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

Q14. Does AWS CIoudFormation support Amazon EC2 tagging?

A. It depends if the Amazon EC2 tagging has been defined in the template.

B. No, it doesn’t support Amazon EC2 tagging.

C. No, CIoudFormation doesn’t support any tagging

D. Yes, AWS CIoudFormation supports Amazon EC2 tagging 

Answer: D

Explanation:

In AWS CIoudFormation, Amazon EC2 resources that support the tagging feature can also be tagged in an AWS template. The tag values can refer to template parameters, other resource names, resource attribute values (e.g. addresses), or values computed by simple functions (e.g., a concatenated list of strings).

Reference: http://aws.amazon.com/c|oudformation/faqs/

Q15. A user is planning to create a structured database in the cloud. Which of the below mentioned AWS offerings help the user achieve the goal?

A. AWS DynamoDB

B. AWS RDS

C. AWS Simp|eDB

D. AWS RSD

Answer:

Explanation:

AWS RDS is a managed database server offered by AWS, which makes it easy to set up, operate, and scale a relational database or structured data in cloud.

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

START AWS-Certified-Developer-Associate EXAM