Infrastructure Design Changes to Avoid Issues in the Future | CAS-004 Exam Preparation

Best Infrastructure Design Changes for Avoiding Future Issues | CAS-004 Exam Preparation

Question

In preparation for the holiday season, a company redesigned the system that manages retail sales and moved it to a cloud service provider.

The new infrastructure did not meet the company's availability requirements.

During a postmortem analysis, the following issues were highlighted: 1

International users reported latency when images on the web page were initially loading.

2

During times of report processing, users reported issues with inventory when attempting to place orders.

3

Despite the fact that ten new API servers were added, the load across servers was heavy at peak times.

Which of the following infrastructure design changes would be BEST for the organization to implement to avoid these issues in the future?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

The company is facing availability issues after moving their retail sales management system to a cloud service provider. The postmortem analysis reveals the following problems:

  1. International users experiencing latency when images on the web page were initially loading.
  2. Users are facing issues with inventory when trying to place orders during report processing times.
  3. Despite adding ten new API servers, the load across servers is heavy during peak times.

To avoid such issues in the future, the organization needs to implement infrastructure design changes that can enhance availability and performance. Let's examine the answer choices provided in the question:

Option A:

  • Serve static content via distributed CDNs
  • Create a read replica of the central database and pull reports from there
  • Auto-scale API servers based on performance.

Explanation: This option proposes the use of CDNs to serve static content, which can reduce latency and improve the user experience. The creation of a read replica of the central database can reduce the load on the database during report processing times, potentially improving inventory availability. Autoscaling the API servers based on performance can also help to manage server loads during peak times.

Option B:

  • Increase the bandwidth for the server that delivers images
  • Use a CDN
  • Change the database to a non-relational database
  • Split the ten API servers across two load balancers.

Explanation: This option suggests increasing the bandwidth for the server that delivers images, which can reduce latency for international users. Using a CDN can also help with reducing latency and improve user experience. Changing the database to a non-relational database can provide greater scalability and performance, but it requires a significant change in the database architecture. Splitting the ten API servers across two load balancers can also help manage server loads during peak times.

Option C:

  • Serve images from an object storage bucket with infrequent read times
  • Replicate the database across different regions
  • Dynamically create API servers based on load.

Explanation: This option proposes serving images from an object storage bucket with infrequent read times, which can help reduce latency for international users. Replicating the database across different regions can improve availability and provide better performance for users in different regions. Dynamically creating API servers based on load can help manage server loads and improve availability during peak times.

Option D:

  • Serve static-content object storage across different regions
  • Increase the instance size on the managed relational database
  • Distribute the ten API servers across multiple regions.

Explanation: This option suggests serving static-content object storage across different regions to improve availability and reduce latency. Increasing the instance size on the managed relational database can improve performance and scalability, but it requires a cost-benefit analysis. Distributing the ten API servers across multiple regions can help manage server loads during peak times and improve availability.

Based on the above analysis, option A appears to be the best choice as it offers a comprehensive solution to all the issues highlighted in the postmortem analysis. It addresses the latency issues for images, the inventory issues during report processing times, and the heavy load across servers during peak times.