exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 15 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 15
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company is creating a software solution that executes a specific parallel-processing mechanism. The software can scale to tens of servers in some special scenarios. This solution uses a proprietary library that is license-based, requiring that each individual server have a single, dedicated license installed. The company has 200 licenses and is planning to run 200 server nodes concurrently at most.
The company has requested the following features:
✑ A mechanism to automate the use of the licenses at scale.
✑ Creation of a dashboard to use in the future to verify which licenses are available at any moment.
What is the MOST effective way to accomplish these requirements?

  • A. Upload the licenses to a private Amazon S3 bucket. Create an AWS CloudFormation template with a Mappings section for the licenses. In the template, create an Auto Scaling group to launch the servers. In the user data script, acquire an available license from the Mappings section. Create an Auto Scaling lifecycle hook, then use it to update the mapping after the instance is terminated.
  • B. Upload the licenses to an Amazon DynamoDB table. Create an AWS CloudFormation template that uses an Auto Scaling group to launch the servers. In the user data script, acquire an available license from the DynamoDB table. Create an Auto Scaling lifecycle hook, then use it to update the mapping after the instance is terminated.
  • C. Upload the licenses to a private Amazon S3 bucket. Populate an Amazon SQS queue with the list of licenses stored in S3. Create an AWS CloudFormation template that uses an Auto Scaling group to launch the servers. In the user data script acquire an available license from SQS. Create an Auto Scaling lifecycle hook, then use it to put the license back in SQS after the instance is terminated.
  • D. Upload the licenses to an Amazon DynamoDB table. Create an AWS CLI script to launch the servers by using the parameter --count, with min:max instances to launch. In the user data script, acquire an available license from the DynamoDB table. Monitor each instance and, in case of failure, replace the instance, then manually update the DynamoDB table.
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
marwan
Highly Voted 3 years, 7 months ago
I believe B is the right solution
upvoted 24 times
...
Raj9
Highly Voted 3 years, 6 months ago
A - license list is dynamic (based on scaling) and mapping are good for values that are static in nature B - looks good C - sqs - unnecessary overhead D - too many manual tasks
upvoted 17 times
...
Tika01
Most Recent 2 years, 1 month ago
Selected Answer: B
This approach allows the licenses to be stored and managed in a central location in an Amazon DynamoDB table. The AWS CloudFormation template can then use an Auto Scaling group to launch the server nodes, which will dynamically acquire a license from the DynamoDB table when the instance starts up using the user data script. An Auto Scaling lifecycle hook can be created to update the license mapping after the instance is terminated. This mechanism allows the software solution to scale and manage licenses automatically. Additionally, the DynamoDB table can be used to create a dashboard that displays which licenses are available at any moment, giving the company greater visibility into license usage.
upvoted 1 times
...
okm1997_2
2 years, 1 month ago
Selected Answer: B
B is correct because as one condition states that we need to create a dashboard that can be done using dynamodb, Cloudformation instead of CLI scripts to launch instance nodes using ASG. We can use acquire license using TransactGetItems which would in User Data script. ASG lifecycle hook consists terminating:wait where we can run scripts to complete dynamodb transaction on the instance using SSM run command with SSM agent installed on the instance from user data script
upvoted 2 times
...
hoomaan
2 years, 2 months ago
B- Correct
upvoted 1 times
...
BelloMio
2 years, 2 months ago
How is B the correct answer? What does it even mean update the mapping? What mapping?
upvoted 1 times
...
Piccaso
2 years, 2 months ago
Selected Answer: B
DynamoDB is a must. S3 bucket is not efficient as DynamoDB CloudFormation is more effective than self-prepared CLI script
upvoted 1 times
...
Hackmajoris
2 years, 3 months ago
Why D is set as the correct answer?
upvoted 2 times
Piccaso
2 years, 2 months ago
Same confusion.
upvoted 1 times
...
...
Bulti
2 years, 4 months ago
B is the right answer.
upvoted 1 times
...
Teonardo
2 years, 4 months ago
Selected Answer: B
B is the right answer
upvoted 1 times
...
ceros399
2 years, 4 months ago
Selected Answer: B
B is the good for me
upvoted 2 times
...
ericzaj
2 years, 4 months ago
The Dev Ops Pro is a measure of how well you know automation. D requires manual intervention. B looks to be the right solution.
upvoted 4 times
...
developer_404
2 years, 5 months ago
Selected Answer: B
A - S3 contains static data and there is no information on the available licenses to create dashboard. B- DynamoDb contains mapping on the availability of licenses and can create dashboard on the data. C - Overhead to maintain S3 and SQS. Hard to create Dashboard out of SQS. D - Manual update , no no
upvoted 4 times
...
nzin4x
2 years, 6 months ago
Selected Answer: B
B is right answer
upvoted 2 times
...
RogerMarsh
2 years, 6 months ago
B is correct.
upvoted 1 times
...
colinquek
2 years, 8 months ago
B - becos: 1. dynamodb's transactgetitem api- https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/transaction-apis.html#transaction-apis-txgetitems 2. CF to generate ASG to manage the EC2s.
upvoted 2 times
...
blueorca
3 years, 2 months ago
Selected Answer: B
Should be B
upvoted 2 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