Topic 1 Question 157
You are working at an institution that processes medical data. You are migrating several workloads onto Google Cloud. Company policies require all workloads to run on physically separated hardware, and workloads from different clients must also be separated. You created a sole-tenant node group and added a node for each client. You need to deploy the workloads on these dedicated hosts. What should you do?
Add the node group name as a network tag when creating Compute Engine instances in order to host each workload on the correct node group.
Add the node name as a network tag when creating Compute Engine instances in order to host each workload on the correct node.
Use node affinity labels based on the node group name when creating Compute Engine instances in order to host each workload on the correct node group.
Use node affinity labels based on the node name when creating Compute Engine instances in order to host each workload on the correct node.
ユーザの投票
コメント(17)
Answer is D.
Y'all not reading the fine details. The question is about aligning EACH client to their dedicated nodes (D), not to a node group (C).
https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#default_affinity_labels
The above reference clearly articulates the default affinity label for node group and node name. Unless we're thinking about growing each client to their own dedicated node groups (not in the current requirement), then the answer is not C, rather D.
Compute Engine assigns two default affinity labels to each node:
A label for the node group name: Key: compute.googleapis.com/node-group-name Value: Name of the node group. A label for the node name: Key: compute.googleapis.com/node-name Value: Name of the individual node.
👍 52pr2web2021/09/08D. Afinity should be set at node level, not node-group as every client has its own node in the group
👍 16Binoz2021/08/31D : https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes Node affinity labels are key-value pairs assigned to nodes, and are inherited from a node template. Affinity labels let you:
Control how individual VM instances are assigned to nodes. Control how VM instances created from a template, such as those created by a managed instance group, are assigned to nodes. Group sensitive VM instances on specific nodes or node groups, separate from other VMs.
👍 4deenee2022/07/20
シャッフルモード