Premium

AWS Certified Developer - Associate Questions and Answers (Dumps and Practice Questions)



Question : AWS CloudFormation enables you to create and delete related AWS resources together as a unit called a _______

 : AWS CloudFormation enables you to create and delete related AWS resources together as a unit called a _______
1. Intrinsic Functions
2. Resources
3. Access Mostly Uused Products by 50000+ Subscribers
4. Stacks

Correct Answer : Get Lastest Questions and Answer :

Explanation: AWS CloudFormation enables you to create and delete related AWS resources together as a unit called a stack. You define the characteristics of a stack parameters, mappings, resource properties, and output values using a template (a JSON-compliant text file). You can write your template from scratch, or start with one of the example templates we provide. You can use a number of AWS products with AWS CloudFormation, such as Amazon EC2, AWS Elastic Beanstalk, and Amazon RDS

Stacks

A stack is a collection of AWS resources. With AWS CloudFormation you can do the following with your stacks:

Create an AWS CloudFormation stack using aws cloudformation create-stack, providing a name, and specifying a template that defines the stack.

Track the progress of the create operation using aws cloudformation describe-stack-events. AWS CloudFormation optimizes the order of member resource creation during stack creation, taking into account resource dependencies, so it's not possible to predict the order in which each resource will be created. The aws cloudformation describe-stack-events command enables you to monitor the progress.

List your running stacks using aws cloudformation describe-stacks or aws cloudformation list-stacks, filtering by a specific stack name or stack status. Only running stacks and stacks in the process of being created or deleted are listed with aws cloudformation describe-stacks. You can use aws cloudformation list-stacks to list stacks that have any status (even if they have been deleted within the past 90 days), filtering on the status if you need to.

Itemize the contents of a stack using aws cloudformation describe-stack-resources. You can do this even when a stack is being created or deleted, enabling you to see the state of individual member resources.

View the history of the events produced by a stack using aws cloudformation describe-stack-events, optionally filtering by a specific stack name. You can see events for a deleted stack for up to 90 days.

Delete a stack using aws cloudformation delete-stack. When you delete a stack, each of its member resources is deleted as well. As with the stack creation, AWS CloudFormation optimizes the deletion sequence, so the order isn't predictable. You can track the progress of the deletion using aws cloudformation describe-stack-events and list deleted stacks using aws cloudformation list-stacks.

AWS CloudFormation makes sure all member resources are created or deleted as appropriate. Because AWS CloudFormation treats the members of a stack as a single unit, they must all be created successfully for the stack to be created. If for any reason a member resource cannot be created, AWS CloudFormation rolls the stack back and automatically deletes the member resources that were created.

Note
You are charged for the stack resources for the time they were operating (even if you deleted the stack right away).





Question : If for any reason a half of the member resource cannot be created, AWS CloudFormation keeps the half of the member resources that were created.

 : If for any reason a half of the member resource cannot be created, AWS CloudFormation keeps the half of the member resources that were created.
1. True
2. False
3. Access Mostly Uused Products by 50000+ Subscribers

Correct Answer : Get Lastest Questions and Answer :

Explanation: AWS CloudFormation makes sure all member resources are created or deleted as appropriate. Because AWS CloudFormation treats the members of a stack as a single unit, they must all be created successfully for the stack to be created. If for any reason a member resource cannot be created, AWS CloudFormation rolls the stack back and automatically deletes the member resources that were created.




Question : Explain what the following resource in a CloudFormation template does. Choose the best possible answer.
"SNSTopic" : { "Type" : "AWS::SNS::Topic", "Properties" :
{ "Subscription" :
[
{ "Protocol" : "sqs", "Endpoint" :
{ "Fn::GetAtt" :
[ "SQSQueue", "Arn" ]
}
}]
}
 : Explain what the following resource in a CloudFormation template does. Choose the best possible answer.
1. Creates an SNS topic that allow SQS subscription endpoints
2. Creates an SNS topic and then invokes the call to create an SQS queue with a logical resource name of SQSQueue
3. Access Mostly Uused Products by 50000+ Subscribers
4. Creates an SNS topic and adds a subscription ARN endpoint for the SQS resource created under the logical name SQSQueue

Correct Answer : Get Lastest Questions and Answer :
Step 1: Make sure your endpoint is ready to process Amazon SNS messages

Before you subscribe your HTTP or HTTPS endpoint to a topic, you must make sure that the HTTP or HTTPS endpoint has the capability to handle the HTTP POST requests that Amazon SNS uses to send the subscription confirmation and notification messages. Usually, this means creating and deploying a web application (for example, a Java servlet if your endpoint host is running Linux with Apache and Tomcat) that processes the HTTP requests from Amazon SNS. When you subscribe an HTTP endpoint, Amazon SNS sends it a subscription confirmation request. Your endpoint must be prepared to receive and process this request when you create the subscription because Amazon SNS sends this request at that time. Amazon SNS will not send notifications to the endpoint until you confirm the subscription. Once you confirm the subscription, Amazon SNS will send notifications to the endpoint when a publish action is performed on the subscribed topic.
Step 2: Subscribe the HTTP/HTTPS endpoint to the Amazon SNS topic

To send messages to an HTTP or HTTPS endpoint through a topic, you must subscribe the endpoint to the Amazon SNS topic. You specify the endpoint using its URL. To subscribe to a topic, you can use the Amazon SNS console, the sns-subscribe command, or the Subscribe API action. Before you start, make sure you have the URL for the endpoint that you want to subscribe and that your endpoint is prepared to receive the confirmation and notification messages as described in Step 1.

Step 3: Confirm the subscription
After you subscribe your endpoint, Amazon SNS will send a subscription confirmation message to the endpoint. You should already have code that performs the actions described in Step 1 deployed to your endpoint. Specifically, the code at the endpoint must retrieve the SubscribeURL value from the subscription confirmation message and either visit the location specified by SubscribeURL itself or make it available to you so that you can manually visit the SubscribeURL, for example, using a web browser. Amazon SNS will not send messages to the endpoint until the subscription has been confirmed. When you visit the SubscribeURL, the response will contain an XML document containing an element SubscriptionArn that specifies the ARN for the subscription. You can also use the Amazon SNS console to verify that the subscription is confirmed: The Subscription ID will display the ARN for the subscription instead of the PendingConfirmation value that you saw when you first added the subscription.





Related Questions


Question :

While setting up the 2 level read replica in in RDS , you find the lag between master and 2nd level replication. Which one of the correct cause ?

 :
1. 2nd level read replicas configuration is wrong
2. 2nd level read replica's Harware configuration will always be lower grade then master.
3. Access Mostly Uused Products by 50000+ Subscribers
4. Because of additional replication latency introduced as transactions are replicated from the master to the first level
replica and then to the second-level replica.
5. Any of the above could be correct



Question :

In which of the following scenerio, it is a good idea to create the Amazon RDS replica ?
 :
1. Read-heavy database workloads
2. When source DB Instance is unavailable
3. Access Mostly Uused Products by 50000+ Subscribers
4. Only 1 and 3 are correct.
5. All 1,2 and 3 are correct.




Question : Which of the following statement correctly applies to Amazon VPC
 : Which of the following statement correctly applies to Amazon VPC
1. Amazon VPC lets you create a virtual networking environment in a private, isolated section of the Amazon Web Services (AWS) cloud
2. In Amazon VPC you can have complete control over aspects such as private IP address ranges, subnets, routing tables and network gateways
3. Access Mostly Uused Products by 50000+ Subscribers
4. Only 1 and 3 are correct
5. All 1,2 and 3 are correct



Question :

By default, all instances launched into a non-default VPC will have which of the following hostname e.g. ip-10-0-0-202
 :
1. A resolvable host name
2. A class D IP address
3. Access Mostly Uused Products by 50000+ Subscribers
4. A class C IP address
5. It is DHCP has IP address keep changing


Question : Which of the following statements about SWF are true? Choose answers
A. SWF tasks are assigned once and never duplicated
B. SWF requires an S3 bucket for workflow storage
C. SWF workflow executions can last up to a year
D. SWF triggers SNS notifications on task assignment
E. SWF uses deciders and workers to complete tasks
F. SWF requires at least 1 EC2 instance per domain


Question : Which DynamoDB limits can be raised by contacting AWS support? Choose answers
A. The number of hash keys per account
B. The maximum storage used per account
C. The number of tables per account
D. The number of local secondary indexes per account
E. The number of provisioned throughput units per account

 : Which DynamoDB limits can be raised by contacting AWS support? Choose  answers
1. A,B
2. C,E
3. Access Mostly Uused Products by 50000+ Subscribers
4. D,E