Premium

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



Question : fn:GetAtt is used on a CloudFormation template to:
 : fn:GetAtt is used on a CloudFormation template to:
1. Conditionally create stack resources
2. Returns the value corresponding to keys into a two-level map declared in the mappings section
3. Access Mostly Uused Products by 50000+ Subscribers
4. Return the value of an attribute from a resource on the template

Correct Answer : Get Lastest Questions and Answer :

Explanation: fn:GetAtt is an intrinsic function. Intrinsic functions pass are used to grab data that is only available at stack runtime.
Parameters

logicalNameOfResource
The logical name of the resource that contains the attribute you want.

attributeName
The name of the resource-specific attribute whose value you want. See the resource's reference page for details about the attributes available for that resource type.

Return Value

The attribute value.

Example

This example returns a string containing the DNS name of the LoadBalancer with the logical name MyLB.

"Fn::GetAtt" : [ "MyLB" , "DNSName" ]






Question : Of the available sections on a CloudFormation template (Template Description Declaration,
Template Format Version Declaration, Parameters, Resources, Mappings, Outputs), which is the only one required for a CloudFormation template to be accepted?
 :  Of the  available sections on a CloudFormation template (Template Description Declaration,
1. Mappings
2. Template Declaration
3. Access Mostly Uused Products by 50000+ Subscribers
4. Parameters

Correct Answer : Get Lastest Questions and Answer : Mappings enable you to specify conditional parameter values in your template. When used with the intrinsic function Fn::FindInMap, it works like a Case statement or lookup table.

In the optional Mappings section, you define one or more mappings. Each mapping has a logical name unique within the template, and defines one or more key-attribute pairs. Each attribute must be a literal string or list of literal strings. You cannot base a mapping on a parameter, pseudo parameter, or intrinsic function. Along with declaring as many conditional mapping keys as you need, you can declare which mapping key is the default.
Templates : You describe your AWS infrastructure requirements in a template. A template is a text file whose format complies with the JSON standard. Because they are just text files, you can edit and manage them in your source control system with the rest of your source code. For more information about the JSON format, see http://www.json.org.

In the template, you can declare several main objects: the template's format version, its description, and the parameters, mappings, conditions, resources, and outputs you need to create your stack. The format version, descriptions, parameters, mappings and outputs are optional. You only need to declare one resource.
In the Resources sections of a template, you declare the AWS resources that you want AWS CloudFormation to manage, such as an Amazon EC2 instance or an Amazon S3 bucket. All templates must declare a Resources section with at least one resource. You must declare each resource separately; however, you can specify multiple resources of the same type.

Each resource declaration includes three parts:
A logical name that is unique within the template A resource type Properties for that resource

You use the logical name to reference the resource in other parts of the template. For example, if you want to map an Amazon Elastic Block Store to an Amazon EC2 instance, you reference the logical IDs of both the block stores and the instance to specify the mapping. Logical names must be alphanumeric (A-Za-z0-9).
Parameters : AWS CloudFormation parameters are values that you define in the template Parameters section. A parameter can have a default value. The default value is overridden if you specify a value for the parameter as part of the aws cloudformation create-stack --parameters option. Parameter values you override at runtime are returned as part of the aws cloudformation describe-stacks command, unless you suppress that in the parameter declaration by including the NoEcho property with a value of true. If you provide the NoEcho property, the parameter value is displayed as asterisks (*****). (Parameter values you do not override are not displayed.)

A parameter can be declared as one of following types: String, Number, or CommaDelimitedList. For a parameter that has a String or Number type, you can define constraints that AWS CloudFormation uses to validate the value of the parameter.
For the String type, you can define the following constraints: MinLength, MaxLength, Default, AllowedValues, and AllowedPattern.
For the Number type, you can define the following constraints: MinValue, MaxValue, Default, and AllowedValues. A number can be an integer or a float value.
For more information about parameter constraints, see Parameters Declaration.
Note that all parameter values are specified as strings in the template JSON. This means Number parameter values must also be surrounded by quotes. For example, the Default value for MyNumber specifies a number and it is surrounded by quotes.




Question : Which API call is used to list all resources that belong to a CloudFormation Stack?
  : Which API call is used to list all resources that belong to a CloudFormation Stack?
1. DescribeStacks
2. GetTemplate
3. Access Mostly Uused Products by 50000+ Subscribers
4. ListStackResources

Correct Answer : Get Lastest Questions and Answer :

Explanation: Common API name calls are required for the AWS Certified Developer Associate Level exam. The calls and what they do are listed inside of the downloadable study guide inside the course module.

ListStackResources : Returns descriptions of all resources of the specified stack.
For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.
Request Parameters : For information about the common parameters that all actions use, see Common Parameters.
NextToken : String that identifies the start of the next list of stack resource summaries, if there is one.
Default: There is no default value.
Type: String
Length constraints: Minimum length of 1. Maximum length of 1024.
Required: No StackName : The name or the unique identifier associated with the stack, which are not always interchangeable:
Running stacks: You can specify either the stack's name or its unique stack ID.
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Type: String
Required: Yes
Response Elements
The following elements are returned in a structure named ListStackResourcesResult.
NextToken
String that identifies the start of the next list of stack resources, if there is one.
Type: String
StackResourceSummaries
A list of StackResourceSummary structures.
Type: StackResourceSummary list
Examples Sample Request
https://cloudformation.us-east-1.amazonaws.com/
?Action=ListStackResources
&StackName=MyStack
&Version=2010-05-15
&SignatureVersion=2
&Timestamp=2011-07-08T22%3A26%3A28.000Z
&AWSAccessKeyId=[AWS Access KeyID]
&Signature=[Signature]



Related Questions


Question : What item operation allows the retrieval of multiple items from a DynamoDB table in a single API call?
 : What item operation allows the retrieval of multiple items from a DynamoDB table in a single API call?
1. GetItem
2. BatchGetItem
3. Access Mostly Uused Products by 50000+ Subscribers
4. GetItemRange


Question : Which of the following services are included at no additional cost with the use of the AWS platform? Choose answers
A. Simple Storage Service
B. Elastic Compute Cloud
C. Auto Scaling
D. Elastic Load Balancing
E. CloudFormation
F. Simple Workflow Service

 : Which of the following services are included at no additional cost with the use of the AWS platform? Choose  answers
1. A,B
2. C,E
3. Access Mostly Uused Products by 50000+ Subscribers
4. D,E

5. E,F




Question : How is provisioned throughput affected by the chosen consistency model when reading data from a DynamoDB table?
  :  How is provisioned throughput affected by the chosen consistency model when reading data from a DynamoDB table?
1. Strongly consistent reads use the same amount of throughput as eventually consistent reads
2. Strongly consistent reads use more throughput than eventually consistent reads.
3. Access Mostly Uused Products by 50000+ Subscribers
4. Strongly consistent reads use variable throughput depending on read activity



Question : Company D is running their corporate website on Amazon S accessed from http//www.companyd.com. Their marketing team has published new web fonts to a
separate S3 bucket accessed by the S3 endpoint https://s3-us-west-1.amazonaws.com/cdfonts. While testing the new web fonts, Company D recognized the web fonts
are being blocked by the browser. What should Company D do to prevent the web fonts from being blocked by the browser?
 : Company D is running their corporate website on Amazon S accessed from http//www.companyd.com. Their marketing team has published new web fonts to a
1. Enable versioning on the cdfonts bucket for each web font
2. Create a policy on the cdfonts bucket to enable access to everyone
3. Access Mostly Uused Products by 50000+ Subscribers
4. Configure the cdfonts bucket to allow cross-origin requests by creating a CORS configuration


Question : You have an environment that consists of a public subnet using Amazon VPC and
instances that are running in this subnet. These three instances can successfully
communicate with other hosts on the Internet. You launch a fourth instance in the same
subnet, using the same AMI and security group configuration you used for the others, but
find that this instance cannot be accessed from the Internet.
What should you do to enable internet access?
  : You have an environment that consists of a public subnet using Amazon VPC and
1. Deploy a NAT instance into the public subnet.
2. Modify the routing table for the public subnet
3. Access Mostly Uused Products by 50000+ Subscribers
4. Assign an Elastic IP address to the fourth instance.


Question : Which of the following is chosen as the default region when making an API call with an AWS SDK?
 : Which of the following is chosen as the default region when making an API call with an AWS SDK?
1. ap-northeast-1
2. us-west-2
3. Access Mostly Uused Products by 50000+ Subscribers
4. eu-west-1
5. us-central-1