exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 416 discussion

A company has a multi-tier application deployed on several Amazon EC2 instances in an Auto Scaling group. An Amazon RDS for Oracle instance is the application's data layer that uses Oracle-specific PL/SQL functions. Traffic to the application has been steadily increasing. This is causing the EC2 instances to become overloaded and the RDS instance to run out of storage. The Auto Scaling group does not have any scaling metrics and defines the minimum healthy instance count only. The company predicts that traffic will continue to increase at a steady but unpredictable rate before leveling off.
What should a solutions architect do to ensure the system can automatically scale for the increased traffic? (Choose two.)

  • A. Configure storage Auto Scaling on the RDS for Oracle instance.
  • B. Migrate the database to Amazon Aurora to use Auto Scaling storage.
  • C. Configure an alarm on the RDS for Oracle instance for low free storage space.
  • D. Configure the Auto Scaling group to use the average CPU as the scaling metric.
  • E. Configure the Auto Scaling group to use the average free memory as the scaling metric.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
dmscountera
Highly Voted 3 years, 7 months ago
A and D
upvoted 47 times
daaww
3 years, 6 months ago
I think its A and C because
upvoted 1 times
...
peacegrace
3 years, 7 months ago
Why D ? when it says : The Auto Scaling group does not have any scaling metrics and defines the minimum healthy instance count only
upvoted 1 times
noahsark
3 years, 6 months ago
No Memory in defaults: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html
upvoted 1 times
...
sharif_aws
3 years, 6 months ago
That is what you will have to configure. Scale out based on the CPU utilization. It says EC2 gets overloaded with increase traffic.
upvoted 3 times
...
naveenagurjara
2 years, 10 months ago
Current situation is it does not have... so what you can do to remediate this?
upvoted 1 times
...
...
...
syu31svc
Highly Voted 3 years, 7 months ago
Will take A and D B is not needed as you can configure auto scaling for RDS C and E don't answer the qn at all on scaling
upvoted 12 times
sugarwall09
3 years, 6 months ago
Agreed with the analysis. but could it be "A & C" ? as their primary concern is storage. referring to the paraphrase "RDS instance to run out of storage." Thanks.
upvoted 1 times
swadeey
3 years, 6 months ago
They have two primary concern mentioned in same line. "Traffic to the application has been steadily increasing. This is causing the EC2 instances to become overloaded and RDS instance to run out of storage"
upvoted 2 times
...
naveenagurjara
2 years, 10 months ago
Bugger... dats why Storage auto scaling has to be enabled.
upvoted 1 times
...
...
...
Alhaz
Most Recent 2 years, 2 months ago
Selected Answer: AC
https://aws.amazon.com/premiumsupport/knowledge-center/storage-full-rds-cloudwatch-alarm/
upvoted 1 times
...
cloud_collector
2 years, 8 months ago
Selected Answer: AD
"This overloads the EC2 instances and causes the RDS instance to run out of storage." "overload EC2" Configure the Auto Scaling group to use the average CPU as the scaling metric "run out of RDS storage" Configure storage Auto Scaling on the RDS for Oracle instance
upvoted 2 times
...
naveenagurjara
2 years, 10 months ago
Selected Answer: AD
.....to guarantee that the system can grow automatically as traffic increases? C is ruled out as you are just monitoring and alerting (reactive). Solution warrants proactive method.
upvoted 2 times
...
VijiTu
2 years, 11 months ago
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html https://aws.amazon.com/premiumsupport/knowledge-center/storage-full-rds-cloudwatch-alarm/ Answer is AC
upvoted 1 times
...
aung_hein_kyaw
2 years, 11 months ago
https://aws.amazon.com/premiumsupport/knowledge-center/storage-full-rds-cloudwatch-alarm/
upvoted 1 times
...
Charun
3 years ago
Selected Answer: AD
Definitely A e D https://aws.amazon.com/about-aws/whats-new/2019/06/rds-storage-auto-scaling/?nc1=h_ls https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html For example, you can configure an alarm to watch over the average CPU utilization of the EC2 instances in your Auto Scaling group.
upvoted 2 times
...
gocoori
3 years, 1 month ago
oracle rds도 확장을 하지 않을까 생각되네요. cpu 평균사용률을 통한 확장가능 https://docs.aws.amazon.com/ko_kr/AmazonRDS/latest/AuroraUserGuide/Aurora.Integrating.AutoScaling.html
upvoted 2 times
...
osel
3 years, 3 months ago
Selected Answer: AC
As the question says "The Auto Scaling group lacks scaling metrics and instead specifies the minimal healthy instance count.", I take it that it means ASG only has Scale-in with a minimum capacity and no Scale-out metric. Thus can't trust ASG to scale-out EC2 according to rising workloads. The only way left for us to consider is to scale the DB capacity whereby option C is creating a custom metric with CloudWatch Alarm to trigger RDS Oracle to perform Storage Auto-Scaling.
upvoted 2 times
...
FF11
3 years, 4 months ago
Selected Answer: AD
A&D are correct
upvoted 2 times
...
cannottellname
3 years, 5 months ago
Selected Answer: AD
For auto-scaling we need native CPU as we lack in metrics For storage related DB issues, we need storage auto-scaling Hence, A & D
upvoted 2 times
...
Jonfernz
3 years, 6 months ago
A) Configure storage Auto Scaling on the RDS for Oracle instance. = Makes sense. With RDS Storage Auto Scaling, you simply set your desired maximum storage limit, and Auto Scaling takes care of the rest. B) Migrate the database to Amazon Aurora to use Auto Scaling storage. = Scenario specifies application's data layer uses Oracle-specific PL/SQL functions. This rules out migration to Aurora. C) Configure an alarm on the RDS for Oracle instance for low free storage space. = You could do this but what does it fix? Nothing. The CW notification isn't going to trigger anything. D) Configure the Auto Scaling group to use the average CPU as the scaling metric. = Makes sense. The CPU utilization is the precursor to the storage outage. When the ec2 instances are overloaded, the RDS instance storage hits its limits, too.
upvoted 11 times
...
Akash7
3 years, 6 months ago
A and C. With RDS Storage Auto Scaling, you simply set your desired maximum storage limit, and Auto Scaling takes care of the rest. RDS Storage Auto Scaling continuously monitors actual storage consumption, and scales capacity up automatically when actual utilization approaches provisioned storage capacity.
upvoted 3 times
swadeey
3 years, 6 months ago
Actually Point C defies what you did in A and goes against. If u setup auto scaling and then enable alarm you are not sure what you did and want to confirm. There are two issues to be addressed EC2 and RDS as per statement in question: "Traffic to the application has been steadily increasing. This is causing the EC2 instances to become overloaded and RDS instance to run out of storage" EC2 becoming overloaded doesn't have anything with RDS storage. If Oracle storage is full, db goes down application loose DB connection and application will be down "NOT OVERLOADED"
upvoted 1 times
...
...
Danjitka
3 years, 6 months ago
I am not sure between A&D and B&D because in the question we have already: The Auto Scaling group does not have any scaling metrics and defines the minimum healthy instance count only so I am wondering is A still a good option?
upvoted 1 times
Jonfernz
3 years, 6 months ago
Forget about B. The scenario specifically mentions that the application's data layer uses Oracle-specific PL/SQL functions. This effectively rules out migrating to Aurora.
upvoted 2 times
...
...
wanglei3607
3 years, 6 months ago
what is the difference between C and D? Why cpu not memory?
upvoted 1 times
noahsark
3 years, 6 months ago
No memory in defaults: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html
upvoted 1 times
...
francisco_guerra
3 years, 6 months ago
Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2 instances available to handle the load for your application. Amazon provides some default CloudWatch Metrics like CPUUtilization or DiskWriteOps but to scale based on Memory Utilization we are forced to create a custom metric.
upvoted 7 times
...
...
JArafat
3 years, 6 months ago
A and D
upvoted 3 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