Tüm alıştırma soruları

1252 soru

Soru 261Soru

You are designing the deployment of a new Azure Virtual Machine (VM) named `VM-DB1` in the East US region. The VM will host a database workload with the following requirements:
- High availability with protection against datacenter-wide failures.
- A data disk that supports 40,00040,000 IOPS and 600600 MB/s throughput.
- Full VM backups containing all disks using an Azure Recovery Services vault.

To meet these requirements, you plan to deploy `VM-DB1` to Availability Zone 11, enable Ultra Disk compatibility on the VM, attach an Ultra Disk as a data disk, and configure a backup policy in a Recovery Services vault located in the East US region.

Which of the following statements correctly identifies the constraint that will prevent this deployment plan from being completed as designed?

Cevabı ve açıklamayı göster

Cevap: Azure Backup does not support backing up virtual machines that have Ultra Disks attached.

Cevap

Azure Backup does not support backing up virtual machines that have Ultra Disks attached.
The correct option is that Azure Backup does not support backing up virtual machines with Ultra Disks attached. When configuring VM-level backup using a Recovery Services vault, the backup operation will fail if the VM has an Ultra Disk attached, unless that specific disk is excluded from the backup scope.

Adım Adım Çözüm

1
Analyze the storage performance requirement.
The requirement of 40,00040,000 IOPS and 600600 MB/s throughput on a single disk exceeds the limits of standard disk types but is supported by Ultra Disks or Premium SSD v2.
This determines that the choice of using an Ultra Disk is technically necessary to meet the performance criteria.
2
Evaluate the high availability requirement.
Deploying the VM in Availability Zone 11 meets the requirement for protection against datacenter-wide failures and is compatible with Ultra Disks.
This verifies that the availability configuration is correct and supported.
3
Evaluate the backup requirement.
Azure Backup does not support virtual machine-level backups for VMs with Ultra Disks attached.
This identifies the bottleneck in the configuration where the full VM backup will fail unless Ultra Disks are excluded.

Anahtar Kavram

Azure Virtual Machine backup limitations with Ultra Disks
Soru 262Soru

An organization has an on-premises Windows Server named Server1 that uses Azure File Sync to synchronize files to an Azure file share named share1. The file share is hosted in an Azure Storage account named storage1.

To comply with security policies, you configure the firewall on storage1 by setting public network access to 'Enabled from selected virtual networks and IP addresses'. You also select the option to 'Allow trusted Microsoft services to access this storage account'.

Immediately after applying these settings, you observe that Server1 can no longer synchronize files with share1.

You need to restore the synchronization between Server1 and share1 while keeping the public network access restricted to selected networks.

What should you do?

Cevabı ve açıklamayı göster

Cevap: Add the public IP address of the on-premises network where Server1 is located to the firewall allowed list of storage1.

Cevap

Add the public IP address of the on-premises network where Server1 is located to the firewall allowed list of storage1.
The correct answer is correct because the Storage Sync Agent on Server1 communicates directly with the Azure Storage account hosting the file share. When public network access is restricted to selected networks, the storage account firewall blocks this communication. Since Azure File Sync is not a trusted Microsoft service, the bypass setting does not allow the agent to connect. Consequently, the public IP address (or NAT IP range) of the on-premises network where Server1 is located must be explicitly permitted in the storage account firewall settings.

Adım Adım Çözüm

1
Analyze the communication flow of Azure File Sync.
The Storage Sync Agent installed on the on-premises server initiates connections directly to the storage account (storage1) over HTTPS (port 443) to synchronize files.
This establishes that the network path originates from the on-premises server's public IP address.
2
Verify if Azure File Sync can bypass the storage firewall using the trusted services exception.
Azure File Sync is not classified as a trusted Microsoft service for storage firewall bypass.
This explains why the synchronization fails even though the 'Allow trusted Microsoft services to access this storage account' option is selected.
3
Formulate the correct firewall configuration.
You must explicitly add the public IP address or NAT range of the on-premises network hosting Server1 to the permitted IP list in the storage account's firewall settings.
This allows the agent's HTTPS traffic to reach the storage account while keeping public access restricted for all other unauthorized networks.

Anahtar Kavram

Azure File Sync network requirements and Storage Account firewall bypass limitations
Soru 263Soru

A partner application requires temporary access to upload files to a container named 'incoming' within an Azure storage account. The partner must only be allowed to write data to this specific container for a period of two hours, without any permissions to access other services or containers.

What security configuration should be implemented to satisfy these requirements under the principle of least privilege?

Cevabı ve açıklamayı göster

Cevap: Generate a service SAS for the 'incoming' container and configure an expiration time of two hours.

Cevap

Generate a service SAS for the 'incoming' container and configure an expiration time of two hours.
Generating a service SAS for the specific container with a two-hour expiration window provides the narrowest resource scope (container-level) and respects the temporal requirement, fulfilling the principle of least privilege.

Adım Adım Çözüm

1
Determine the required resource scope of the credential.
Since access is needed only for a single container named 'incoming', a service SAS is appropriate because it targets a specific resource inside a storage service, unlike an account SAS which is scoped to the entire account.
This enforces the resource boundary required by the principle of least privilege.
2
Determine the lifetime constraint of the credential.
The SAS token must have its expiry time configured to exactly two hours from generation.
This enforces the temporal boundary and prevents open-ended access.
3
Evaluate control plane vs data plane access.
Avoid using RBAC roles at the subscription or resource group scope (like Contributor) since they provide control plane permissions that are too broad and do not align with simple, temporary container data access.
This prevents over-privileging and ensures the credential is restricted to data operations only.

Anahtar Kavram

Shared Access Signatures (SAS) allow fine-grained, delegated access to Azure Storage resources by defining the scope, permissions, and duration of the access token.
Soru 264Soru

You are planning the deployment of a new virtual machine named AppVM-Prod to host a high-performance database. The workload has the following requirements:

* Storage: A 2 TB2\text{ TB} data disk that must deliver 60,00060,000 IOPS with sub-millisecond latency. The IOPS and throughput must be adjustable dynamically without virtual machine downtime.
* High Availability: Protection against entire datacenter outages within the primary hosting region.
* Backup: Daily backups must be configured and stored in an existing Recovery Services Vault named Vault-EastUS2, which is located in the East US 2 region.

Which configuration and deployment strategy should you select to meet these requirements?

Cevabı ve açıklamayı göster

Cevap: Deploy AppVM-Prod in an Availability Zone within the East US 2 region, enable Ultra SSD compatibility on the virtual machine during creation, attach an Ultra Disk as the data disk, and configure backups to Vault-EastUS2.

Cevap

Deploy the virtual machine in an Availability Zone within the East US 2 region, enable Ultra SSD compatibility during creation, attach an Ultra Disk as a data disk, and configure backups to the same-region Recovery Services Vault.
The correct strategy requires deploying the virtual machine in the East US 2 region to align with the existing Recovery Services Vault, as cross-region backups are not supported. Additionally, the virtual machine must be placed in an Availability Zone because Availability Zones protect against datacenter-wide failures and are a prerequisite for using Ultra Disks. The Ultra SSD compatibility capability must be enabled on the virtual machine during its initial creation to allow attaching an Ultra Disk, which provides the required 60,00060,000 IOPS and permits on-the-fly adjustment of performance settings without VM rebooting.

Adım Adım Çözüm

1
Identify the regional constraints for Azure Backup.
The virtual machine must be deployed in the East US 2 region because the existing Recovery Services Vault (Vault-EastUS2) is in East US 2, and Azure Backup requires the vault and virtual machine to reside in the same region.
To satisfy the backup requirement without deploying a new vault.
2
Determine the availability option and storage type.
Deploy the virtual machine in an Availability Zone to protect against datacenter-wide failures and to support Ultra Disk storage, which is only compatible with Availability Zones (not Availability Sets).
To satisfy the high availability and performance requirements.
3
Configure Ultra Disk capability.
Enable Ultra SSD compatibility on the virtual machine during the initial creation process, and attach a 2 TB2\text{ TB} Ultra Disk as a data disk.
Ultra SSD capability cannot be enabled on an existing virtual machine after deployment without recreation, and Ultra Disks allow dynamic adjustment of IOPS and throughput without downtime.

Anahtar Kavram

Virtual Machine creation settings, including Availability Zones, Ultra Disk compatibility, regional backup constraints, and VM restore types.
Soru 265Soru

You are deploying three Azure virtual machines that will run a load-balanced application. You configure the virtual machines within an Availability Set. Which type of failure or disruption does this configuration protect the application against?

Cevabı ve açıklamayı göster

Cevap: Localized hardware failures within a single datacenter

Cevap

Localized hardware failures within a single datacenter
An Availability Set distributes virtual machines across multiple fault domains (racks with shared power and network) and update domains (groups that can be rebooted during maintenance) within a single datacenter. This protects the application against localized hardware failures or planned Azure maintenance within that datacenter.

Adım Adım Çözüm

1
Analyze the virtual machine configuration option used in the scenario.
The scenario uses an Availability Set for the three virtual machines.
Understanding the capability of the chosen availability feature is necessary to determine what it protects against.
2
Differentiate between the redundancy levels of Availability Sets and Availability Zones.
Availability Sets provide redundancy within a single datacenter (across power and network boundaries), while Availability Zones provide redundancy across different physical datacenters in the same region.
This helps rule out datacenter-level failures as a protection capability of Availability Sets.
3
Identify the correct capability that matches Availability Sets.
Availability Sets protect against localized hardware failures within a single datacenter.
This matches the definition of fault domains and update domains provided by Availability Sets.

Anahtar Kavram

Azure Virtual Machine availability options and the distinction between Availability Sets and Availability Zones
Tahmini Süre:45s
Soru 266Soru

Your company is deploying several Azure virtual machines (VMs) to support different application workloads. You need to configure various post-deployment configuration and monitoring tasks.

Match each administrative requirement to the correct Azure virtual machine feature or extension.

Soldaki öğeye tıklayın, sonra eşleşen sağdaki öğeye tıklayın

Öğeler

Execute a custom bash script from a private Azure storage blob on a Linux virtual machine during the provisioning phase.
Enforce a specific system configuration baseline on a Windows virtual machine and automatically correct any unauthorized configuration drift.
Run an administrative script on an active, running Windows virtual machine that does not have a public IP address or active network route from your workstation.
Automatically collect and forward guest-level operating system performance counters to a Log Analytics workspace.

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

Execute a custom bash script during provisioning matches Custom Script Extension; Enforce a baseline and correct configuration drift matches Azure Automation State Configuration (DSC) extension; Run an administrative script without a public IP on an active VM matches Run Command; Collect and forward guest-level OS performance counters matches Azure Monitor agent.
The correct matches align with Microsoft Azure best practices: Custom Script Extension is used for bootstrapping/provisioning scripts; Azure Automation DSC ensures state compliance and remediates drift; Run Command executes scripts on running VMs via the local VM agent without public IP requirements; and the Azure Monitor agent handles guest-level performance data collection.

Adım Adım Çözüm

1
Analyze the requirement for running a script during provisioning from a private blob.
Identify that the Custom Script Extension is designed specifically to download and execute scripts during VM deployment.
Other extensions either manage configuration state or monitor performance rather than executing one-time bootstrap scripts.
2
Analyze the requirement for maintaining configuration state and correcting drift.
Identify that PowerShell Desired State Configuration (DSC) via Azure Automation enforces a configuration baseline and automatically corrects deviations.
Custom Script Extension and Run Command only execute scripts once and do not monitor or remediate drift continuously.
3
Analyze the requirement for executing a script on a running VM without direct network access or a public IP.
Identify that Run Command utilizes the VM agent to run scripts securely from the Azure portal/CLI without direct network routes.
This bypasses NSG rules and public IP requirements, unlike SSH or RDP which require network access.
4
Analyze the requirement for gathering guest-level performance metrics.
Identify that the Azure Monitor agent is used to collect OS-level diagnostics and send them to Log Analytics.
The Azure Monitor agent is the standard mechanism for data collection at the OS level.

Anahtar Kavram

Selecting the appropriate extension or management feature to configure and manage Azure Virtual Machines post-deployment.
Tahmini Süre:2m 0s
Soru 267Soru

An organization has an Azure subscription named `Sub-App-01` that contains three resource groups: `rg-prod-web`, `rg-prod-db`, and `rg-dev-temp`. You need to configure Azure Cost Management, budgets, and governance to meet the following requirements:
- Monitor spending across the entire subscription with a monthly budget of \\ 10{}000 .Whenthesubscriptionspendingreaches. - When the subscription spending reaches 90\%( (\\90009{}000) of the budget, a webhook must trigger an Azure Logic App to delete all virtual machines in `rg-dev-temp`.
- Prevent accidental deletion of any production resources in `rg-prod-web` and `rg-prod-db` by administrators.
- Ensure the Logic App can successfully delete the virtual machines in `rg-dev-temp` when triggered.

Which two actions should you perform? (Select two.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Apply a CanNotDelete resource lock separately to the rg-prod-web and rg-prod-db resource groups.; Create the monthly budget at the Sub-App-01 subscription scope, configure a 90%90\% threshold alert, and link it to an Action Group configured with a Logic App action.

Cevap

Apply a CanNotDelete resource lock separately to the rg-prod-web and rg-prod-db resource groups, and create the monthly budget at the Sub-App-01 subscription scope, configure a 90%90\% threshold alert, and link it to an Action Group configured with a Logic App action.
To satisfy the requirements, the monthly budget must be configured at the subscription scope and linked to an Action Group that contains a Logic App action. This allows the budget threshold alert to successfully trigger the Logic App. Additionally, to protect production resources without blocking the deletion of development resources, the CanNotDelete locks must be applied directly to the individual production resource groups rather than the subscription, preventing lock inheritance from affecting the development resource group.

Adım Adım Çözüm

1
Analyze lock scope requirements to prevent production deletions while allowing development deletions.
Realize that applying a lock at the subscription scope (Sub-App-01) inherits to all child groups and blocks the Logic App in the development resource group (rg-dev-temp).
Azure Resource Lock inheritance propagates from parent scopes (subscriptions) to child scopes (resource groups and resources).
2
Determine the correct lock configuration.
Apply CanNotDelete locks separately to the production resource groups (rg-prod-web and rg-prod-db).
This leaves the development resource group (rg-dev-temp) unlocked, allowing the Logic App to perform the deletion task.
3
Analyze budget and automation trigger requirements.
Identify that the budget must be created at the subscription scope to monitor all spending, and that the alert must trigger an Action Group.
Standard email alerts configured directly in the budget settings cannot trigger automated actions like webhooks or Logic Apps. An Action Group is required to invoke a Logic App.

Anahtar Kavram

Azure resource lock inheritance and budget alert Action Group integration.
Tahmini Süre:2m 30s
Soru 268Soru

An organization wants to implement governance across its Azure subscriptions. The administrator plans to use Azure Policy to restrict allowed virtual machine SKUs to 'Standard_D2s_v3' and audit resources that do not have a 'Department' tag. Which of the following statements regarding the implementation and behavior of these policies are correct? (Select TWO)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Assigning a policy definition with the 'Deny' effect blocks the creation of virtual machines that use SKUs other than 'Standard_D2s_v3'.; Assigning a policy definition with the 'Audit' effect allows resources without the 'Department' tag to be deployed but marks them as non-compliant.

Cevap

The correct statements are that assigning a policy definition with the 'Deny' effect blocks the creation of virtual machines using unapproved SKUs, and assigning a policy definition with the 'Audit' effect allows resources without the mandatory tag to be deployed but marks them as non-compliant.
The correct statements are that the 'Deny' effect blocks the creation of resources that violate policy definitions (such as virtual machines using unallowed SKUs), and the 'Audit' effect allows resources to deploy but marks them as non-compliant for visibility.

Adım Adım Çözüm

1
Evaluate the 'Deny' effect behavior on new resource requests.
The 'Deny' effect blocks the creation or update of any resource that fails to meet the policy's criteria, preventing the deployment of unapproved VM SKUs.
To verify if the 'Deny' statement is correct.
2
Evaluate the 'Audit' effect behavior on non-compliant resources.
The 'Audit' effect does not block deployment but flags the resource as non-compliant in Azure Policy compliance reporting and logs an event.
To verify if the 'Audit' statement is correct.
3
Analyze the 'Disabled' effect and the retroactive action of 'Deny' on existing resources.
The 'Disabled' effect stops policy evaluation altogether. The 'Deny' effect does not delete existing non-compliant resources; it only marks them as non-compliant.
To identify why the remaining statements are incorrect.

Anahtar Kavram

Azure Policy effects control the compliance behavior when resources are evaluated against policy rules.
Soru 269Soru

You are configuring Azure Virtual Machines (VMs) to automate various deployment tasks. Match each Azure VM Extension to its primary configuration use case.

Soldaki öğeye tıklayın, sonra eşleşen sağdaki öğeye tıklayın

Öğeler

Custom Script Extension
PowerShell DSC Extension
Azure Key Vault Extension

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

Custom Script Extension matches with automates VM configuration by running scripts; PowerShell DSC Extension matches with maintaining VM environment consistency using declarative configurations; Azure Key Vault Extension matches with automating the installation and renewal of SSL/TLS certificates.
Each extension maps to its unique and intended configuration purpose: Custom Script Extension for running customized OS scripts, PowerShell DSC for enforcing environment consistency, and Azure Key Vault Extension for SSL/TLS certificate lifecycle management.

Adım Adım Çözüm

1
Analyze the function of the Custom Script Extension.
Identify that it downloads and executes custom scripts directly on the VM during or after provisioning.
This directly aligns with the definition of running custom scripts on the operating system.
2
Analyze the function of the PowerShell Desired State Configuration (DSC) Extension.
Identify that it manages VM environment state drift using declarative configuration files.
This aligns with using declarative configurations to enforce target environmental settings.
3
Analyze the function of the Azure Key Vault Extension.
Identify that it monitors certificate stores and automatically refreshes VM certificates from Key Vault.
This aligns with automating installation and renewal of SSL/TLS certificates.

Anahtar Kavram

Azure Virtual Machine Extensions are lightweight utilities that provide post-deployment configuration, automation, and management capabilities on Azure virtual machines.
Tahmini Süre:1m 0s
Soru 270Soru

AeroSpace Dynamics is deploying a flight telemetry analysis workload in the Central US region. The workload will run on 33 virtual machines named VM-Telemetry1, VM-Telemetry2, and VM-Telemetry3. The customer requires a service level agreement (SLA) of at least 99.99%99.99\% virtual machine uptime. You need to configure a high availability solution that meets the SLA requirements.

Which deployment strategy should you select?

Cevabı ve açıklamayı göster

Cevap: Deploy VM-Telemetry1, VM-Telemetry2, and VM-Telemetry3 across 33 distinct Availability Zones in the Central US region.

Cevap

Deploying the virtual machines across three distinct Availability Zones in the Central US region.
Deploying the virtual machines across three distinct Availability Zones in the Central US region provides physical isolation and redundant power, cooling, and networking, which allows Azure to guarantee a 99.99%99.99\% virtual machine uptime SLA.

Adım Adım Çözüm

1
Identify the target SLA requirement for the deployment.
The target SLA is 99.99%99.99\% virtual machine uptime.
The configuration must be selected based on meeting or exceeding this specific SLA target.
2
Evaluate the SLA of Availability Sets.
Availability Sets guarantee an SLA of 99.95%99.95\%.
Availability Sets protect against hardware failures within a datacenter but do not meet the 99.99%99.99\% SLA requirement.
3
Evaluate the SLA of Availability Zones.
Deploying VMs across two or more Availability Zones guarantees an SLA of 99.99%99.99\%.
Availability Zones provide independent power, cooling, and networking infrastructure to guarantee a higher SLA.

Anahtar Kavram

Azure Virtual Machine High Availability SLAs
Soru 271Soru

An administrator is configuring an Azure Virtual Machine Scale Set (VMSS) named `vmss-app`. The administrator needs to configure a scale-in policy to control which virtual machines are terminated first when the scale set scales down.

Which of the following are valid scale-in policy values that can be configured for a VMSS? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: NewestVM; OldestVM

Cevap

The correct scale-in policy values that can be configured for a VMSS are NewestVM and OldestVM.
Azure Virtual Machine Scale Sets support three custom scale-in policies: Default, NewestVM, and OldestVM. The NewestVM policy prioritizes deleting the newest VM instances in the scale set when a scale-in event is triggered. The OldestVM policy deletes the oldest virtual machines in the scale set first.

Adım Adım Çözüm

1
Identify the purpose of a scale-in policy in a VMSS.
A scale-in policy determines the order in which VM instances are deleted when the scale set scales down.
This helps match the administrative requirements, such as preserving older configuration instances or removing temporary ones.
2
List the valid scale-in policies supported by Azure VMSS.
Azure VMSS supports Default, NewestVM, and OldestVM policies.
Knowing the official supported parameters allows you to eliminate invalid values.
3
Select the two correct options from the list.
NewestVM and OldestVM are correct; RandomVM and LowestCPU are invalid options.
Selecting the correct options completes the multi-select requirement.

Anahtar Kavram

Azure Virtual Machine Scale Set (VMSS) scale-in policies allow administrators to specify the order in which VM instances are scaled in. The supported policies are Default, NewestVM, and OldestVM.
Soru 272Soru

You plan to deploy an Azure App Service web app. You need to configure a deployment slot named staging to test updates before swapping them into production. Which App Service Plan pricing tier is the minimum required to support deployment slots?

Cevabı ve açıklamayı göster

Cevap: Standard

Cevap

Standard
The Standard tier is the minimum pricing tier that supports deployment slots. Tiers below Standard (Free, Shared, and Basic) lack this capability, whereas Premium and Isolated tiers also support it but at a higher cost.

Adım Adım Çözüm

1
Identify the feature required by the scenario.
The scenario requires deployment slots for a staging environment.
Deployment slots enable zero-downtime deployment and staging testing.
2
Determine which App Service Plan pricing tiers support this feature.
Deployment slots are supported in the Standard, Premium, and Isolated pricing tiers. They are not supported in the Free, Shared, or Basic tiers.
Azure restricts advanced traffic routing and deployment capabilities to production-grade plans.
3
Select the minimum pricing tier from the supported options.
The Standard tier is the entry-level production tier and the lowest-cost option that support slots.
This fulfills the administrative requirements at the lowest cost point.

Anahtar Kavram

Azure App Service Plan pricing tier features and minimum requirements
Tahmini Süre:45s
Soru 273Soru

An organization needs to grant a third-party application read-only access to a specific private blob container named compliance-records in an Azure Storage account named corpdata104. The access configuration must meet the following requirements:
- Access must be limited to a maximum duration of 4 hours.
- Access must be restricted to the client IP address range 198.51.100.0/24.
- Only HTTPS connections are allowed.
- The security team mandates that storage account access keys must not be used or exposed to sign the token, ensuring all access is tied to and authorized by a specific Microsoft Entra ID identity.

Which configuration should you implement to meet these requirements?

Cevabı ve açıklamayı göster

Cevap: Assign the Storage Blob Delegator and Storage Blob Data Reader roles to the administrator, then generate a User Delegation SAS for the container that specifies the client IP range, HTTPS-only protocol, and a 4-hour expiration.

Cevap

Assign the Storage Blob Delegator and Storage Blob Data Reader roles to the administrator, then generate a User Delegation SAS for the container that specifies the client IP range, HTTPS-only protocol, and a 4-hour expiration.
To satisfy the security requirement of avoiding storage account access keys and ensuring access is tied to a specific Microsoft Entra ID identity, a User Delegation SAS must be generated. Generating a User Delegation SAS requires a User Delegation Key, which is acquired using Microsoft Entra ID credentials. The administrator generating the token must have the Storage Blob Delegator role to request the key, and the Storage Blob Data Reader role to delegate read permissions to the container. The SAS parameters then enforce the IP address range, HTTPS-only, and 4-hour expiration constraints.

Adım Adım Çözüm

1
Determine the required SAS type based on security mandates.
Since the security team prohibits using storage account access keys and requires Microsoft Entra ID identity correlation, a User Delegation SAS must be used.
User Delegation SAS tokens are signed with a User Delegation Key acquired using Microsoft Entra ID credentials.
2
Identify the required control plane roles for key generation.
The identity must be assigned the Storage Blob Delegator role.
Generating a User Delegation Key requires the Microsoft.Storage/storageAccounts/blobServices/generateUserDelegationKey/action permission, which is included in the Storage Blob Delegator role.
3
Identify the required data plane roles for object access.
The identity must be assigned the Storage Blob Data Reader role at the container or storage account scope.
To delegate read permissions to a client, the generating identity must possess those data plane read permissions itself.
4
Apply token-level constraints during generation.
Generate the SAS token with the IP range set to 198.51.100.0/24, protocol set to HTTPS-only, and validity duration set to 4 hours.
These parameters restrict the execution environment of the SAS to satisfy the remaining security rules.

Anahtar Kavram

Generating a User Delegation SAS requires combining control plane delegation permissions (Storage Blob Delegator) with data plane access permissions (Storage Blob Data Reader) to authorize access via Microsoft Entra ID credentials instead of account keys.
Soru 274Soru

Your organization has a Microsoft Entra ID tenant. A security group named Sales-Group has its membership type set to Assigned. A user named User1 is configured as the owner of Sales-Group and does not hold any directory roles. You need to configure Sales-Group to dynamically include users based on their department.

Can User1 change the membership type of Sales-Group to Dynamic User?

Cevabı ve açıklamayı göster

Cevap: False

Cevap

No, User1 cannot change the membership type of Sales-Group to Dynamic User because group owners without administrative directory roles do not have permissions to modify group membership types.
Group owners are permitted to manage group membership (adding/removing users) and update group settings (like description or name) for the groups they own. However, changing a group's membership type (e.g., from Assigned to Dynamic User or Dynamic Device) requires specific administrative directory roles such as Global Administrator or Groups Administrator. Since the user does not hold any directory roles, they cannot change the membership type.

Adım Adım Çözüm

1
Analyze the roles and permissions of the user.
User1 is a group owner but does not hold any Microsoft Entra ID directory roles.
Determine what actions the user can perform in the tenant.
2
Identify the required permissions to change group membership type from Assigned to Dynamic.
Changing the membership type of a group requires the Global Administrator or Groups Administrator directory role.
Compare the required administrative roles against the user's roles.
3
Evaluate if the group owner can perform the change.
Since User1 only has group owner permissions and no administrative roles, the action is blocked.
Make the final determination on the statement.

Anahtar Kavram

Group ownership permissions and membership type management in Microsoft Entra ID
Soru 275Soru

Your company has an Azure Storage account named `mystorageacct`. You need to grant a third-party application read-only access to a specific blob container named `datasets`. The access must meet the following security requirements:

* Access must be restricted to HTTPS only.
* Access must only be allowed from the IP address range `192.0.2.128/26`.
* You must be able to revoke the access immediately before the planned expiration time, without affecting other applications or rotating the storage account keys.

Which of the following should you create to meet these requirements?

Cevabı ve açıklamayı göster

Cevap: A Service SAS associated with a stored access policy on the datasets container

Cevap

A Service SAS associated with a stored access policy on the datasets container
A Service SAS associated with a stored access policy on the datasets container satisfies all requirements. The stored access policy allows you to revoke the SAS immediately by deleting or modifying the policy, without affecting any other SAS tokens or rotating the storage account access keys. The SAS token itself can be generated with constraints to enforce HTTPS-only and restrict access to the specified IP address range.

Adım Adım Çözüm

1
Analyze the scope requirement
The scope is restricted to a single blob container named datasets. Both Service SAS and User Delegation SAS can be scoped to a container, whereas Account SAS is scoped at the account level.
Identifying the scope helps narrow down the correct SAS type.
2
Evaluate the immediate revocation constraint
To revoke access immediately without rotating the account keys or affecting other applications/tokens, you must associate the SAS with a stored access policy. User Delegation SAS and ad-hoc Service SAS do not support stored access policies.
Stored access policies provide the ability to change or revoke permissions instantly by deleting or modifying the policy on the container.
3
Combine security and configuration constraints
A Service SAS associated with a stored access policy on the container allows you to enforce HTTPS-only and IP range restrictions while allowing immediate revocation via the policy.
This is the only configuration that satisfies all criteria: container scope, HTTPS-only, IP range restriction, and isolated immediate revocation.

Anahtar Kavram

Stored Access Policies and Shared Access Signatures (SAS)
Soru 276Soru

An organization has a Microsoft Entra ID tenant with the following configurations:

* Self-Service Password Reset (SSPR) is enabled for a selected security group named SSPR-Group.
* SSPR-Group is a dynamic group that contains User1 and User2 as direct members.
* A security group named Nested-Group is added as a direct member of SSPR-Group. User3 is a direct member of Nested-Group.
* In the External collaboration settings, Guest invite settings is set to "Only users assigned to specific admin roles can invite guest users".
* User1 is assigned the Directory Writers role.
* User2 is assigned the Guest Inviter role.
* User3 is a standard user with no administrator roles.

Which users can perform a self-service password reset, and which users can invite external guest users?

Cevabı ve açıklamayı göster

Cevap: User1 and User2 can perform SSPR; only User2 can invite external guest users.

Cevap

User1 and User2 can perform SSPR; only User2 can invite external guest users.
The correct option is correct because User1 and User2 are direct members of SSPR-Group, making them eligible for SSPR. SSPR does not support nested group memberships, so User3 (a member of the nested Nested-Group) cannot perform SSPR. Under the restrictive guest invite settings, only specific admin roles (such as Global Administrator, User Administrator, and Guest Inviter) can invite guests. Since User2 is a Guest Inviter, they can invite guests, whereas User1 (Directory Writers) and User3 (no role) cannot.

Adım Adım Çözüm

1
Determine which users are within the scope of the Self-Service Password Reset (SSPR) policy.
User1 and User2 are direct members of SSPR-Group, which is the scoped group for SSPR. User3 is a member of Nested-Group, which is nested inside SSPR-Group.
SSPR applies only to direct members of the configured group. SSPR does not support nested groups. Therefore, only direct members (User1 and User2) are enabled for SSPR.
2
Analyze the guest invitation policy and evaluate which users are allowed to invite guests.
The Guest invite settings are set to 'Only users assigned to specific admin roles can invite guest users'. The roles allowed under this setting are Global Administrator, User Administrator, and Guest Inviter.
Other directory roles, such as Directory Writers, do not grant the permission to invite guest users under this restrictive setting. Standard users also cannot invite guests.
3
Map user roles to the permitted guest invitation roles.
User2 has the Guest Inviter role and can invite guests. User1 (Directory Writers) and User3 (no role) cannot invite guests.
Only User2 meets the role requirements specified by the guest invite settings.

Anahtar Kavram

Self-Service Password Reset (SSPR) scoping limitations and Entra ID B2B Guest invitation role requirements.
Soru 277Soru

An organization has an Azure resource hierarchy consisting of a Management Group named Corp-MG, a subscription named Sub-Production under Corp-MG, and three resource groups under Sub-Production: RG-App-Prod, RG-Database-Prod, and RG-Shared-Services.

The following policy assignments are active in the environment:
- Assignment 1: An Azure Policy definition that restricts allowed virtual machine SKUs to 'Standard_D2s_v3' and 'Standard_D4s_v3'. The policy effect is set to Deny. This policy is assigned at the Sub-Production subscription level with an exclusion configured for RG-Shared-Services.
- Assignment 2: A custom policy definition that denies the deployment of any resource if it does not have the 'Environment' tag with the value 'Production'. This policy is assigned at the Corp-MG Management Group level with no exclusions.

An administrator attempts to perform the following actions:
- Action 1: Deploy a virtual machine with SKU 'Standard_F4s' and the tag 'Environment: Production' in RG-Shared-Services.
- Action 2: Deploy a virtual machine with SKU 'Standard_D2s_v3' and no tags in RG-Database-Prod.

Which of the deployments will succeed?

Cevabı ve açıklamayı göster

Cevap: Action 1 succeeds, but Action 2 is blocked.

Cevap

Action 1 succeeds, but Action 2 is blocked.
The correct option correctly evaluates both deployment scenarios. Action 1 is successful because the SKU restriction policy (Assignment 1) explicitly excludes the RG-Shared-Services resource group, and the required Environment tag is present, satisfying the inherited policy (Assignment 2). Action 2 fails because, despite having an allowed SKU, the target resource group inherits the custom tag policy from the management group, and the virtual machine is deployed without the mandatory Environment tag.

Adım Adım Çözüm

1
Evaluate Action 1 against Assignment 1
Exempt from SKU restrictions
The deployment is targeted to RG-Shared-Services, which is explicitly configured as an exclusion under the subscription-level SKU policy assignment.
2
Evaluate Action 1 against Assignment 2
Allowed
The VM has the tag 'Environment' set to 'Production', which satisfies the tag policy inherited from the Corp-MG management group.
3
Evaluate Action 2 against Assignment 1
Allowed by SKU policy
The VM SKU is 'Standard_D2s_v3', which is one of the allowed SKUs listed in Assignment 1.
4
Evaluate Action 2 against Assignment 2
Blocked (Denied)
Assignment 2 is assigned at the Corp-MG level and is inherited by all resource groups under the subscription. Since the VM in RG-Database-Prod does not have the required tag, the policy triggers a Deny effect.

Anahtar Kavram

Azure Policy assignments, inheritance rules, exclusions, and evaluations of multiple active policies during resource deployment
Soru 278Soru

Aether Energy is planning to deploy a web application in the East US region. The deployment must guarantee a 99.99%99.99\% virtual machine uptime SLA and distribute incoming traffic across the virtual machines. The design includes 22 virtual machines named VM-Web1 and VM-Web2.

Which 22 actions should you perform to meet the requirements? Select 22.

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Deploy VM-Web1 and VM-Web2 to separate Availability Zones.; Deploy an Azure Standard Load Balancer to distribute the traffic.

Cevap

To meet the 99.99%99.99\% SLA requirement and distribute traffic, you must deploy the virtual machines to separate Availability Zones and use an Azure Standard Load Balancer.
To achieve a 99.99%99.99\% uptime SLA for virtual machines, the VMs must be deployed across at least two Availability Zones in the same region. Additionally, distributing traffic to VMs across different zones requires a Standard Load Balancer, as the Basic SKU does not support zone-spanning backend pools.

Adım Adım Çözüm

1
Analyze the SLA requirements for the virtual machines.
An SLA of 99.99%99.99\% is required.
Azure Availability Zones are required to achieve a 99.99%99.99\% SLA for virtual machines, whereas Availability Sets only guarantee up to 99.95%99.95\%.
2
Identify the load balancer requirements for VMs in different Availability Zones.
An Azure Standard Load Balancer is required.
Basic Load Balancers do not support backend resources distributed across separate Availability Zones.

Anahtar Kavram

Deploying virtual machines across Availability Zones with a Standard Load Balancer to achieve a 99.99%99.99\% SLA.
Soru 279Soru

An administrator is configuring a Virtual Machine Scale Set (VMSS) named `vmss-api` that uses Uniform orchestration mode and a Rolling upgrade policy to host a web service. After deploying an application update by updating the VMSS model, the administrator observes that all instances are upgraded in sequence, but the web service becomes unavailable because the new version has a startup bug. The rolling upgrade did not pause or roll back because the VM provisioning status of the upgraded instances remained 'Succeeded'. You need to ensure that future rolling upgrades automatically pause and roll back if the web service fails to start on upgraded instances. What should you configure?

Cevabı ve açıklamayı göster

Cevap: An Application Health extension on the scale set to monitor the web service's health endpoint.

Cevap

An Application Health extension on the scale set to monitor the web service's health endpoint.
The correct configuration is to use an Application Health extension on the scale set to monitor the web service's health endpoint. The Application Health extension is designed to run inside VMSS instances, monitor a configured HTTP/HTTPS or TCP endpoint, and report the application's health status back to the VMSS upgrade engine. During a rolling upgrade, this allows the engine to detect application-level failures, halt the rollout, and roll back to the previous model version.

Adım Adım Çözüm

1
Analyze the upgrade behavior
The VMSS uses a Rolling upgrade policy but only monitors VM provisioning state, ignoring application-level health.
By default, Azure only monitors the VM fabric state (Succeeded) to determine health during upgrades unless configured otherwise.
2
Determine the application monitoring requirement
An application health signal must be provided to the VMSS upgrade engine.
To detect internal startup bugs (like HTTP 500 errors or port binding failures), health probes must evaluate the application itself.
3
Select the correct VMSS feature for rolling upgrade validation
Deploy the Application Health extension or configure health-based upgrade orchestration with a load balancer.
The Application Health extension directly monitors the local endpoint and coordinates with the VMSS upgrade orchestration engine to pause/rollback upgrades if health checks fail.

Anahtar Kavram

Configuring application health monitoring for Virtual Machine Scale Set (VMSS) rolling upgrades.
Tahmini Süre:2m 0s
Soru 280Soru

An administrator configures the network firewall of an Azure Storage account named stsecurityprod to restrict access to 'Selected networks'. The administrator adds a virtual network rule to allow access from a subnet named Subnet-App in a virtual network named VNet-Internal.

However, applications running on virtual machines within Subnet-App receive a 'NetworkAccessDenied' error when attempting to read blobs from stsecurityprod.

Which configuration is required to resolve this connectivity issue?

Cevabı ve açıklamayı göster

Cevap: Enable the Microsoft.Storage service endpoint on Subnet-App.

Cevap

Enable the Microsoft.Storage service endpoint on Subnet-App.
For virtual network firewall rules on an Azure Storage account to function, the source subnet must have the Microsoft.Storage service endpoint enabled. When enabled, traffic from virtual machines in that subnet is routed using private IP addresses over the Azure backbone network. If the service endpoint is not enabled, the traffic uses the virtual machines' public IP addresses (or NAT IPs), which are blocked by the storage account's firewall when configured for 'Selected networks'.

Adım Adım Çözüm

1
Identify the cause of the NetworkAccessDenied error when a virtual network rule is configured but access is still blocked.
Realize that Azure Storage firewall virtual network rules rely on service endpoints to identify traffic originating from the specified subnet.
Without the service endpoint enabled, traffic from virtual machines in the subnet is routed over the public internet using public IP addresses, which are blocked by the storage account's firewall.
2
Select the correct action to route subnet traffic over the Azure backbone network with virtual network identifiers.
Enable the Microsoft.Storage service endpoint on Subnet-App.
This configuration changes the routing of storage traffic from Subnet-App to use private Azure network paths and includes the subnet's resource ID in the request header, allowing the storage account firewall to match it against the virtual network rule.

Anahtar Kavram

Azure Storage Virtual Network Rules and Service Endpoints
ÖncekiSayfa 14 / 63Sonraki
Tüm alıştırma soruları — Microsoft Azure Administrator (AZ-104) | Examkin