Courseiva

CCNA Deploy and Manage AD DS Questions

24 questions · Deploy and Manage AD DS · All types, answers revealed

1
Multi-Selectmedium

You plan to deploy a new domain controller as an Azure Virtual Machine (VM) to provide authentication for cloud workloads. Which THREE actions should you take to ensure the stability and supportability of the domain controller? (Each correct answer presents part of the solution.)

Select 3 answers
A.Configure a static private IP address for the VM in the Azure portal.
B.Enable Azure Disk Encryption on the OS drive.
C.Place the NTDS database and logs on a dedicated data disk.
D.Configure the OS drive to use Read/Write host caching.
E.Disable host caching on the data disk hosting the NTDS database.
AnswersA, C, E

Azure VMs use DHCP by default, but domain controllers must have a consistent IP address to maintain DNS reliability and replication topology. Setting a static private IP address within the Azure virtual network settings ensures that the DC remains reachable at the same address after restarts or maintenance events.

Why this answer

Deploying domain controllers on Azure VMs requires specific configuration to prevent database corruption and ensure consistent identity services. This includes using a static private IP address to prevent DNS failures, placing the NTDS database on a non-caching data disk to ensure write integrity, and using a separate virtual disk rather than the OS drive.

2
MCQeasy

You are adding a new Windows Server 2022 domain controller to an existing forest that currently has a functional level of Windows Server 2012 R2. What is the maximum functional level you can set for the new domain controller?

A.Windows Server 2022
B.Windows Server 2012 R2
C.Windows Server 2016
D.Windows Server 2019
AnswerB

The new domain controller must adhere to the existing domain and forest functional levels of the environment it is joining. Since the current level is Windows Server 2012 R2, the new DC will function at that level until an administrator manually raises the level for the entire domain.

Why this answer

Domain controllers run the operating system version installed on them, but the domain and forest functional levels determine which features are available across the entire environment. A new Windows Server 2022 DC can join a 2012 R2 forest, but it will operate within the constraints of that lower functional level.

3
MCQhard

Refer to the exhibit. You are troubleshooting a replication issue between the Head Office (Site-HQ) and a Branch Office (Site-Branch-A). Based on the output, what is the most likely cause of the failure?

A.The KCC has not yet generated a replication topology for the site.
B.There is a mismatch in the Site Link costs between the two sites.
C.The destination domain controller lacks the Global Catalog role.
D.A firewall is blocking RPC traffic or the source DC is offline.
AnswerD

The 'RPC server is unavailable' error is a classic indicator that the destination DC cannot establish a network connection to the RPC endpoint on the source DC. This is frequently caused by network firewalls, the source server being powered off, or critical services like the RPC Endpoint Mapper being blocked or stopped.

Why this answer

The error code 1722 (The RPC server is unavailable) typically indicates a network connectivity issue or a service failure on the source domain controller. In the context of Active Directory replication, this often points to a firewall blocking RPC traffic, a failure of the DNS to resolve the source DC's name, or the RPC service being stopped.

4
MCQmedium

Refer to the exhibit. You are troubleshooting an issue where several users are unable to change their passwords, and the help desk is seeing inconsistent results when resetting them. Based on the output provided, which domain controller should you investigate first for potential failures or connectivity issues?

A.DC2
B.DC1
C.The Schema Master
D.The Domain Naming Master
AnswerB

DC1 holds the PDC Emulator role, which is the primary domain controller for handling password updates and synchronization. When a user changes their password, the change is preferred to be processed by the PDC Emulator to ensure immediate consistency across the domain for authentication requests.

Why this answer

The PDC Emulator is the authoritative server for password changes and the primary target for password resets within a domain. In the provided exhibit, DC1 holds the PDC Emulator role. If DC1 is offline or experiencing issues, password-related tasks will fail or show inconsistencies, making it the primary suspect for troubleshooting.

5
MCQhard

You are the administrator of a large multi-domain forest. You have a branch office with a slow WAN link that contains only one domain controller. Users in this office complain that they cannot log on when the WAN link is down, even though they belong to Universal Groups. How should you resolve this issue while minimizing WAN traffic?

A.Enable Universal Group Membership Caching (UGMC) for the branch office site.
B.Configure the branch office domain controller as a Global Catalog server.
C.Convert all Universal Groups to Global Groups.
D.Increase the replication frequency of the Site Link to 15 minutes.
AnswerA

Universal Group Membership Caching is specifically designed for branch offices with limited bandwidth. It allows a non-GC domain controller to cache the group memberships of users who have previously logged on. This ensures that future logon requests can be processed locally even if the WAN link to a Global Catalog is unavailable.

Why this answer

In a multi-domain forest, a domain controller needs to contact a Global Catalog to determine Universal Group membership during logon. If a GC is not available locally and the WAN link is down, logons fail. Enabling Universal Group Membership Caching allows a standard DC to cache these memberships, enabling successful logons during outages without the overhead of hosting a full GC.

6
MCQmedium

You accidentally delete an Organizational Unit (OU) containing 500 users. You need to recover the OU and its contents with all attributes, including group memberships, intact. What is the most efficient way to achieve this?

A.Restore the OU from a System State backup using a non-authoritative restore.
B.Use the Active Directory Recycle Bin to restore the objects.
C.Re-create the OU and users manually and add them back to their groups.
D.Perform an authoritative restore of the OU using the ntdsutil command.
AnswerB

The Recycle Bin allows for the immediate restoration of deleted objects through the Active Directory Administrative Center or PowerShell. It is the only method that fully preserves all object attributes and linkages without requiring a reboot into DSRM, making it the fastest and most reliable recovery option for modern Active Directory environments.

Why this answer

The Active Directory Recycle Bin is the most efficient tool for recovering deleted objects because it preserves all physical and logical attributes of the object, including its distinguished name and group memberships. Once enabled, it eliminates the need for authoritative restores from backups, which require taking a domain controller offline into Directory Services Restore Mode.

7
MCQeasy

You need to create a service account for a custom application that runs on a single Windows server. The account must support automatic password management and must not require manual SPN registration. Which type of account should you use?

A.Standalone Managed Service Account (sMSA)
B.Group Managed Service Account (gMSA)
C.A standard Domain User account
D.A Local System account
AnswerA

An sMSA is the ideal choice for a single-server application because it provides automated password management and handles Service Principal Name (SPN) registration automatically. This eliminates the manual overhead associated with traditional service accounts while improving security by ensuring complex passwords are rotated frequently by the operating system itself.

Why this answer

Standalone Managed Service Accounts (sMSAs) were introduced to simplify service account management by automating password rotations and SPN handling. Unlike traditional service accounts, sMSAs are tied to a single computer and do not require administrative intervention for password updates, significantly reducing the risk of service outages due to expired credentials or human error.

8
MCQeasy

An administrator accidentally deleted an Organizational Unit (OU) containing several hundred user accounts. You need to recover the OU and its contents with the least amount of administrative effort and without taking any domain controllers offline. What should you use?

A.An authoritative restore using an existing System State backup.
B.The Active Directory Recycle Bin.
C.A non-authoritative restore of the entire domain database.
D.The LDP.exe utility to manually reanimate the tombstone.
AnswerB

The Active Directory Recycle Bin allows for the recovery of deleted objects without needing to restore from backup media or restart domain controllers. It is the fastest method for recovery and ensures that all object attributes, including group memberships and SIDs, are perfectly preserved upon restoration.

Why this answer

The Active Directory Recycle Bin is the most efficient way to recover deleted objects because it preserves all attributes and the original Distinguished Name. Unlike traditional backups, it does not require a reboot into Directory Services Restore Mode (DSRM), making it the ideal choice for rapid recovery in modern environments.

9
Multi-Selecthard

You plan to implement Group Managed Service Accounts (gMSAs) to improve the security of several web services. Which TWO prerequisites must be met before you can create and use gMSAs in your Active Directory environment?

Select 2 answers
A.A Windows Server 2012 or later domain functional level.
B.A Microsoft Key Distribution Service (KDS) root key.
C.A functional Certificate Authority (CA) in the forest.
D.The Windows Server 2016 forest functional level.
E.The installation of the Web Server (IIS) role on a DC.
AnswersA, B

gMSAs were introduced with Windows Server 2012. Therefore, the domain must be at a functional level of at least Windows Server 2012 to support the underlying schema and service logic required to manage these accounts and handle the automatic password rotation across multiple host servers.

Why this answer

Group Managed Service Accounts (gMSAs) require a minimum domain functional level and a specific root key for the Key Distribution Service (KDS). The KDS root key is used by domain controllers to generate the passwords for gMSAs, and it must be created once per forest to enable the service.

10
MCQmedium

Refer to the exhibit. You are reviewing the output of a command used to check the health of your domain controllers. Based on the first line of the output, which specific role or feature is currently enabled on this domain controller?

A.Primary Domain Controller (PDC) Emulator
B.Global Catalog (GC)
C.Read-Only Domain Controller (RODC)
D.Schema Master
AnswerB

The 'IS_GC' flag stands for 'Is Global Catalog'. It confirms that this domain controller holds a partial, read-only copy of all objects in the forest and can perform forest-wide searches and provide universal group membership information during the user authentication and authorization process.

Why this answer

The 'IS_GC' flag in the DSA Options section of commands like 'repadmin /showrepl' indicates that the domain controller is functioning as a Global Catalog server. This is a critical piece of information for troubleshooting logon issues and ensuring that universal group memberships can be resolved locally.

11
MCQhard

You are managing an Active Directory domain that includes several Fine-Grained Password Policies (FGPP). A user is a member of two global groups: 'Sales-Group' and 'Marketing-Group'. 'Sales-Group' is assigned a Password Settings Object (PSO) with a precedence of 50. 'Marketing-Group' is assigned a PSO with a precedence of 20. Which policy will be applied to the user?

A.The Default Domain Policy.
B.The PSO assigned to the Sales-Group.
C.Both policies will be merged, and the most restrictive settings will apply.
D.The PSO assigned to the Marketing-Group.
AnswerD

The Marketing-Group's PSO has a precedence value of 20, which is lower than the Sales-Group's value of 50. Active Directory selects the PSO with the lowest numeric precedence value when multiple PSOs apply to a user through group membership, making the Marketing-Group policy the effective password policy for this user.

Why this answer

Active Directory determines which Fine-Grained Password Policy to apply based on the precedence value of the Password Settings Objects. In this hierarchy, the PSO with the lower numeric value takes precedence. Therefore, a PSO with a precedence of 20 will override a PSO with a precedence of 50 when a user is a member of multiple groups.

12
Multi-Selectmedium

You are preparing to raise the forest functional level of an existing Active Directory environment to Windows Server 2016. Which TWO requirements must be met before you can successfully perform this action? (Each correct answer presents part of the solution.)

Select 2 answers
A.All domain controllers in the forest must run Windows Server 2016 or later.
B.The Schema Master role must be held by a domain controller running Windows Server 2022.
C.You must disable the Active Directory Recycle Bin before raising the level.
D.All domains in the forest must be at the Windows Server 2016 domain functional level.
E.The forest must be configured for DFSR replication for the SYSVOL share.
AnswersA, D

A forest cannot be raised to a functional level that exceeds the operating system version of any domain controller currently active in the forest. If a legacy domain controller remains, the forest-wide features associated with the newer version cannot be safely enabled without risking replication failures and administrative inconsistencies across the environment.

Why this answer

Raising the forest functional level is a significant administrative task that enables advanced features but requires strict adherence to versioning rules. All domain controllers in every domain within the forest must be running a version of Windows Server that is equal to or higher than the target functional level, and all individual domains must already be at that target level.

13
MCQhard

You manage two Active Directory forests named fabrikam.com and contoso.com. A two-way forest trust exists between them. You want to allow users from fabrikam.com to access a specific file server in contoso.com, but you must ensure they cannot authenticate to any other resources in the contoso.com forest by default. Which authentication setting should you configure on the trust?

A.Forest-wide authentication
B.Selective authentication
C.Domain-wide authentication
D.SID Filtering
AnswerB

Selective authentication provides the highest level of control over cross-forest access by preventing remote users from authenticating to any resource until they are explicitly granted permission on a per-object basis. This ensures that users from the fabrikam.com forest can only access the designated file server once the appropriate security permissions are applied.

Why this answer

Selective authentication is a security feature used in forest trusts to restrict the scope of authentication for users from a trusted forest. Unlike forest-wide authentication, which allows users to authenticate to any resource in the trusting forest, selective authentication requires administrators to manually grant the 'Allowed to Authenticate' permission on specific computer objects for the external users or groups.

14
MCQhard

Your company is merging with another firm. You need to allow users in the 'contoso.com' forest to access resources in the 'fabrikam.com' forest. The solution must ensure that users from Fabrikam cannot access any resources in Contoso unless specifically granted permission on each individual resource. What should you configure?

A.A two-way forest trust with forest-wide authentication.
B.A one-way outgoing forest trust with selective authentication.
C.An external trust with SID filtering disabled.
D.A realm trust with a non-Windows Kerberos environment.
AnswerB

A one-way outgoing trust (from Contoso's perspective) allows Contoso to trust Fabrikam. By enabling selective authentication, administrators must manually grant Fabrikam users the 'Allowed to Authenticate' permission on specific computer objects in Contoso, ensuring the highest level of granular control over resource access.

Why this answer

A one-way forest trust with selective authentication is the most secure way to connect two forests. The 'one-way' aspect limits the direction of trust, while 'selective authentication' prevents trusted users from automatically being part of the 'Authenticated Users' group on resources in the trusting domain.

15
MCQmedium

Your organization has two primary data centers in Seattle and New York, connected by a high-latency WAN link. You need to ensure that Active Directory replication occurs only during non-business hours to preserve bandwidth for critical applications. Which Active Directory object should you modify to control the timing of data synchronization between these locations?

A.The properties of the Seattle Site object.
B.The IP Site Link object in AD Sites and Services.
C.The NTDS Settings of the Seattle Domain Controller.
D.The Subnet object associated with the New York site.
AnswerB

Site links contain the cost, replication interval, and schedule attributes required to manage inter-site traffic. By adjusting the schedule on the IP site link connecting Seattle and New York, you restrict the Knowledge Consistency Checker from initiating replication during peak business hours, effectively preserving necessary WAN bandwidth.

Why this answer

Active Directory site links are logical paths that represent the network connectivity between different sites. By configuring the schedule on a site link, administrators can precisely control when replication traffic is allowed to traverse the WAN. This is a fundamental skill for managing multi-site topologies where bandwidth is limited or expensive during specific times of day.

16
MCQhard

You are deploying a Read-Only Domain Controller (RODC) in a branch office with low physical security. You need to ensure that the branch manager, who is not a member of Domain Admins, can log on to the RODC even if the WAN link to the main office is down. What must you configure?

A.The Managed By tab in the RODC computer account properties.
B.The Password Replication Policy (PRP) of the RODC.
C.The Default Domain Controllers Policy for the site.
D.The Global Catalog role on the branch office RODC.
AnswerB

The Password Replication Policy determines which user and computer credentials can be cached on an RODC. By adding the branch manager to the 'Allowed' list in the PRP, the RODC will store a copy of their password, enabling authentication even when the central domain controllers are unreachable.

Why this answer

By default, RODCs do not store user passwords. To allow a user to log on when the WAN link is unavailable, their credentials must be cached locally. This is achieved by adding the user or their group to the 'Allowed RODC Password Replication Group' or modifying the RODC's Password Replication Policy.

17
MCQmedium

Your company, Contoso, Ltd., has a branch office with ten employees. The office has poor physical security, and you are concerned about the risks of a local domain controller being stolen. You need to deploy a domain controller to this site that minimizes the security risk of credential theft for the rest of the domain. Which solution should you implement?

A.A standard writable Domain Controller with BitLocker enabled.
B.An Azure AD Domain Services managed domain instance.
C.A Read-Only Domain Controller (RODC) with a custom Password Replication Policy.
D.A member server running the Active Directory Lightweight Directory Services role.
AnswerC

Read-Only Domain Controllers do not store secrets for all users by default and prevent changes from being written locally. By using a custom Password Replication Policy, you can ensure only the branch office users have their credentials cached, protecting the administrative accounts and the broader domain if the hardware is stolen.

Why this answer

Deploying a Read-Only Domain Controller is the recommended strategy for branch offices where physical security cannot be guaranteed. This approach ensures that only a subset of user credentials is cached locally based on the Password Replication Policy, significantly reducing the impact of a physical server theft while still providing local authentication services for users at the site.

18
MCQmedium

You have three Active Directory sites: SiteA, SiteB, and SiteC. SiteA is connected to SiteB with a cost of 50. SiteB is connected to SiteC with a cost of 50. There is no direct link between SiteA and SiteC. If 'Bridge all site links' is enabled, what is the effective replication cost between SiteA and SiteC?

A.100
B.50
C.Replication is impossible without a direct link.
D.0
AnswerA

Because 'Bridge all site links' is enabled, the KCC can route replication from SiteA through SiteB to reach SiteC. The total cost is calculated by adding the SiteA-SiteB link cost (50) to the SiteB-SiteC link cost (50), resulting in an effective transitive replication cost of 100 for the entire route.

Why this answer

Active Directory uses site link costs to determine the most efficient path for replication. When 'Bridge all site links' is enabled (the default), Active Directory can calculate a transitive path between sites that are not directly connected. The total cost is the sum of the costs of the individual links that make up the path.

19
MCQeasy

You want to allow a specific help desk user to reset passwords for all users in a specific Organizational Unit (OU), but you do not want to grant them any other administrative rights. What is the most appropriate tool to use?

A.Active Directory Sites and Services
B.The Delegation of Control Wizard
C.Group Policy Management Console (GPMC)
D.The 'Managed By' tab on the OU properties
AnswerB

The Delegation of Control Wizard provides a simple, guided interface to assign specific permissions, such as 'Reset user passwords and force password change at next logon,' to a user or group for a particular OU. This ensures the help desk can perform their duties without being members of highly privileged groups.

Why this answer

The Delegation of Control Wizard in Active Directory Users and Computers (ADUC) is designed for granting specific, limited permissions to users or groups over specific portions of the directory. This follows the principle of least privilege by allowing tasks to be offloaded to non-administrators without granting full Domain Admin rights.

20
MCQeasy

You need to automate the deployment of a new domain controller in an existing domain using PowerShell. Which cmdlet should you use to install the Active Directory Domain Services role and promote the server after the binaries are present?

A.Install-WindowsFeature AD-Domain-Services
B.Add-Computer -DomainName 'contoso.com'
C.Set-ADDomain -Identity 'contoso.com' -InfrastructureMaster
D.Install-ADDSDomainController
AnswerD

The Install-ADDSDomainController cmdlet is the primary tool for adding a new domain controller to an existing domain. It triggers the promotion process, configures the server as a replica, and ensures all necessary Active Directory components are initialized correctly, providing a streamlined and scriptable method for scaling out domain infrastructure efficiently.

Why this answer

Modern Windows Server administration emphasizes automation through PowerShell. To promote a server to a domain controller, the ADDSDeployment module provides specific cmdlets that replace the legacy dcpromo utility. These cmdlets handle the configuration of the database, logs, SYSVOL paths, and the necessary directory partition replicates from existing domain controllers in the environment.

21
MCQhard

Refer to the exhibit. You are running dcdiag to investigate synchronization issues between two domain controllers. Based on the error code 1256 and the output provided, which action is most likely to resolve the underlying problem?

A.Force an immediate KCC topology update using repadmin /kcc.
B.Check the network connectivity and power status of DC2.
C.Reset the computer account password for DC1 in Active Directory.
D.Seize the FSMO roles from DC2 using ntdsutil.
AnswerB

The error code 1256 specifically suggests that the destination server (DC1) cannot reach the source server (DC2). The most logical first step is to verify that DC2 is powered on, connected to the network, and that no firewalls are blocking the RPC ports required for AD replication.

Why this answer

Error 1256 indicates that the remote system is unavailable, which usually points to a network connectivity issue or a failure of the source domain controller (DC2). Troubleshooting should focus on physical connectivity, firewall rules, or the operational status of DC2 to ensure it can communicate with DC1 over the network.

22
Multi-Selectmedium

You need to inspect the state of Active Directory objects as they existed three days ago to troubleshoot an issue. You have a system state backup from that time. Which TWO tools must you use to view the contents of the database from the backup without performing a full restore? (Each correct answer presents part of the solution.)

Select 2 answers
A.Active Directory Sites and Services
B.ntdsutil
C.dsamain
D.wbadmin
E.repadmin
AnswersB, C

The ntdsutil tool is essential for managing Active Directory snapshots. It allows an administrator to list available snapshots and mount them to the file system. Once mounted, the NTDS.dit file from the snapshot becomes accessible for the dsamain tool to use, providing the foundation for the offline database inspection process.

Why this answer

To view the contents of a past Active Directory database, you first use ntdsutil to mount the snapshot or recovered database file. Then, you use dsamain to expose that database as an LDAP directory service on a custom port. Once dsamain is running, standard tools like Active Directory Users and Computers can connect to that specific port.

23
MCQmedium

The domain controller holding the RID Master FSMO role in your domain has suffered a catastrophic hardware failure and will be offline for several weeks. You notice that administrators can no longer create new user objects. What should you do to resolve this issue immediately?

A.Wait for the Knowledge Consistency Checker (KCC) to automatically move the role.
B.Perform a graceful transfer of the RID Master role using ADUC.
C.Seize the RID Master role using the 'Move-ADDirectoryServerOperationMasterRole' cmdlet.
D.Reinstall Active Directory on the failed server using the same name.
AnswerC

Seizing the role is the correct action when the original holder is permanently unavailable. Using the -Force parameter with the PowerShell cmdlet allows a healthy domain controller to take ownership of the RID Master role immediately, enabling the allocation of new RID pools and restoring the ability to create user accounts.

Why this answer

The Relative Identifier (RID) Master is responsible for allocating pools of RIDs to all domain controllers in a domain. When a DC exhausts its local pool and the RID Master is unavailable, it cannot create new security principals. In cases of permanent or long-term failure, the role must be seized to a healthy DC to restore functionality.

24
MCQmedium

You need to apply a stricter password policy to a group of executives than the one defined in the Default Domain Policy. You want to achieve this without creating a separate domain. Which feature should you implement?

A.A new Group Policy Object (GPO) linked to an Organizational Unit.
B.Fine-Grained Password Policies (FGPP).
C.The 'Password never expires' attribute on user accounts.
D.A selective trust relationship with a secure forest.
AnswerB

FGPP utilizes Password Settings Objects (PSOs) to override the domain-wide password policy for specific users or global security groups. This allows for higher complexity or shorter expiration periods for sensitive accounts, like executives, while maintaining a single domain structure for the rest of the organization.

Why this answer

Fine-Grained Password Policies (FGPP) allow administrators to apply different password and account lockout settings to different sets of users or groups within a single domain. This eliminates the need for multiple domains just to enforce varying security requirements, which was a significant limitation in older versions of Windows Server.

Ready to test yourself?

Try a timed practice session using only Deploy and Manage AD DS questions.