ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 137 - Professional Cloud DevOps Engineer discussion

Report
Export

You recently migrated an ecommerce application to Google Cloud. You now need to prepare the application for the upcoming peak traffic season. You want to follow Google-recommended practices. What should you do first to prepare for the busy season?

A.
Migrate the application to Cloud Run, and use autoscaling.
Answers
A.
Migrate the application to Cloud Run, and use autoscaling.
B.
Load test the application to profile its performance for scaling.
Answers
B.
Load test the application to profile its performance for scaling.
C.
Create a Terraform configuration for the application's underlying infrastructure to quickly deploy to additional regions.
Answers
C.
Create a Terraform configuration for the application's underlying infrastructure to quickly deploy to additional regions.
D.
Pre-provision the additional compute power that was used last season, and expect growth.
Answers
D.
Pre-provision the additional compute power that was used last season, and expect growth.
Suggested answer: B

Explanation:

The first thing you should do to prepare your ecommerce application for the upcoming peak traffic season is to load test the application to profile its performance for scaling. Load testing is a process of simulating high traffic or user demand on your application and measuring how it responds. Load testing can help you identify any bottlenecks, errors, or performance issues that might affect your application during the busy season1. Load testing can also help you determine the optimal scaling strategy for your application, such as horizontal scaling (adding more instances) or vertical scaling (adding more resources to each instance)2.

There are different tools and methods for load testing your ecommerce application on Google Cloud, depending on the type and complexity of your application. For example, you can use Cloud Load Balancing to distribute traffic across multiple instances of your application, and use Cloud Monitoring to measure the latency, throughput, and error rate of your application3. You can also use Cloud Functions or Cloud Run to create serverless load generators that can simulate user requests and send them to your application4. Alternatively, you can use third-party tools such as Apache JMeter or Locust to create and run load tests on your application.

By load testing your ecommerce application before the peak traffic season, you can ensure that your application is ready to handle the expected load and provide a good user experience. You can also use the results of your load tests to plan and implement other steps to prepare your application for the busy season, such as migrating to a more scalable platform, creating a Terraform configuration for deploying to additional regions, or pre-provisioning additional compute power.

1: Load Testing 101: How To Test Website Performance | BlazeMeter

2: Scaling applications | Google Cloud

3: Load testing using Google Cloud | Solutions | Google Cloud

4: Serverless load testing using Cloud Functions | Solutions | Google Cloud

asked 18/09/2024
Elena Albu
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first