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 11 discussion

Your company has an on-premises multi-tier PHP web application, which recently experienced downtime due to a large burst in web traffic due to a company announcement Over the coming days, you are expecting similar announcements to drive similar unpredictable bursts, and are looking to find ways to quickly improve your infrastructures ability to handle unexpected increases in traffic.
The application currently consists of 2 tiers a web tier which consists of a load balancer and several Linux Apache web servers as well as a database tier which hosts a Linux server hosting a MySQL database.
Which scenario below will provide full site functionality, while helping to improve the ability of your application in the short timeframe required?

  • A. Failover environment: Create an S3 bucket and configure it for website hosting. Migrate your DNS to Route53 using zone file import, and leverage Route53 DNS failover to failover to the S3 hosted website.
  • B. Hybrid environment: Create an AMI, which can be used to launch web servers in EC2. Create an Auto Scaling group, which uses the AMI to scale the web tier based on incoming traffic. Leverage Elastic Load Balancing to balance traffic between on-premises web servers and those hosted in AWS.
  • C. Offload traffic from on-premises environment: Setup a CIoudFront distribution, and configure CloudFront to cache objects from a custom origin. Choose to customize your object cache behavior, and select a TTL that objects should exist in cache.
  • D. Migrate to AWS: Use VM Import/Export to quickly convert an on-premises web server to an AMI. Create an Auto Scaling group, which uses the imported AMI to scale the web tier based on incoming traffic. Create an RDS read replica and setup replication between the RDS instance and on-premises MySQL server to migrate the database.
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
AnNguyen
Highly Voted 3 years, 6 months ago
Answer is C A: This works if the website is static but we don’t know enough about it to determine if S3 can host it B: ELB can not be used with resources outside of AWS C: CloudFront works with custom origins, in this case the external PHP web app. CloudFront is a good choice for handling the traffic spike in a short time D: The scenario does not say the on-prem app is in a VM, this is not an option https://acloud.guru/forums/aws-certified-solutions-architect-professional/discussion/-KF5MzPkMfG_IyE2jkG1/load-balancing-to-balance-traffic-between-on-premises-web-servers-and-those-host
upvoted 19 times
hhuo
3 years, 6 months ago
I'm not saying B is correct. But, for ELB not being used outside of AWS, the following link shows AWS seems to have supported it. https://aws.amazon.com/about-aws/whats-new/2017/08/elastic-load-balancing-application-load-balancer-now-supports-load-balancing-to-ip-addresses-as-targets-for-aws-and-on-premises-resources/
upvoted 5 times
iceman
3 years, 6 months ago
If this is supported why B is not a valid answer then? C does look simpler though
upvoted 1 times
...
William_Ye
3 years, 6 months ago
After read your link, only ALB support on-premise;Correct answer still C.
upvoted 3 times
CDV_fr
3 years, 6 months ago
ELB = load balancing service. When you choose ELB, you still have to choose between ALB (layer 7), NLB (layer 4), or CLB (both, but is not integrated with new services). Previously, CLB was the only LB available and therefore was called ELB. https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/introduction.html
upvoted 3 times
...
...
longns
2 years, 1 month ago
The doc say on-premises locations reachable over AWS Direct Connect so implement AWS Direct Connect is not short time
upvoted 1 times
...
...
Blah777
3 years, 6 months ago
ELB is including ALB and CLB (Classic one). ALB can support on-premise resources and AWS resources via IP address. But you have to create connection between AWS and on-premise first (VPN or Direct Connect). So, i think that B is not correct.
upvoted 6 times
...
...
PredaOvde
Highly Voted 3 years, 6 months ago
I don't think it's C. What if database is the bottleneck? Cloudfront would not help with that. I vote D.
upvoted 10 times
loleny
11 months, 2 weeks ago
The app is in production, you need "short time" and you would like to migrate the all app from on prem to Cloud ? Crazy idea
upvoted 1 times
...
...
happymeal00
Most Recent 2 months ago
Selected Answer: D
B and C is wrong because they do not account for the DB layer. Answer is D. The question mentioned "upcoming days" so I assume over a period of a few days. Importing/Exporting AMIs will take less than an hour. Migrating the DB will not take too many days since the max size is 64TB. The effort and time required for option D is definitely more than other options but it still fits the requirements of the question.
upvoted 1 times
...
thanhpolimi
7 months, 3 weeks ago
Anwser is B. A and C is not correct because we have dynamic content. D can be considered as an answer but it is time consuming to migrate all onto AWS.
upvoted 1 times
...
Coffeinerd
8 months ago
Selected Answer: C
A - makes no sense, site is dynamic and S3 is only static B - would work but is missing the VPN or DC link. C - will reduce the impact by caching part of the content. I manage large PHP applications in a similar fashion and Cloudfront currently absorbs 70-90% of the traffic but it definitely depends on the application. D - not quick to be setup.
upvoted 1 times
...
amministrazione
8 months, 2 weeks ago
C. Offload traffic from on-premises environment: Setup a CIoudFront distribution, and configure CloudFront to cache objects from a custom origin. Choose to customize your object cache behavior, and select a TTL that objects should exist in cache.
upvoted 1 times
...
Chungies
9 months, 2 weeks ago
I will go with B because You can use an Elastic Load Balancing (ELB) service like Application Load Balancer (ALB) or Network Load Balancer (NLB) to distribute traffic between AWS resources and on-premises servers. This allows you to seamlessly integrate your on-premises infrastructure with your AWS environment.
upvoted 1 times
...
devilman222
1 year ago
Selected Answer: B
B and C are only real answers. Its a stupid question because obviously you would have some idea of where the bottle neck was. Would you really try to solve this problem without knowing if the problem was in the Database teir or the webtier. B is more complicated, but would solve the problem. Honestly what you would do in a very short term would be spin up more on prem resources and then work on migrated it to AWS which would take longer than a few days.
upvoted 1 times
...
2cool2touch
1 year, 1 month ago
Selected Answer: B
C with cloudfront does not necessarily address the unexpected burst. We dont know the nature of the app. PHP can be cached but depending on the site logic, it may still send a ton of requests back so there is no gurantee this will solve the problem. B will solve it. One thing not mentioned here is VPN or DX between on-prem and cloud. VPN can be setup quickly
upvoted 1 times
...
Kubernetes
1 year, 1 month ago
C is most fast
upvoted 2 times
...
JPA210
1 year, 2 months ago
Selected Answer: C
C. is the only possible option B. Wrong, ELB is regional, cannot distribute between EC2 and on-prem D. is wrong since you cannot create RDS read replicas with on premises MYSQL server
upvoted 1 times
...
AimarLeo
1 year, 3 months ago
Selected Answer: C
In short notice either DX or VPN will take longer to establish connectivties.. besides to ELB was not specific if can scale to reach OnPrem there still custom config to create connection and scale the pool using IP Addresses which in the option not clear.. would go for C.. CloudFront for static and dynamic..
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: B
Option B (Hybrid environment) suggests creating an AMI (Amazon Machine Image) of the web servers and setting up an Auto Scaling group to scale the web tier based on incoming traffic. It also suggests using Elastic Load Balancing (ELB) to balance traffic between on-premises web servers and those hosted in AWS. This approach allows for quick scaling of the web tier to handle increased traffic, leveraging the elasticity and scalability of AWS. It provides a hybrid solution where both on-premises and AWS resources work together to handle the burst in traffic, ensuring full site functionality.
upvoted 3 times
...
Tarila79
1 year, 11 months ago
Selected Answer: B
Option B would be a better option to handle any amount of traffic with the ELB and autoscaling of the EC2 web instances.
upvoted 2 times
...
rtguru
1 year, 11 months ago
I think B will work best since the application is fully hosted on premise , offloading it by creating a hybrid environment will handle the short time traffic burst
upvoted 1 times
...
yyees
2 years ago
Even though chatGPT isn't always correct, this answer below is persuasive. B. Hybrid environment: Create an AMI, which can be used to launch web servers in EC2. Create an Auto Scaling group, which uses the AMI to scale the web tier based on incoming traffic. Leverage Elastic Load Balancing to balance traffic between on-premises web servers and those hosted in AWS. Option B would provide full site functionality while improving the ability of your application to handle unpredictable bursts in web traffic. This option involves creating an Amazon Machine Image (AMI) of the web servers and launching them in EC2 instances. An Auto Scaling group is created to scale the web tier based on incoming traffic, and Elastic Load Balancing is used to balance traffic between on-premises web servers and those hosted in AWS.
upvoted 1 times
...
TigerInTheCloud
2 years, 4 months ago
Selected Answer: C
A. S3 web hosting only for static content. Two-tier, application/DB, most likely not static. If it is static, why not just migrate all but failover? B. Hybrid with auto-scaling EC2 group may work. What about DB? Could be the DB the bottleneck? How to handle on-premises server's performance metrics (quite complex) C: CloudFront can be set up quickly, and it supports both static and dynamic cache, which offloads the loads from applications and DB. D: This could be a good long-term solution but not for improving the ability of the application in the short timeframe required.
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