exam questions

Exam AWS Certified Database - Specialty All Questions

View all questions & answers for the AWS Certified Database - Specialty exam

Exam AWS Certified Database - Specialty topic 1 question 82 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 82
Topic #: 1
[All AWS Certified Database - Specialty Questions]

A company developed an AWS CloudFormation template used to create all new Amazon DynamoDB tables in its AWS account. The template configures provisioned throughput capacity using hard-coded values. The company wants to change the template so that the tables it creates in the future have independently configurable read and write capacity units assigned.
Which solution will enable this change?

  • A. Add values for the rcuCount and wcuCount parameters to the Mappings section of the template. Configure DynamoDB to provision throughput capacity using the stack's mappings.
  • B. Add values for two Number parameters, rcuCount and wcuCount, to the template. Replace the hard-coded values with calls to the Ref intrinsic function, referencing the new parameters.
  • C. Add values for the rcuCount and wcuCount parameters as outputs of the template. Configure DynamoDB to provision throughput capacity using the stack outputs.
  • D. Add values for the rcuCount and wcuCount parameters to the Mappings section of the template. Replace the hard-coded values with calls to the Ref intrinsic function, referencing the new parameters.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sk1974
2 years, 2 months ago
I will say 'B' too . the key for me to decide is the word 'number' since he wcu and rcu are numeric values.Not sure if my interpretation is correct ,but , will go with B
upvoted 1 times
...
rlnd2000
2 years, 11 months ago
Selected Answer: B
A and D are out, parameters are useful when you know the value for me mapping are like constant in any program language we can use them for Region, Accounts, AZ, etc and the question says "...allocate independently variable read and write capacity..." the word variable is key for me here. C- is out Output is for importing values into other stack. B is correct Use the optional Parameters section to customize your templates. Parameters enable you to input custom values to your template each time you create or update a stack. from https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html D -
upvoted 3 times
...
Radhaghosh
2 years, 11 months ago
Selected Answer: B
"The organization want to modify the template in order to allocate independently variable read and write capacity units to future tables." this is the vital sentence in the question. Only Option is Parameter. Option B
upvoted 1 times
...
novice_expert
3 years ago
Selected Answer: B
Add values for two Number parameters, rcuCount and wcuCount, to the template. Replace the hard-coded values with calls to the Ref intrinsic function, referencing the new parameters.
upvoted 1 times
...
GMartinelli
3 years, 5 months ago
Selected Answer: B
Option B
upvoted 2 times
...
guru_ji
3 years, 6 months ago
I got this Question in exam.
upvoted 1 times
...
umatrilok
3 years, 6 months ago
definetly A
upvoted 1 times
...
Aesthet
3 years, 6 months ago
probably B
upvoted 1 times
...
Windy
3 years, 6 months ago
Why not A? It is obvious that there are multiple tables and rcu and wcu should be defined for each of them. I think mapping is a must here.
upvoted 3 times
Zhongkai
3 years, 6 months ago
Mapping is not used like this way. Check https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html. We should use Parameter here so that the user could input what RCU/WCU they need when deploying a new stack.
upvoted 1 times
Aesthet
3 years, 6 months ago
Input parameter and FindInMap You can use an input parameter with the Fn::FindInMap function to refer to a specific value in a map. For example, suppose you have a list of regions and environment types that map to a specific AMI ID. You can select the AMI ID that your stack uses by using an input parameter (EnvironmentType). To determine the region, use the AWS::Region pseudo parameter, which gets the AWS Region in which you create the stack. I am not saying that B is not right answer though
upvoted 1 times
ImprovMAN
2 years, 4 months ago
You can't include parameters, pseudo parameters, or intrinsic functions in the Mappings section. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html
upvoted 1 times
...
...
...
...
myutran
3 years, 7 months ago
Ans: B
upvoted 3 times
...
JobinAkaJoe
3 years, 7 months ago
B is my choice
upvoted 1 times
...
Ashoks
3 years, 7 months ago
yes B for dynamic and not pre-determined values
upvoted 3 times
...
BillyMadison
3 years, 7 months ago
GOing with B https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html
upvoted 4 times
...
Ebi
3 years, 7 months ago
B is correct
upvoted 1 times
...
Kitty0403
3 years, 7 months ago
Answer is B
upvoted 1 times
...
BillyC
3 years, 7 months ago
B or C, please Thoughts
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago