Professional Cloud Architect Exam QuestionsBrowse all questions from this exam

Professional Cloud Architect Exam - 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?

Show Answer
Correct Answer: CD

Since the institution's policy requires workloads from different clients to be separated at the level of the physical hardware, each client must be assigned to their own dedicated node. To ensure that each workload is deployed on its designated node, you should use node affinity labels based on the node name when creating Compute Engine instances. This ensures that each client's workload runs on the specific node assigned to them, thereby maintaining the required physical separation.

Discussion

17 comments
Sign in to comment
pr2webOption: D
Sep 9, 2021

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.

Sephethus
Jun 20, 2024

Except that sole tenant nodes can also be grouped, and wouldn't it be a best practice to design for scaling?

BinozOption: D
Aug 31, 2021

D. Afinity should be set at node level, not node-group as every client has its own node in the group

MikeB19
Sep 8, 2021

That’s what i thought too

deeneeOption: D
Jul 20, 2022

D : 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.

slars2kOption: C
Mar 31, 2022

I go with C as I believe single-tenant node group meant for only one client

Andras2kOption: D
Jan 31, 2023

I had this question recently (end of jan 2023) and went with answer D. After doing some investigation, that seems to be the right answer to me.

LaxmanTiwari
May 24, 2023

Preparing for exam and gone through the concept make sense the answer is D

SamGCPOption: D
Dec 16, 2021

https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#default_affinity_labels

thewalkerOption: D
Nov 28, 2023

D As per the documentation: https://cloud.google.com/compute/docs/nodes/provisioning-sole-tenant-vms#provision_a_sole-tenant_vm

AmitMittalOption: D
Dec 21, 2021

D is abs right

OrangeTigerOption: D
Jan 9, 2022

They must 'Use node affinity labels based on the node name'. Because 'added a node for each client'. So I chose D. Ty guys.

azureaspirant
Feb 15, 2022

2/15/21

Skr6266Option: D
Mar 22, 2022

Answer is D since it is clearly documented as When you create a VM, you request sole-tenancy by specifying node affinity or anti-affinity, referencing one or more node affinity labels. You specify custom node affinity labels when you create a node template, and Compute Engine automatically includes some default affinity labels on each node. By specifying affinity when you create a VM, you can schedule VMs together on a specific node or nodes in a node group. By specifying anti-affinity when you create a VM, you can ensure that certain VMs are not scheduled together on the same node or nodes in a node group. 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.

AzureDP900Option: D
Oct 15, 2022

D is right, Node is right choice instead of node group

Mahmoud_EOption: D
Oct 20, 2022

D is the correct answer, VMs must be associated to a specific node within the node-group, so you must use the node name label to provision the VM.

meguminOption: D
Nov 16, 2022

D is ok

surajkrishnamurthyOption: D
Dec 15, 2022

D is the correct answer

beehiveOption: D
Jan 6, 2023

Answer is D. Ref: you can't specify node affinity labels on a node group.>> https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_templates

tamj123Option: D
Oct 19, 2023

D, the question ask “You created a sole-tenant node group and added a node for each client.”,so node affinity labels based on the node name is need it.