Objective 3.2

PCD

Deploying containers to GKE

Objective 3.2 sits in Configuring cloud-native applications for deployment, which carries 24% of the Cloud Developer exam. The questions below are original, written from the official objective title above, and each explanation cites the Google Cloud page it rests on.

Objective title verbatim from the official objectives. Google Cloud exam page

A worked example

Shown solved, with the whole explanation open: this is what every question here carries.

3-2Configuring cloud-native applications for deployment

A team's Pod carries one of the two labels named in a Service selector and never receives any traffic. What does membership actually require?

Any single label named by the selectorMatching a single label would pull in far more Pods than intended.
A matching name as well as the labelsNames are not consulted; the selector works purely on labels.
Every one of the labels in the selectorCorrect · your answerCorrect. All of them, not some.
Selector labels in the order listedLabels are an unordered set of key and value pairs.

Correct.

Concept

Treating a selector as a conjunction lets one added label narrow a group without rewriting anything, which is what makes labels usable as an addressing scheme.

Why C

A Pod belongs to a Service only when it carries all of the labels the selector names, so a selector listing two labels admits nothing that has just one.

Source

A Service identifies its member Pods with a selector. For a Pod to be a member of the Service, the Pod must have all of the labels specified in the selector. A label is an arbitrary key/value pair that is attached to an object.

Understand Kubernetes Services, checked August 2026
#gcp#gke#kubernetes#services

Now you: objective 3.2 questions

No account needed. The explanation opens when you answer.

Sample question 1 of 3

3-2Configuring cloud-native applications for deployment

A team points its clients straight at Pod IP addresses and the connections break whenever Pods are replaced. What does a Service supply instead?

Sample question 2 of 3

3-2Configuring cloud-native applications for deployment

A team creates a Service of type LoadBalancer and asks whether an in-cluster address exists for it as well. What does that type carry?

Sample question 3 of 3

3-2Configuring cloud-native applications for deployment

A team's Service lists port 80 with targetPort 8080, and clients get connection failures every time. What must the container in a member Pod be doing?

Full Cloud Developer question bank coming

We’re writing the complete bank from the official objectives right now. Leave your email and we’ll tell you when it ships, nothing else, ever.

Read the sources

These are the official pages the questions above cite. Reading them is studying the objective from the primary source, which is what the explanations point you toward anyway.

More objectives in Configuring cloud-native applications for deployment