Az 104 Flashcards
(104 cards)
What is Azure Active Directory (Azure AD)?
Azure AD is Microsoft’s cloud-based identity and access management service. It is used for authentication and authorization in Azure, Microsoft 365, and other cloud applications.
What is Azure AD Connect, and why is it used?
Azure AD Connect is a tool that syncs on-premises Active Directory (AD) objects (users, groups, passwords) with Azure AD. It enables hybrid identity and single sign-on (SSO).
How does Azure AD Join differ from Hybrid AD Join?
Azure AD Join → Device is only in Azure AD (cloud-only).
Hybrid AD Join → Device is joined to both on-prem AD and Azure AD (hybrid setup).
What does the NetLogon service do in Active Directory?
The NetLogon service handles authentication requests for domain-joined computers in on-prem AD. It does not sync users to Azure AD.
How do you check the Azure AD Connect sync status?
Get-ADSyncScheduler
Displays the sync schedule and last sync status.
Name two security enhancements in Azure AD.
- Multi-Factor Authentication (MFA) – Adds an extra verification step for users.
- Conditional Access – Enforces security rules based on location, device, etc.
How does Pass-Through Authentication (PTA) differ from Password Hash Sync (PHS)?
PHS – Syncs password hashes to Azure AD, allowing authentication in the cloud.
PTA – Sends authentication requests to on-prem AD in real-time.
What is the role of VPNs or ExpressRoute in a hybrid identity setup?
VPNs or ExpressRoute provide secure connectivity between on-prem AD and Azure AD, allowing domain controllers to communicate with cloud services securely.
What troubleshooting steps should you take if a user is not syncing to Azure AD?
- Check the Azure AD Connect sync status using:
Get-ADSyncScheduler - Manually force a sync if needed:
Start-ADSyncSyncCycle -PolicyType Delta - Ensure the user object is in scope for synchronization.
PowerShell Cmdlets for Azure VM Image Creation
First, generalize the VM using Sysprep. Then, use Azure Storage tools like AzCopy or the Azure Portal to upload the VHD. Finally, use New-AzImageConfig and New-AzImage to create the image resource.
Automating VM Configuration
Use the Azure Custom Script Extension.
Updating VPN Clients for Routing Changes
Download and reinstall the updated VPN client package from the Azure Virtual Network Gateway’s Point-to-Site configuration.
Steps to Update a VPN Client in Azure
- Go to Azure Portal → Virtual Network Gateway (VNetA). 2. Navigate to ‘Point-to-Site Configuration.’ 3. Download the updated VPN client package. 4. Uninstall the existing VPN client on the Windows 10 workstation. 5. Install the new VPN client and reconnect.
Site-to-Site VPN vs. Point-to-Site VPN
Site-to-Site VPN: Connects an on-premises network to an Azure virtual network. Point-to-Site VPN: Connects individual client devices to an Azure virtual network.
Static vs. Dynamic Routing in VPN Gateways
Static routes require manual updates to include new network prefixes, whereas dynamic routing automatically learns new routes.
PowerShell Cmdlets for Azure VMs
New-AzImageConfig: Creates a configuration object for an Azure VM image.
New-AzImage: Creates an Azure VM image resource from a generalized VHD.
New-AzVM: Creates a new Azure virtual machine.
Add-AzImageDataDisk: Adds a data disk to an existing VM.
What is the purpose of SQL Server Always On availability groups?
SQL Server Always On availability groups provide high availability and disaster recovery for databases by maintaining a primary replica for read-write operations and secondary replicas for read-only or backup operations.
What role does an Azure internal load balancer play in SQL Server Always On configurations?
An Azure internal load balancer acts as a listener, routing client traffic to the active primary replica of the availability group.
What type of health probe is typically used for SQL Server Always On availability groups with an ILB?
A TCP health probe on a custom port (e.g., 59999) is used to monitor the status of SQL Server instances.
Is session persistence necessary for SQL Server Always On configurations with an ILB?
Session persistence is not typically required for SQL Server Always On configurations. It is often set to ‘None’ as SQL Server manages connections through the listener.
What is the purpose of enabling Floating IP (Direct Server Return) in ILB configurations for SQL Server Always On?
Floating IP allows the load balancer to route traffic directly to the active SQL Server instance without rewriting the destination IP address, which is critical for Always On availability groups.
Why is creating an HTTP health probe on port 1433 incorrect for SQL Server Always On?
Port 1433 is used for SQL Server database engine connections, not HTTP. A TCP health probe on a custom port is needed, not HTTP on port 1433.
What are the key configurations needed for an ILB to act as a listener for SQL Server Always On?
Key configurations include enabling Floating IP (Direct Server Return), setting up a TCP health probe on a custom port, and defining appropriate load-balancing rules.
Name three ways you can manage Azure services.
Azure Portal, Azure CLI, and Azure PowerShell.