New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 300-300 Exam - Topic 2 Question 14 Discussion

Actual exam question for LPI's 300-300 exam
Question #: 14
Topic #: 2
[All 300-300 Questions]

Which of the following commands terminates all running instances of the Samba daemon handling for SMB shares?

Show Suggested Answer Hide Answer
Suggested Answer: D

Samba is a suite of programs that allows SMB/CIFS clients to interact with file and print services on a Linux/UNIX server.

smbd is the Samba daemon responsible for handling SMB/CIFS requests.

The smbcontrol utility is used to send messages to running Samba daemons.

The correct way to terminate all running instances of the Samba daemon handling SMB shares is to send a shutdown message to smbd using the command smbcontrol smbd shutdown.

This command ensures that only the smbd processes, which are responsible for handling SMB shares, are terminated without affecting other Samba components like nmbd (NetBIOS name server daemon).


Samba documentation: https://www.samba.org/samba/docs/current/man-html/smbcontrol.1.html

Contribute your Thoughts:

0/2000 characters
Brendan
3 months ago
Agreed, D is the way to go!
upvoted 0 times
...
Albina
3 months ago
Wait, are you sure about D? I always thought it was C.
upvoted 0 times
...
Mozell
3 months ago
E is not even close, cifs is for mounts, not daemons.
upvoted 0 times
...
Kati
4 months ago
I thought it was A at first, but D makes more sense.
upvoted 0 times
...
Karrie
4 months ago
Definitely D, that's the right command for smbd.
upvoted 0 times
...
Scot
4 months ago
I think "smbcontrol nmbd shutdown" is for the name service, not the SMB shares. So, I guess it's not that one.
upvoted 0 times
...
Joaquin
4 months ago
I'm not entirely sure, but I remember "smbcontrol" is definitely involved. I just can't recall if it's "samba" or "smbd" that I need to use.
upvoted 0 times
...
Dustin
4 months ago
I practiced a similar question, and I feel like "smbcontrol smbd shutdown" was the right choice for stopping the SMB shares.
upvoted 0 times
...
Kenneth
5 months ago
I think the command to stop the Samba daemon is related to "smbd," but I can't remember if it's "shutdown" or something else.
upvoted 0 times
...
Willow
5 months ago
I got this! The correct answer is A, "smbcontrol samba shutdown". That will shut down all running instances of the Samba daemon.
upvoted 0 times
...
Jess
5 months ago
Okay, let me break this down. The question is asking about terminating all running instances of the Samba daemon, so I think the key is to focus on the "smbcontrol" command and the specific daemon name.
upvoted 0 times
...
Micheline
5 months ago
Wait, I'm a bit confused. Isn't the Samba daemon called "smbd"? So wouldn't the correct command be "smbcontrol samba shutdown"?
upvoted 0 times
...
Katie
5 months ago
I'm pretty sure it's option D, "smbcontrol smbd shutdown". That should terminate all running instances of the Samba daemon.
upvoted 0 times
...
Lizbeth
5 months ago
Hmm, this looks like a tricky one. I'll need to think through the Samba daemon and SMB share management commands carefully.
upvoted 0 times
...
Vince
5 months ago
Okay, let me think this through. The Standards Information Base is a repository, so it's likely holding some kind of information or guidelines. I'll read the options carefully and see which one best fits that description.
upvoted 0 times
...
Stefanie
1 year ago
D, no doubt about it. Smbcontrol smbd shutdown is the perfect command for when you want to shut down your Samba daemon and then immediately regret it.
upvoted 0 times
...
Daniela
1 year ago
I'm going to have to go with D on this one. The other options just seem a bit too generic. Plus, I heard the smbcontrol command is the Samba version of the Konami code.
upvoted 0 times
Shayne
1 year ago
Let's go with D then. It makes sense.
upvoted 0 times
...
Marleen
1 year ago
Yeah, I agree. The smbcontrol command is specific to Samba.
upvoted 0 times
...
Dorothy
1 year ago
I think D is the correct answer.
upvoted 0 times
...
...
Cora
1 year ago
I'm not sure, but I think D) smbcontrol smbd shutdown could also be a valid option.
upvoted 0 times
...
Glendora
1 year ago
I agree with Lashunda, because samba is the main daemon for SMB shares.
upvoted 0 times
...
Lashunda
1 year ago
I think the answer is A) smbcontrol samba shutdown.
upvoted 0 times
...
Vivan
1 year ago
Definitely D. I mean, who doesn't love a good ol' smbcontrol smbd shutdown? It's like a secret handshake for sysadmins.
upvoted 0 times
...
Eileen
1 year ago
A and D both sound like they could work, but I'm going to go with D. Shutting down the smbd service seems like the most direct way to terminate all running Samba instances.
upvoted 0 times
Silva
1 year ago
D is the way to go for terminating all running Samba instances.
upvoted 0 times
...
Golda
1 year ago
I agree, D is the correct option.
upvoted 0 times
...
Caprice
1 year ago
Yeah, shutting down the smbd service seems like the most direct way.
upvoted 0 times
...
Youlanda
1 year ago
I think A could work too, but I'll go with D.
upvoted 0 times
...
...
Brock
1 year ago
I think option D is the correct answer. Smbcontrol is the command to control the Samba daemon, and smbd is the specific service that handles SMB shares.
upvoted 0 times
Jackie
1 year ago
Great, thanks for confirming!
upvoted 0 times
...
Alyssa
1 year ago
Yes, smbcontrol smbd shutdown will terminate all running instances of the Samba daemon handling for SMB shares.
upvoted 0 times
...
Jettie
1 year ago
I agree, option D is the correct answer.
upvoted 0 times
...
Malinda
1 year ago
E) smbcontrol cifs stop
upvoted 0 times
...
Melinda
1 year ago
D) smbcontrol smbd shutdown
upvoted 0 times
...
Lewis
1 year ago
C) smbcontrol shutdown
upvoted 0 times
...
Mira
1 year ago
B) smbcontrol nmbd shutdown
upvoted 0 times
...
Alpha
1 year ago
A) smbcontrol samba shutdown
upvoted 0 times
...
Phuong
1 year ago
Yes, smbcontrol smbd shutdown would terminate all running instances of the Samba daemon handling for SMB shares.
upvoted 0 times
...
Phuong
1 year ago
I agree, option D seems like the correct choice.
upvoted 0 times
...
...

Save Cancel