aiotestking uk

AWS-Certified-Developer-Associate Exam Questions - Online Test


AWS-Certified-Developer-Associate Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

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

Q2. A user is part of a group which has a policy allowing him just read only access to EC2. The user is part of another group which has full access to EC2. What happens when the user tries to launch an instance?

A. It will allow the user to launch the instance

B. It will fail since the user has just read only access

C. It will allow or deny based on the group under which the user has logged into EC2

D. It will not allow the user to add to the conflicting groups 

Answer: A

Explanation:

The IAM group policy is always aggregated. In this case, if the user does not have permission for one group, but has permission for another group, he will have full access to EC2. Unless there is specific deny policy, the user will be able to access EC2.

Reference:       http://docs.aws.amazon.com/IAM/latest/UserGuide/PoIiciesOverview.htmI

Q3. When you use the AWS Elastic Beanstalk console to deploy a new application .

A. you’II need to upload each file separately

B. you’II need to create each file and path

C. you’II need to upload a source bundle

D. you’II need to create each file 

Answer: C

Explanation:

When you use the AWS Elastic Beanstalk console to deploy a new application or an application version, you’II need to upload a source bundle.

Reference:

http://docs.aws.amazon.com/elasticbeanstaIk/latest/dg/using-features.depIoyment.source.html

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

Q5. A user is launching an AWS RDS instance with MySQL. The user wants to enable the Nlulti AZ feature. Which of the below mentioned parameters will not be allowed to configure by RDS?

A. Availability Zone

B. Region

C. DB subnet group

D. Database port 

Answer: A

Explanation:

If the user is launching RDS with Multi AZ the user cannot provision the Availability Zone. RDS is launched automatically instead

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

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

Q7. A user has launched one EC2 instance in the US West region. The user wants to access the RDS instance launched in the US East region from that EC2 instance. How can the user configure the access for that EC2 instance?

A. It is not possible to access RDS of the US East region from the US West region

B. Open the security group of the US West region in the RDS security group’s ingress rule

C. Configure the IP range of the US West region instance as the ingress security rule of RDS

D. Create an IAM role which has access to RDS and launch an instance in the US West region with it 

Answer: C

Explanation:

The user cannot authorize an Amazon EC2 security group if it is in a different AWS Region than the RDS DB instance. The user can authorize an IP range or specify an Amazon EC2 security group in the same region that refers to an IP address in another region.

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

Q8. An online gaming site asked you if you can deploy a database that is a fast, highly scalable NoSQL database service in AWS for a new site that he wants to build. Which database should you recommend?

A. Amazon Redshift

B. Amazon SimpIeDB

C. Amazon DynamoDB

D. Amazon RDS 

Answer: C

Explanation:

Amazon DynamoDB is ideal for database applications that require very low latency and predictable performance at any scale but don’t need complex querying capabilities like joins or transactions. Amazon DynamoDB is a fully-managed NoSQL database service that offers high performance, predictable throughput and low cost. It is easy to set up, operate, and scale.

With Amazon DynamoDB, you can start small, specify the throughput and storage you need, and easily scale your capacity requirements on the fly. Amazon DynamoDB automatically partitions data over a

number of servers to meet your request capacity. In addition, DynamoDB automatically replicates your data synchronously across multiple Availability Zones within an AWS Region to ensure high-availability and data durability.

Reference:      https://aws.amazon.com/running_databases/#dynamodb_anchor

Q9. You have been doing a lot of testing of your VPC Network by deliberately failing EC2 instances to test whether instances are failing over properly. Your customer who will be paying the AWS bill for all this asks you if he being charged for all these instances. You try to explain to him how the billing works on EC2 instances to the best of your knowledge. What would be an appropriate response to give to the customer

in regards to this?

A. Billing commences when Amazon EC2 AMI instance is completely up and billing ends as soon as the instance starts to shutdown.

B. Billing commences when Amazon EC2 initiates the boot sequence of an AMI instance and billing ends when the instance shuts down.

C. Billing only commences only after 1 hour of uptime and billing ends when the instance terminates.

D. Billing commences when Amazon EC2 initiates the boot sequence of an AMI instance and billing ends as soon as the instance starts to shutdown.

Answer:

Explanation:

Billing commences when Amazon EC2 initiates the boot sequence of an AMI instance. Billing ends when the instance shuts down, which could occur through a web services command, by running "shutdown -h", or through instance failure.

Reference: http://aws.amazon.com/ec2/faqs/#BiIIing

Q10. Regarding Amazon SQS, what happens if there is no actMty against a queue for more than 30 consecutive days?

A. Your account will be suspended

B. The queue may be deleted

C. Nothing

D. The queue will be deleted 

Answer: B

Explanation:

AWS reserve the right to delete a queue if none of the following requests have been issued against the queue for more than 30 consecutive days:

SendMessage ReceiveMessage DeIeteMessage GetQueueAttributes SetQueueAttributes

You should design your application with this in mind. Reference: https://aws.amazon.com/sqs/faqs/