exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 66 discussion

You are running a news website in the eu-west-1 region that updates every 15 minutes. The website has a world-wide audience. It uses an Auto Scaling group behind an Elastic Load Balancer and an Amazon RDS database. Static content resides on Amazon S3, and is distributed through Amazon CloudFront. Your Auto
Scaling group is set to trigger a scale up event at 60% CPU utilization. You use an Amazon RDS extra large DB instance with 10.000 Provisioned IOPS, its CPU utilization is around 80%, while freeable memory is in the 2 GB range.
Web analytics reports show that the average load time of your web pages is around 1.5 to 2 seconds, but your SEO consultant wants to bring down the average load time to under 0.5 seconds.
How would you improve page load times for your users? (Choose three.)

  • A. Lower the scale up trigger of your Auto Scaling group to 30% so it scales more aggressively.
  • B. Add an Amazon ElastiCache caching layer to your application for storing sessions and frequent DB queries
  • C. Configure Amazon CloudFront dynamic content support to enable caching of re-usable content from your site
  • D. Switch the Amazon RDS database to the high memory extra large Instance type
  • E. Set up a second installation in another region, and use the Amazon Route 53 latency-based routing feature to select the right region.
Show Suggested Answer Hide Answer
Suggested Answer: BCE 🗳️

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
tvs
Highly Voted 3 years, 5 months ago
should be BCD . Cloudfront replaces additonal region requirment , because its main purpouse is CDN from differenr GEO location. Also how creating another region with latency routing will help world wide customers.?
upvoted 7 times
robertomartinez
3 years, 5 months ago
Cloudfront does NOT "replaces additonal region requirment"
upvoted 2 times
robertomartinez
3 years, 5 months ago
and D isn't required there's plenty of free mem
upvoted 1 times
sashenka
3 years, 5 months ago
But the CPU is considered HIGH @ 80%
upvoted 2 times
...
...
Clandestine60
3 years, 3 months ago
E cannot be right as it says "global audience". So multiple regions should be setup to really help
upvoted 3 times
...
...
...
amministrazione
Most Recent 8 months, 1 week ago
B. Add an Amazon ElastiCache caching layer to your application for storing sessions and frequent DB queries C. Configure Amazon CloudFront dynamic content support to enable caching of re-usable content from your site D. Switch the Amazon RDS database to the high memory extra large Instance type
upvoted 1 times
...
vip2
1 year, 1 month ago
B C D is correct one. Main different between D and E is 1. CPU load 2. global wide, not only 2 regions
upvoted 1 times
...
Jesuisleon
1 year, 10 months ago
Selected Answer: BCD
D is better than E. The question emphasize "a world-wide audience" and uses cloudfront to cache its static contents and dynamic contents(option C) to edge locations around the world. this already helps people around the world to connect the POP/Edge locations which is nearby with them. It doesn't make sense to setup additional installation in another region ( this just serves the people better in that region)
upvoted 1 times
Jesuisleon
1 year, 10 months ago
"freeable memory is in the 2 GB range" I feel 2GB left is not enough for a db server.
upvoted 1 times
...
...
CertNerd1234
2 years, 3 months ago
Selected Answer: BCD
Probably BCD. Remember the question is not “What combination of thing” would solve the problem. When question does not contain “What combination” then the the answer is which of the possible solutions could in isolation solve the problem at hand. The E option alone would not make a big impact.
upvoted 2 times
...
hilft
2 years, 9 months ago
ABC make sense but BCD seems better
upvoted 1 times
...
Anhdd
2 years, 10 months ago
Selected Answer: BCE
BCE for me. Anyone who choose D over E could explains why we need to upsize DB when we have already cache the DB content by ElastisCache? When you cache you data in Redis, I think CPU never go over 80% because it not need to run continously, right?
upvoted 3 times
...
ghfalcon7
2 years, 11 months ago
With E you need to handle multi-master DB replication, I don't think that's in the scope of this question, not to mention adding just one region doesn't really solve the "Global audience" part
upvoted 2 times
...
Mimek
3 years ago
Selected Answer: BCE
BCE is my choice
upvoted 2 times
...
jj22222
3 years, 2 months ago
B, C, D is right
upvoted 1 times
...
cldy
3 years, 3 months ago
B.C.D. Random spikes in CPU consumption may not hamper database performance, but sustained high CPU can hinder upcoming database requests. Depending on the overall database workload, high CPU (70%–90%) at your Amazon RDS instance can degrade the overall performance. If a bad or unexpected query, or unusually high workload, causes a high value of CPUUtilization, you might move to a larger instance class.
upvoted 1 times
...
sashenka
3 years, 5 months ago
B C DDD - It should be D over E because the RDS CPU is considered high at 80%. Check out the AWS best practices and recommendations at the link below. "Using metrics to identify performance issues --> The red line in the Monitoring tab metrics is marked at 75% for CPU, Memory and Storage Metrics. If instance memory consumption frequently crosses that line, then this indicates that you should check your workload or upgrade your instance." https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_BestPractices.html
upvoted 2 times
sashenka
3 years, 5 months ago
Additionally, take a look at this "Making better decisions about Amazon RDS with Amazon CloudWatch metrics" reference states "Depending on the overall database workload, high CPU (70%–90%) at your Amazon RDS instance can degrade the overall performance." https://aws.amazon.com/blogs/database/making-better-decisions-about-amazon-rds-with-amazon-cloudwatch-metrics/
upvoted 1 times
sashenka
3 years, 5 months ago
So clearly RDS is the cause of the performance issue and needs to be upgraded. Besides, even if we were to setup a environment (we aren't even given any regional/global info as to where we would do that) we would need to address the RDS. Besides, even if we were to “Set up a second installation in another region, and use the Amazon Route 53 latency-based routing”, what region would you select (Europe?, Asia?) and who is to say that it’s guaranteed to get average load times under 0.5 sec? Amazon Route 53 latency-based routing will route traffic to the Region that provides the best latency with less round-trip time. What if most of the global traffic is not distributed equally with the respect that it’s based on latency of the requestor to the endpoint. Even if we assume that its split evenly 50/50 currently one region is producing 1.5 and 2 sec average load times so at its best we reduce that in half to .75 - 1 sec which still does not meet the requirement.
upvoted 2 times
sashenka
3 years, 5 months ago
Finally to drive this home, option C which enables dynamic content allows one to select a distribution separate from the S3 bucket (static) content. Typically one would point the custom origin at the ALB endpoint or the EC2 instance and set a TTL to 15 min as in this case we are told that the dynamic content on the news site only changes every 15 min. So, having CloudFront distribute content globally we do not need any more global resources. CloudFront will cache both S3 and ALB content and time out the dynamic content (that comes from the RDS) every 15 min. This in itself should bring down the average load times as the majority of the requests would be coming from the cache in CloudFront and not even have to go back to the origin.
upvoted 3 times
...
...
...
...
FERIN_01
3 years, 5 months ago
E. Doesn't make any impact as all static and dynamic traffic through cloudfront. More over users are global. Just setting another region will not reduce RDS workload, as traffic comes only to primary region via cloudfront
upvoted 3 times
...
Madhu654
3 years, 5 months ago
BCE is correct.. Cloudfront supports dynamic content caching by default.. you don't have to enable to support it.. Option C could have been phrased better
upvoted 2 times
sashenka
3 years, 5 months ago
It actually states "CONFIGURE Amazon CloudFront dynamic content support" and not "ENABLE". The way you configure it is by adding an origin that points to the dynamic content. Typically one would create an origin that directs static content at S3 but one could also add a second origin that points at the ALB for the caching of dynamic content.
upvoted 1 times
...
...
Akhil254
3 years, 5 months ago
BCE Correct
upvoted 2 times
...
nodogoshi
3 years, 5 months ago
E MUST
upvoted 1 times
...
01037
3 years, 6 months ago
I'll choose BCE
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