exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 38 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 38
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company is running a Docker application on Amazon ECS. The application must scale based on user load in the last 15 seconds.
How should a Developer instrument the code so that the requirement can be met?

  • A. Create a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 30 seconds
  • B. Create a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 seconds
  • C. Create a standard-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 30 seconds
  • D. Create a standard-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 seconds
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
Dev1
Highly Voted 3 years, 7 months ago
Ans: B https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#high-resolution-metrics
upvoted 17 times
Alekshar
3 years, 5 months ago
from the link above : Standard resolution, with data having a one-minute granularity High resolution, with data at a granularity of one second
upvoted 18 times
...
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: B
B) Correct - Amazon CloudWatch high-resolution metrics support granularity down to 1 second (as opposed to standard-resolution metrics, which have a granularity of 1 minute). To scale based on user activity from the last 15 seconds, high-resolution metrics are essential because standard-resolution metrics would not provide the necessary granularity.
upvoted 1 times
...
AsmaZoheb
1 year, 3 months ago
Selected Answer: B
answer is B
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: B
It is B, we need an high resolution CloudWatch metric in order to generate data each second (instead of each minute with the standard resolution). We are able to publish data every 5 second and analyze the user load data for the last 15 seconds.
upvoted 1 times
...
imvb88
1 year, 11 months ago
Selected Answer: B
Standard-resolution of CloudWatch is 1 minute, you need high-resolution for timespan smaller than 1 minute so C, D are out A only give you data after 30 sec while you need last 15 sec -> B is the answer.
upvoted 1 times
...
BATSIE
1 year, 12 months ago
Option D recommends publishing data every 5 seconds, but using a standard-resolution metric. While this may capture user activity data frequently enough, it may not provide the necessary level of detail for accurate scaling decisions. Therefore, the best option is to create a high-resolution custom CloudWatch metric for user activity data and publish it every 5 seconds. This will provide accurate and frequent data points that can be used to make scaling decisions based on user load in the last 15 seconds.
upvoted 1 times
...
BATSIE
1 year, 12 months ago
Option A and C recommend creating a custom CloudWatch metric for user activity data and publishing it every 30 seconds, which may not be frequent enough to capture user activity data within the last 15 seconds accurately
upvoted 1 times
...
Dominicwild12
2 years, 2 months ago
Selected Answer: B
To scale the Docker application on Amazon ECS based on user load in the last 15 seconds, a high-resolution custom Amazon CloudWatch metric for user activity data should be created, and data should be published every 5 seconds. Option B is the correct answer because high-resolution custom metrics have a finer resolution than standard-resolution custom metrics, with data points that can be as frequent as 1 second. The user activity data needs to be measured in near-real-time to accurately reflect the current user load, and publishing the data every 5 seconds will provide the necessary frequency. This will allow Amazon ECS to scale the Docker application appropriately based on the user load. Option A, C, and D do not provide the required frequency for the user activity data, and therefore may not be accurate enough to scale the Docker application in a timely manner.
upvoted 2 times
...
MMaquis
2 years, 2 months ago
Selected Answer: B
it's B. 30 seconds is not correct as your metrics will be published after 30 sec, and the required is 15.
upvoted 1 times
...
dark_cherrymon
2 years, 5 months ago
Selected Answer: B
BBBBBB
upvoted 1 times
...
VAG1595
3 years, 5 months ago
Answer: B
upvoted 2 times
...
Aparna_acc
3 years, 5 months ago
why 5 seconds is correct and not option of 30 seconds can someone plz tell
upvoted 1 times
hulala
3 years, 5 months ago
"The application must scale based on user load in the last 15 seconds". - The app needs to scale based on load in the last 15 secs - If data was published every 30 seconds, this criteria wouldn't be fulfilled as it'd have to wait for the remaining 15 sec, whereas with 5 secs publishing, data can be received every 5 sec enabling the app to scale at the required time
upvoted 12 times
_Ujin
3 years, 2 months ago
Thanks for deep explaination
upvoted 3 times
...
...
...
Chinta
3 years, 6 months ago
B is the right answer
upvoted 1 times
...
saeidp
3 years, 6 months ago
B is correct
upvoted 1 times
...
wackyGuru
3 years, 6 months ago
B. Create a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 seconds
upvoted 1 times
...
Scarback
3 years, 6 months ago
Resp: B
upvoted 1 times
...
kinetic1g
3 years, 6 months ago
B. Create a high-resolution custom Amazon CloudWatch metric for user activity data, then publish data every 5 seconds
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