2V0-21.23 Question 400
Select 2Your organization has a critical multi-tier application consisting of a web server, application server, and database server. To ensure optimal performance and compliance, you need to configure Distributed Resource Scheduler (DRS) affinity and anti-affinity rules. The web server and application server should always run on separate hosts to avoid contention, while the database server should run on the same host as the application server for faster communication. Which rules should you configure in this scenario?
- A
Create an anti-affinity rule to separate the web server and application server across different hosts.
- B
Create an affinity rule to keep the database server and application server on the same host.
- C
Create an anti-affinity rule to separate the database server and web server across different hosts.
- D
Create an affinity rule to keep the web server and database server on the same host.
- E
Create an anti-affinity rule to separate the database server and application server across different hosts.
Show answer and explanation
Correct answers: A, B
Explanation
To meet the requirements of the scenario, an anti-affinity rule should be created to separate the web server and application server to avoid resource contention. Additionally, an affinity rule should be created to ensure the database server and application server run on the same host for faster communication. These rules help achieve optimal performance and compliance for the multi-tier application.
- A. Correct.
This is correct as the web server and application server must run on separate hosts to avoid resource contention.
- B. Correct.
This is correct as the database server and application server need to be on the same host for faster communication.
- C. Incorrect.
This is incorrect as there is no requirement to separate the database server and web server.
- D. Incorrect.
This is incorrect as the web server and database server do not need to be on the same host.
- E. Incorrect.
This is incorrect as the database server and application server need to be on the same host, not separated.