Chapter 11/12: Active Directory Services - Part 01/02 Flashcards

1
Q

Define an “AD Site”

A

Sites can be explained as physical locations that contain various AD objects. We
should be able to describe these objects using their boundaries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the main AD site topologies?

A
  • Single domain-single site
  • Single domain-multiple sites - Sites are
    interconnected using physical network links
  • Multiple domains-single site - Replications between domains will depend on the logical topology
  • Multiple domains-multiple sites - replication will depend on the logical topology as well as the physical topology.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the first step after deciding the AD site topology?

A

Configure subnets in each site

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define a “Site Link”

A

Site links represent the physical connection between sites; however, site links don’t control the network level routing or connectivity between sites

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define a “Site Link Bridge”

A

Site link bridges contain multiple site links. These allow transitive communication
between each site link under the bridge

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the two ways to manage AD sites?

A

One option is to use the AD Sites and Services MMC, and the other one is to use PowerShell cmdlets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Once an AD Site is set, what is the next step?

A

Create site links

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define “Site link cost”

A

defines the nearest resources if the on-site resource is not available

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How is “Site link cost” determined?

A

In a physical network, the quality of inter-site links is measured based on link speed,
latency, and availability; The site link that holds the lowest site cost value will be the first preference

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the equation to determine site cost?

A

Bandwidth(Kbps/Mbps) / (log10(bandwidth))

Might have to divide the outcome by the number of GB once above 1GB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the two transport protocols that can be used for replication via site links?

A
  1. The default is IP with synchronous replication
  2. SMTP - only can be used between sites if the DCs are in different domains
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the default replication interval on a site link?

A

Every 180 minutes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

If the link between sites is slow, how should replication be implemented?

A

it is best to set the replication
after operating hours and during lunch hours. This will minimize the replication
traffic impact on slow links and allow the organization to use the link bandwidth
for other mission-critical traffic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define “ Knowledge Consistency Checker (KCC)”

A

a built-in process that runs on
domain controllers and is responsible for generating replication topology. It will
configure the replication connection between domain controllers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does “Knowledge Consistency Checker (KCC)” manage replicaiton?

A

the KCC selects a domain controller as a bridgehead server, which sends and receives replication traffic for its site

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does the Knowledge Consistency Checker (KCC) behave in a topology with multiple sites and domains?

A

If you have multiple domains in multiple sites, each domain should have its own bridgehead server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How/Where is the bridgehead server seleted?

A

By opening the properties of the domain controller in AD sites and services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

After the sites and site links are setup, what is the next step?

A

Assign the subnets to each site.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are the two types of replication between sites?

A
  1. Intra-site replication
  2. Inter-site replication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Describe “intra-site” replication

A

Replications happening within an AD site; ADs will be aware of a change within 15 seconds and an update will be replicated in less than a minute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Describe “inter-site” replicaiton

A

Replication between two separate AD sites;

22
Q

Define an “Update Sequence Number (USN)”

A

a 64-bit number that is allocated to the domain controller during the DCPromo process

23
Q

What is the purpose of an “Update Sequence Number (USN)”?

A

When there is any object update, the USN allocated to the domain controller will be increased; As an example, let’s assume that domain controller A had an initial USN value of 2,000 assigned to it. If we add 5 user objects, the new USN will be 2,005. This number can only increase;
it cannot decrease.

24
Q

What is the purpose of an active directory trust?

A

An Active Directory trust allows you to connect two different Active Directory domains/forests together and allows users to share resources among them

25
Describe a "one-way trust"
The first domain trusts another domain and allows users of the second domain to use resources in the first domain
26
What are the 3 types of trust direction configurations?
1. Two-Way 2. One-Way incoming 3. One-Way outgoing
27
What is the purpose of an one-way incoming trust?
Allows outgoing access
28
What is the purpose of an one-way outgoing trust?
Allowing incoming trust
29
Describe a "trusting domain"
Allows access to its resources from users in a remote domain
30
Describe a "transitive trust"
Extends the trust beyond the original trusting domain
31
Describe a "non-transitive trust"
Non-transitive trusts only allow trust between the original domains
32
Are forests trusts transitive or non-transitive by default?
Transitive
33
Are AD external trusts transitive or non-transitive
Non-transitive
34
What are the 6 types of active directory trusts?
1. Tree-Root Trusts This type of trust will be created automatically when a new domain tree is added to an Active Directory forest. These trusts are created in the root domain of each tree and are also two-way transitive trusts. 2. Parent-Child Trusts When a new child domain is added to an existing Active Directory environment, a new two-way transitive trust will automatically be established between the child domain and its parent domain. 3. Forest Trusts Forest trusts are created between two Active Directory forests. These need to be created manually. They are transitive trusts by default but, based on business requirements, they can be one-way or two-way trusts. 4. External Trusts External trusts are created between domains in different Active Directory forests. These trusts need to be created manually and by default will be non-transitive trusts. 5. Shortcut Trusts A shortcut trust is explicitly created between two domains in the same Active Directory forest or different forests to improve authentication times by shortening the authentication path. These trusts will be transitive and need to be created manually. 6. Realm Trusts A realm trust is used between an Active Directory forest and non-Windows Kerberos realms such as Unix and Linux. These trusts need to be created manually and can be one-way or two-way trusts. They can also be transitive or non-transitive trusts.
35
What ports need to be open when creating a trust relationship between two domains?
Service Ports LDAP TCP 389 LDAPS (SSL) TCP 636 DNS TCP/UDP 53 RPC TCP 135 / TCP 1024-65535 SMB TCP 445 Kerberos TCP/UDP 88 Global Catalog TCP 3268 Global Catalog (SSL)TCP 3269
36
What should be configured to allow a trusted/trusting domain or forest to resolve DNS names/records for the other domain?
Conditional forwarding
37
How should conditional forwarding be configured before domain/forest trusts are established?
Define which DNS servers need to process DNS queries related to their domain
38
What is the powershell command to establish conditional forwarding?
Add-DnsServerConditionalForwarderZone -Name "example.com" -ReplicationScope "Forest" -MasterServers x.x.x.x
39
What configuration is best practice for a domain controller that is not physically secured well?
Read-only Domain Controller (RODC)
40
What makes a RODC more secure than a regular domain controller?
An RODC does not store any passwords in its database and all the authentication requests against an object will be processed by the closest writable domain controller
41
What is best practice for choosing the location of the ntds.dit AD database file?
It is recommended to use a separate partition/disk, to increase the database performance as well as the data protection
42
What is the contents of the ntds.dit database file?
1. Schema table - includes data regarding the object classes, attributes, and the relationship between them 2. Link table - Object metadata; includes data about values referring to another object (Group membership) 3. Data table - includes all the data about users, groups, and any other data integrated with Active Directory
43
Can the AD database be moved from its default/current location?
Yes
44
Can deleted objects be recovered in AD?
Yes, by enabling the recycling bin feature
45
What is the command to enable the AD recycling bin?
Enable-ADOptionalFeature 'Recycle Bin Feature' -Scope ForestOrConfigurationSet -Target example.com
46
What is the command to search for a deleted object in AD?
Get-ADObject -filter 'isdeleted -eq $true' -includeDeletedObjects
47
What is the command to restore an object from the AD recycling bin?
Get-ADObject -Filter 'samaccountname -eq "ethomas"' -IncludeDeletedObjects | Restore-ADObject
48
Describe an AD system state backup
Required in order to restore Active Directory in the event of a disaster where the database cannot be recovered using object-level recovery options
49
What is the default option for configuring AD system state backups?
Windows Backup
50
What are the PowerShell commands to configure AD system state backups?
$BKPolicy = New-WBPolicy Add-WBSystemState -Policy $BKPolicy $Bkpath = New-WBBackupTarget -VolumePath "F:" Add-WBBackupTarget -Policy $BKPolicy -Target $Bkpath
51
How are system state backups restored?
Via Directory Services Restore Mode (DSRM); Reboot the system press "F8" key, and select "Directory Services Restore Mode" Once in safe mode, use PS command: $ADBackup = Get-WBBackupSet | select -Last 1 Start-WBSystemStateRecovery -BackupSet $ADBackup