Windows & Active Directory

Questions and concise answers by subject

By profession

By subject

Active Directory foundationsQuestions: 7

What is Active Directory and why does a company need it?

Microsoft's directory service: users, computers, groups and policies live in one place. Instead of a local account per machine, one account covers the whole organisation with central permissions.

What the interviewer wants to hear: Whether you grasp central management, not just "a server with passwords".

How does a Domain Controller differ from a Global Catalog?

A DC holds the domain database and authenticates users. A GC is a DC that also keeps a partial replica of every object in the forest and serves cross-domain search and logon (port 3268).

What the interviewer wants to hear: Understanding forest vs domain.

Why does AD break without DNS?

Clients find domain controllers through DNS SRV records. They need a DNS resolver that resolves AD records; public DNS usually cannot. DNS failure disrupts authentication, GPO and domain join, though cached logon may still work.

What the interviewer wants to hear: Understand AD’s DNS dependency, not just a DC address.

Describe how a client gets an IP address from DHCP.

DORA: Discover, Offer, Request, Acknowledge. A 169.254.x.x address means no DHCP answer arrived at all.

What the interviewer wants to hear: Diagnosing "no internet" without guessing.

What is Group Policy and in what order does it apply?

A way to push settings to users and computers. Order is LSDOU: Local, Site, Domain, OU — the last one wins. gpupdate /force applies now, gpresult /r shows what actually landed.

What the interviewer wants to hear: Whether you verify results, not just create policies.

Security Group vs Distribution Group?

A security group can be placed in an ACL and grant permissions; a distribution group only serves email lists.

What the interviewer wants to hear: Access-management basics.

Which ports matter in an AD environment?

53 DNS, 88 Kerberos, 389 LDAP, 636 LDAPS, 445 SMB, 3268 Global Catalog, 3389 RDP, 123 NTP.

What the interviewer wants to hear: Ability to suspect a firewall block.

Helpdesk and troubleshootingQuestions: 3

A user keeps getting locked out. What do you do?

Check event 4740 on the DC for the source, then hunt for a stale session, mapped drive, service running with an old password, or a phone with cached mail. Unlock only after finding the cause.

What the interviewer wants to hear: Structured thinking instead of repeated unlocks.

A user says their password will not change. Why?

Minimum password age not reached, complexity or history policy rejecting it, clock skew, or the machine cannot reach a DC at all. Check the password policy and the event log.

What the interviewer wants to hear: Connecting policy to real behaviour.

How do you verify replication between domain controllers?

repadmin /replsummary and repadmin /showrepl, dcdiag, correct Sites and Subnets, and time sync (over 5 minutes of skew breaks Kerberos).

What the interviewer wants to hear: Hands-on diagnostics.

Kerberos and domain accessQuestions: 3

Kerberos vs NTLM — and when does the system fall back to NTLM?

Kerberos uses tickets (TGT/TGS), authenticates both sides and depends on time. NTLM is an old challenge-response with no mutual auth. Fallback happens on IP-based access, a missing SPN, or an unreachable KDC.

What the interviewer wants to hear: The base for understanding identity attacks.

What are the FSMO roles and what breaks when one fails?

Schema Master and Domain Naming at forest level; PDC Emulator, RID Master and Infrastructure Master at domain level. Losing the PDC hurts most: password changes, lockouts and time sync.

What the interviewer wants to hear: Architectural depth.

Unconstrained, Constrained and RBCD — what is the difference?

Unconstrained stores the TGT of everyone who connects — very dangerous. Constrained limits delegation to named services. RBCD is configured on the resource side (msDS-AllowedToActOnBehalfOfOtherIdentity), which is tighter but heavily abused in privilege escalation.

What the interviewer wants to hear: A classic for security roles.

Attacks and defenseQuestions: 3

What is Kerberoasting and how do you defend against it?

An attacker requests a TGS for a service account with an SPN and cracks the encrypted ticket offline. Defence: gMSA, very long passwords, AES only, and monitoring unusual 4769 events.

What the interviewer wants to hear: Understand TGS, offline cracking and defenses: gMSA, long unique passwords, reducing RC4 where possible and 4769 context. AES does not eliminate weak-password risk.

What is DCSync and how do you detect it?

An attacker with replication rights impersonates a DC and pulls hashes, including krbtgt. Detect it via DRSUAPI requests from a non-DC host and event 4662 with the Replicating Directory Changes GUID.

What the interviewer wants to hear: Real SOC knowledge.

How would you harden a basic AD environment?

Admin tiering, LAPS for local passwords, Protected Users and gMSA, disable NTLMv1 and SMBv1, monitor 4768/4769/4624/4740, keep tested backups and apply least privilege.

What the interviewer wants to hear: Defender mindset instead of a product list.

Additional questionsQuestions: 1

What is LAPS and why is it needed?

Windows LAPS manages unique local administrator passwords, rotates them and backs them up to AD or Microsoft Entra ID when configured. Password access is restricted. This reduces lateral movement risk from reusing one password across machines.

What the interviewer wants to hear: Unique passwords, rotation and controlled access.