nerdexam
CompTIA

220-1102 · Question #628

Which of the following languages is used for scripting the creation of Active Directory accounts?

The correct answer is D. PowerShell. PowerShell is the primary scripting language used for automating administrative tasks in Windows environments, including the creation and management of Active Directory accounts.

Operating Systems

Question

Which of the following languages is used for scripting the creation of Active Directory accounts?

Options

  • ABash
  • BStructured Query Language
  • CHypertext Preprocessor
  • DPowerShell

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    6% (2)
  • D
    91% (29)

Why each option

PowerShell is the primary scripting language used for automating administrative tasks in Windows environments, including the creation and management of Active Directory accounts.

ABash

Bash is a Unix shell and command language not natively used for Active Directory scripting.

BStructured Query Language

Structured Query Language (SQL) is used for managing and querying relational databases, not for scripting Active Directory directly.

CHypertext Preprocessor

Hypertext Preprocessor (PHP) is a server-side scripting language primarily used for web development, not for Active Directory administration.

DPowerShellCorrect

PowerShell provides a robust command-line shell and scripting language specifically designed for system administration of Windows systems. It includes dedicated cmdlets for managing Active Directory objects, such as New-ADUser for account creation, making it the most suitable tool for scripting these tasks.

Concept tested: Active Directory scripting with PowerShell

Source: https://learn.microsoft.com/en-us/powershell/module/activedirectory/new-aduser?view=activedirectoryps-1.1

Topics

#Active Directory#PowerShell#Scripting#User Management

Community Discussion

No community discussion yet for this question.

Full 220-1102 Practice