Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation KCNA Exam - Topic 1 Question 64 Discussion

Actual exam question for Linux Foundation's KCNA exam
Question #: 64
Topic #: 1
[All KCNA Questions]

Which command is used to expose Kubernetes service

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Stephane
3 months ago
`kubectl expose` is the right one!
upvoted 0 times
...
Demetra
3 months ago
I thought it was `kubectl create`?
upvoted 0 times
...
Jordan
4 months ago
Wait, are you sure about that?
upvoted 0 times
...
Reena
4 months ago
Yeah, `kubectl run` is for creating pods, not services.
upvoted 0 times
...
Elza
4 months ago
It's definitely `kubectl expose`.
upvoted 0 times
...
Samira
4 months ago
I might be mixing things up, but I think `kubectl expose` is definitely the command we used in that lab exercise.
upvoted 0 times
...
Martin
4 months ago
I feel like `kubectl run` is related to creating pods, so it probably isn’t the right answer for exposing a service.
upvoted 0 times
...
Mitzie
5 months ago
I remember practicing with `kubectl create`, but that was more about creating resources, not specifically exposing them.
upvoted 0 times
...
Lavonda
5 months ago
I think the command to expose a service is `kubectl expose`, but I’m not entirely sure if it’s the only way to do it.
upvoted 0 times
...
Elena
5 months ago
Okay, let me think this through step-by-step. We use kubectl to interact with the Kubernetes cluster, and to expose a service, we need to use a specific command. I'm going to go with option A, kubectl expose, since that sounds like the most relevant command for this task.
upvoted 0 times
...
Dalene
5 months ago
Ah, this is a tricky one. I think it might be option B, kubectl create, since that's the general command for creating Kubernetes resources. But I'm not 100% confident on that.
upvoted 0 times
...
Deonna
5 months ago
Hmm, I'm a bit unsure about this one. I know we covered services in the Kubernetes unit, but I can't quite remember the exact command. I'll have to think this through carefully.
upvoted 0 times
...
Maricela
5 months ago
I'm pretty sure it's option A, kubectl expose. That's the command we used in class to create a service and expose a deployment.
upvoted 0 times
...
Candra
8 months ago
Haha, this is too easy. A, of course! I bet the other options are just there to confuse us.
upvoted 0 times
Novella
7 months ago
User 2: Yeah, that's the right one!
upvoted 0 times
...
Amira
7 months ago
User 1: A) kubectl expose
upvoted 0 times
...
...
Johanna
9 months ago
I'm not sure, but I think it might be B) kubectl create because it sounds like it could create a service.
upvoted 0 times
...
Casey
9 months ago
Hmm, I'm pretty sure it's A. I mean, why else would it be called 'expose'?
upvoted 0 times
Hyman
8 months ago
B) kubectl create
upvoted 0 times
...
Tabetha
8 months ago
You're right, 'expose' does make sense for that command.
upvoted 0 times
...
Aileen
8 months ago
A) kubectl expose
upvoted 0 times
...
...
Sabra
9 months ago
Definitely A. kubectl expose is the command to expose a Kubernetes service.
upvoted 0 times
Dorothy
8 months ago
That's correct! kubectl expose is the command to expose a Kubernetes service.
upvoted 0 times
...
Ty
8 months ago
A) kubectl expose
upvoted 0 times
...
...
Zoila
9 months ago
I agree with Kristel, because the expose command is specifically used to expose Kubernetes services.
upvoted 0 times
...
Kristel
9 months ago
I think the answer is A) kubectl expose.
upvoted 0 times
...

Save Cancel