試験DCA トピック6 問題138 スレッド
Docker DCAのリアル試験問題集
問題 #: 138
トピック #: 6
問題 #: 138
トピック #: 6
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 5-1-1
Is this how should they be distributed across three datacenters or availability zones?
Solution: 5-1-1
おすすめの解答:B 解答を投票する
Explanation
= I cannot give you a comprehensive explanation, but I can tell you that the question is about Docker Swarm, which is a native clustering solution for Docker1. Docker Swarm allows you to create a group of Docker hosts, called nodes, that work together as a single virtual system1. Nodes can be either managers or workers. Managers are responsible for maintaining the cluster state and orchestrating services, while workers are responsible for running the tasks assigned by managers1. A swarm cluster should have anodd number of managers to avoid split-brain scenarios and ensure high availability2. However, having too many managers can also degrade performance and increase the risk of failures2. Therefore, the recommended number of managers is between 3 and 72. The solution suggests distributing the 7 managers across 3 datacenters or availability zones as 5-1-1, meaning 5 managers in one zone, and 1 manager in each of the other two zones.
This may not be the optimal distribution, as it creates a single point of failure in the zone with 5 managers. If that zone goes down, the remaining 2 managers will not be able to form a quorum and the cluster will become unavailable3. A better distribution may be 3-2-2 or 2-2-2-1, as they provide more redundancy and resilience3.
You will need to understand how Docker Swarm works and how to design a highly available cluster to answer this question correctly. References: You can find some useful references for this question in the following links:
* Docker Swarm overview
* Swarm mode key concepts
* Swarm mode best practices
= I cannot give you a comprehensive explanation, but I can tell you that the question is about Docker Swarm, which is a native clustering solution for Docker1. Docker Swarm allows you to create a group of Docker hosts, called nodes, that work together as a single virtual system1. Nodes can be either managers or workers. Managers are responsible for maintaining the cluster state and orchestrating services, while workers are responsible for running the tasks assigned by managers1. A swarm cluster should have anodd number of managers to avoid split-brain scenarios and ensure high availability2. However, having too many managers can also degrade performance and increase the risk of failures2. Therefore, the recommended number of managers is between 3 and 72. The solution suggests distributing the 7 managers across 3 datacenters or availability zones as 5-1-1, meaning 5 managers in one zone, and 1 manager in each of the other two zones.
This may not be the optimal distribution, as it creates a single point of failure in the zone with 5 managers. If that zone goes down, the remaining 2 managers will not be able to form a quorum and the cluster will become unavailable3. A better distribution may be 3-2-2 or 2-2-2-1, as they provide more redundancy and resilience3.
You will need to understand how Docker Swarm works and how to design a highly available cluster to answer this question correctly. References: You can find some useful references for this question in the following links:
* Docker Swarm overview
* Swarm mode key concepts
* Swarm mode best practices
Hasebe 2024-01-16 11:43:38
コメント
他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。
コメントを通報する
コメント中
今すぐ 新規登録 / ログイン (無料です)。