nerdexam
Linux_Foundation

LFCS · Question #585

Which command would create a machine account in Active Directory under the Computers\BusinessUnit\Department\Servers organizational unit?

The correct answer is D. net ads join "Computers\BusinessUnit\Department\Servers". The net ads join command is used to join a Samba machine to an Active Directory domain, and specifying an Organizational Unit (OU) allows placing the machine account in a specific location.

Submitted by joshua94· Apr 18, 2026Service Configuration

Question

Which command would create a machine account in Active Directory under the Computers\BusinessUnit\Department\Servers organizational unit?

Options

  • Anet rpc join -m localhost -
  • Brpcclient -c "join Computers\BusinessUnit\Department\Servers"
  • Cnet ads join ou="Computers\BusinessUnit\Department\Servers"
  • Dnet ads join "Computers\BusinessUnit\Department\Servers"

How the community answered

(37 responses)
  • B
    5% (2)
  • C
    3% (1)
  • D
    92% (34)

Why each option

The `net ads join` command is used to join a Samba machine to an Active Directory domain, and specifying an Organizational Unit (OU) allows placing the machine account in a specific location.

Anet rpc join -m localhost -

`net rpc join` is typically used for joining NT4-style domains, not Active Directory.

Brpcclient -c "join Computers\BusinessUnit\Department\Servers"

`rpcclient` is a debugging and administrative tool for NetBIOS over TCP/IP, not for performing a domain join operation.

Cnet ads join ou="Computers\BusinessUnit\Department\Servers"

The `ou=` syntax is not the standard way to specify an OU directly as an argument to `net ads join`; the `--organizational-unit` option with a full DN is typically used.

Dnet ads join "Computers\BusinessUnit\Department\Servers"Correct

The `net ads join` command is the appropriate utility for integrating a Samba server into an Active Directory domain, which involves creating a machine account. While the most precise way to specify an Organizational Unit is using the `--organizational-unit` flag with a full Distinguished Name, option D utilizes the correct `net ads join` command and attempts to specify the desired OU path, making it the most suitable choice among the given options for the intent of creating the account in that location.

Concept tested: Samba Active Directory domain join with OU

Source: https://www.samba.org/samba/docs/current/manpages/net.8.html

Topics

#Active Directory Integration#Domain Join#Samba#Machine Accounts

Community Discussion

No community discussion yet for this question.

Full LFCS Practice