Courseiva
File Sharing and SambahardMultiple SelectObjective-mapped

LPIC-2 File Sharing and Samba Practice Question

Which THREE statements about Samba's 'net' command are true? (Choose three.)

⚠ Common exam trap

LPI often tests the distinction between 'net share' (remote share listing via RPC) and 'net usershare list' (local user-defined shares), leading candidates to incorrectly assume 'net share' works locally.

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

net ads join joins the server to an Active Directory domain

'net ads join' is the Samba command used to join a Linux server to an Active Directory domain, leveraging the Kerberos and LDAP protocols to authenticate and register the server as a domain member. This is a core function for integrating Samba with modern Windows domains.

Answer analysis

Option-by-option breakdown

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

  • net ads join joins the server to an Active Directory domain

    Why this is correct

    Correct usage for AD join.

  • net conf drop drops all database connections

    Why it's wrong here

    net conf drop removes registry config, not DB connections.

  • net usershare add creates a user-defined share

    Why this is correct

    Allows non-root users to share directories.

  • net rpc info displays domain information from a Windows NT4-style domain

    Why this is correct

    net rpc can query NT4 domains.

  • net share lists shares on the local Samba server

    Why it's wrong here

    net share lists shares on a remote server; local shares are shown by smbstatus or net usershare list.

About these practice questions

Courseiva writes every LPIC-2 question from scratch — 507 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 LPIC-2 practice question is part of Courseiva's free LPI 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 LPIC-2 exam.