Preparing Your E-Commerce Application for the Busy Season

Preparing Your E-Commerce Application

Question

You have migrated an e-commerce application to Google Cloud Platform (GCP)

You want to prepare the application for the upcoming busy season.

What should you do first to prepare for the busy season?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.

The correct answer for this question is B: Enable AutoScaling on the production clusters, in case there is growth.

Explanation:

The upcoming busy season is expected to bring an increase in traffic to the e-commerce application. In order to handle this increased traffic, it is important to ensure that the application is prepared to scale up as needed.

AutoScaling is a GCP service that allows you to automatically adjust the number of virtual machine instances running in a managed instance group based on the current demand for your application. By enabling AutoScaling on the production clusters, you ensure that the application can handle increased traffic during the busy season by automatically adding more virtual machine instances as needed.

Option A, Load testing the application to profile its performance for scaling, is a good practice to identify the maximum capacity of the application and determine how many resources are needed to handle the anticipated traffic. However, this should be done in conjunction with enabling AutoScaling to ensure that the application can handle sudden spikes in traffic.

Option C, Pre-provisioning double the compute power used last season, expecting growth, can be expensive and inefficient, as it assumes that the increased traffic will occur at a constant rate throughout the season. Enabling AutoScaling allows you to only pay for the resources you need, as the number of instances will automatically adjust based on demand.

Option D, Creating a runbook on inflating the disaster recovery (DR) environment if there is growth, is important for ensuring that the application can recover in the event of a disaster. However, it is not directly related to preparing for the upcoming busy season and does not address the need for scaling the application to handle increased traffic.

In summary, enabling AutoScaling on the production clusters is the best first step to prepare for the upcoming busy season, as it allows the application to automatically adjust resources based on demand, while also keeping costs under control.