Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 157 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 157
Topic #: 1
[All Professional Cloud Architect Questions]

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?

  • A. 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.
  • B. Add the node name as a network tag when creating Compute Engine instances in order to host each workload on the correct node.
  • C. 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.
  • D. Use node affinity labels based on the node name when creating Compute Engine instances in order to host each workload on the correct node.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
pr2web
Highly Voted 3 years, 2 months ago
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.
upvoted 59 times
Sephethus
5 months ago
Except that sole tenant nodes can also be grouped, and wouldn't it be a best practice to design for scaling?
upvoted 1 times
...
...
Binoz
Highly Voted 3 years, 2 months ago
D. Afinity should be set at node level, not node-group as every client has its own node in the group
upvoted 18 times
MikeB19
3 years, 2 months ago
That’s what i thought too
upvoted 7 times
...
...
192dcc7
Most Recent 2 months, 1 week ago
Selected Answer: C
Question already says node-group created "You created a sole-tenant node group and added a node for each client"
upvoted 2 times
Positron75
1 month ago
Sure, but the affinity must be set at the individual node level, not the node group level. Thus D is correct.
upvoted 1 times
...
...
192dcc7
2 months, 1 week ago
Selected Answer: C
KV Affinity Label > Node template > Node Group > CE Question already said Node group is created. Then why tag it to node ?
upvoted 1 times
...
lucaluca1982
3 months, 3 weeks ago
Selected Answer: C
Using node affinity labels based on the node group name when creating Compute Engine instances is the appropriate method to ensure workloads are hosted on the correct node group. This approach aligns with Google Cloud's recommended practices for provisioning sole-tenant VMs and provides the required isolation for client workloads.
upvoted 1 times
...
thewalker
12 months ago
Selected Answer: D
D As per the documentation: https://cloud.google.com/compute/docs/nodes/provisioning-sole-tenant-vms#provision_a_sole-tenant_vm
upvoted 2 times
...
tamj123
1 year, 1 month ago
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.
upvoted 1 times
...
Andras2k
1 year, 9 months ago
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.
upvoted 3 times
LaxmanTiwari
1 year, 6 months ago
Preparing for exam and gone through the concept make sense the answer is D
upvoted 1 times
...
...
beehive
1 year, 10 months ago
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
upvoted 1 times
...
surajkrishnamurthy
1 year, 11 months ago
Selected Answer: D
D is the correct answer
upvoted 1 times
...
megumin
2 years ago
Selected Answer: D
D is ok
upvoted 1 times
...
Mahmoud_E
2 years, 1 month ago
Selected Answer: D
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.
upvoted 1 times
...
AzureDP900
2 years, 1 month ago
D is right, Node is right choice instead of node group
upvoted 1 times
...
deenee
2 years, 4 months ago
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.
upvoted 4 times
...
slars2k
2 years, 7 months ago
I go with C as I believe single-tenant node group meant for only one client
upvoted 3 times
...
Skr6266
2 years, 8 months ago
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.
upvoted 1 times
...
azureaspirant
2 years, 9 months ago
2/15/21
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...