Courseiva
Cloud Native ArchitecturemediumDrag & DropObjective-mapped

KCNA Cloud Native Architecture Practice Question

Drag and drop the steps to configure a Kubernetes Service of type LoadBalancer in a cloud environment into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Step 1: Deploy the application. Step 2: Define and create the LoadBalancer service. Step 3: Retrieve the external IP. Step 4: Access the application using the IP.

First deploy the app, then define and create the LoadBalancer service, retrieve the IP, and access it.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Step 1: Deploy the application. Step 2: Define and create the LoadBalancer service. Step 3: Retrieve the external IP. Step 4: Access the application using the IP.

    Why this is correct

    This is the correct order because you must first have the application pods running, then expose them via a LoadBalancer service. After the service is created, the cloud provider assigns an external IP, which you retrieve and then use to access the application.

  • Step 1: Define and create the LoadBalancer service. Step 2: Deploy the application. Step 3: Retrieve the external IP. Step 4: Access the application.

    Why it's wrong here

    This is incorrect because creating the service before deploying the application may result in a service without any endpoints (pods). The external IP may be assigned, but the service will not route traffic until the application pods are running and match the service's selector.

  • Step 1: Retrieve the external IP. Step 2: Deploy the application. Step 3: Define and create the LoadBalancer service. Step 4: Access the application.

    Why it's wrong here

    This is incorrect because you cannot retrieve the external IP before the LoadBalancer service is created. The external IP is assigned by the cloud provider only after the service is defined and created.

  • Step 1: Deploy the application. Step 2: Retrieve the external IP. Step 3: Define and create the LoadBalancer service. Step 4: Access the application.

    Why it's wrong here

    This is incorrect because retrieving the external IP must happen after the LoadBalancer service is created. Without creating the service, there is no external IP to retrieve.

About these practice questions

Courseiva writes every KCNA question from scratch — 833 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This KCNA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCNA exam.