Tüm alıştırma soruları
644 soru
You manage an Azure environment containing a management group named `MG-Dev`. The management group contains two subscriptions: `Sub-Dev-01` and `Sub-Dev-02`.
You need to implement a cost control strategy to meet the following requirements:
1. Monitor combined spending across both subscriptions and notify the engineering lead via email if the combined monthly cost exceeds USD.
2. Automatically stop all virtual machines (VMs) in a resource group named `rg-temp-resources` in `Sub-Dev-01` if the monthly cost of that resource group exceeds USD.
You perform the following configurations:
- Create a budget named `Budget-MG` at the `MG-Dev` scope with a limit of USD and add the engineering lead's email to the alert threshold.
- Create a budget named `Budget-Temp` at the `rg-temp-resources` scope with a limit of USD, and configure an action group that triggers an Azure Automation runbook to stop the VMs.
- Apply a `ReadOnly` lock to the `rg-temp-resources` resource group.
Which of the following describes the outcome of this configuration when the budget thresholds are exceeded?
An administrator is configuring an Azure App Service web app named app-corp to access private blobs in an Azure Storage account named storagecorp. The firewall settings of storagecorp are configured to 'Enabled from selected virtual networks and IP addresses'. The administrator enables a system-assigned managed identity for app-corp and assigns the 'Storage Blob Data Reader' role to the identity for the storage account. However, outbound connections from app-corp to storagecorp fail with a network access error. Which configuration should the administrator implement to allow app-corp to successfully access the blobs in storagecorp?
An administrator needs to grant a partner application temporary read-only access to a blob container named reports-2026 in an Azure Storage account named datacorp2026. The access configuration must meet the following security requirements:
- The partner application must only connect from the IP address range 192.0.2.0/24.
- The connection must be restricted to HTTPS only.
- The credentials must expire automatically after 8 hours.
- The solution must not rely on storage account access keys to sign the token.
Which configuration should the administrator use?
An administrator has an Azure Storage account named store1 that currently uses locally redundant storage (LRS). The administrator must configure replication to protect the data against a regional outage. Additionally, the data in the secondary region must be available for read access before any failover is initiated. Which configuration should the administrator use?
You need to create a dynamic user group in Microsoft Entra ID. The group must automatically include all users whose department attribute is set to Sales. Which membership rule should you use?
You plan to use the Azure Import/Export service to import of archive data from your on-premises network to an Azure Storage account. You have prepared several SATA hard drives and need to run the WAImportExport tool on a Windows client machine to copy the files and prepare the drives.
Which file must be generated by the WAImportExport tool during drive preparation and then uploaded to the Azure portal when creating the import job?
A financial services company organizes its Azure resources using a Management Group hierarchy. The Root Management Group has a child Management Group named FinanceMG, which contains two Azure subscriptions: Sub-Prod and Sub-Dev. A security administrator assigns the Reader role to a user group at the FinanceMG level and assigns a Policy definition at the Root Management Group level. Additionally, a Resource Lock of type CanNotDelete is applied to a specific resource group inside Sub-Prod. Which of the following statements is true regarding how these settings are applied to the resources within the subscriptions?
You plan to use the Azure Import/Export service to copy on-premises data to an Azure storage account. You need to prepare the physical hard drives before shipping them to an Azure datacenter. Which command-line tool must you run on your local computer to prepare the drives?
You manage an Azure subscription that contains an Azure Storage account named storage1. The storage account is configured as a General Purpose v1 (GPv1) account and uses Locally Redundant Storage (LRS). You need to create a lifecycle management rule that will automatically transition blobs in a container named backups to the Archive access tier after 30 days. What should you do first?
Your company has an Azure subscription named Sub1 that contains a resource group named RG1. You need to ensure that a user named User1 can view all resources inside RG1. User1 must not be able to view resources in any other resource groups within Sub1, nor modify any resources. Which action should you perform?
You manage a Microsoft Entra ID tenant. You create an administrative unit named Regional-AU and add several security groups to it.
You need to delegate the ability to manage the membership of these security groups to a user named Admin1. The solution must follow the principle of least privilege.
Which role and scope should you assign to Admin1?
An organization uses an Azure tenant hierarchy configured as follows:
- Tenant Root Group (Management Group)
- MG-Prod (Management Group)
- Sub-Prod-01 (Subscription)
- RG-Sec (Resource Group)
- RG-App (Resource Group)
- VM-App-01 (Virtual Machine)
You have two users with the following role configurations:
- User1 is assigned the Global Administrator directory role in Microsoft Entra ID. No other roles are assigned.
- User2 is assigned the User Access Administrator role at the MG-Prod management group scope.
User1 needs to assign the Contributor role to a security group at the RG-App scope.
User2 needs to assign the Reader role to a service principal at the RG-Sec scope.
Who can perform their respective role assignments without modifying any existing permissions or configurations?
An organization has an Azure subscription containing a General Purpose v2 (GPv2) storage account named storage1 configured with Geo-Redundant Storage (GRS). The storage account contains two blob containers:
* media-delivery – Stores active, frequently accessed media assets used by a web application.
* compliance-logs – Stores historical logs.
To minimize storage costs, a lifecycle management policy is applied to storage1 with a rule that transitions all blobs in compliance-logs to the Archive tier 30 days after creation.
A major regional outage occurs in the primary region of storage1. An administrator attempts to initiate a customer-managed failover of storage1 to the secondary region to restore write capabilities for the web application, but the failover operation is blocked.
Which of the following is the most appropriate action to resolve this issue and ensure the web application can fail over to the secondary region in the event of a future primary region outage?
An organization's Azure environment is structured with the following hierarchy:
- Tenant Root Group
- Corporate-MG (Management Group)
- Production-MG (Management Group)
- Azure Subscription A
- Resource Group: RG-Shared-01
The following configurations are implemented:
1. A CanNotDelete resource lock is applied to RG-Shared-01.
2. A user is assigned the Owner role at the Corporate-MG level.
3. The administrator assigns the same user a custom RBAC role at the RG-Shared-01 level. The custom role contains a NotActions statement for deleting resources.
The user attempts to delete an Azure storage account that resides inside RG-Shared-01.
What is the outcome of the user's deletion attempt?
An administrator needs to import of data from an on-premises Windows file server to an Azure storage account. The target destination is an Azure Files share. Due to limited WAN bandwidth, the administrator decides to use the Azure Import/Export service to ship physical hard drives to an Azure datacenter.
Which of the following processes must the administrator use to prepare the hard drives and configure the import job?
Zenith Retail Group uses the following Azure Management Group hierarchy:
* Tenant Root Group (Policy assigned: Allowed locations restricted to `East US` with Deny effect)
* Retail-Operations (Management Group) (Policy assigned: Allowed locations restricted to `East US 2` with Deny effect; Role assignment: User1 is assigned the Contributor role)
* Online-Store (Management Group)
* Sub-Online-Prod (Subscription) (Role assignment: User1 is assigned the Reader role)
* RG-Web-Prod (Resource Group) (Resource Lock: CanNotDelete lock applied)
User1 attempts to create a new virtual machine in the resource group `RG-Web-Prod` in the `East US 2` region.
Which of the following describes the outcome of the deployment attempt?
Your company has a Microsoft Entra ID tenant. You need to delegate password reset capabilities to a user named Admin1. Admin1 must only be allowed to reset passwords for users who meet both of the following criteria:
* Belong to the Sales department.
* Have their usage location set to the United States (US).
You need to implement a solution that requires the minimum administrative effort and follows the principle of least privilege.
Which configuration should you implement?
An administrator manages a General Purpose v2 (GPv2) storage account named storagelogsa in the East US region. The storage account is currently configured to use Locally Redundant Storage (LRS) and contains block blobs in a container named activitylogs.
A lifecycle management policy is applied to the storage account with a single rule:
- Filter: Blob prefix is activitylogs/archive/
- Action: Transition blobs to the Archive tier 30 days after modification.
Currently, the container contains:
- 500 blobs under activitylogs/raw/ (all modified 45 days ago, currently in the Hot tier)
- 200 blobs under activitylogs/archive/ (all modified 45 days ago, currently in the Archive tier)
You need to change the replication configuration of the storage account from LRS to Zone-Redundant Storage (ZRS) to ensure zonal availability. When you attempt to change the replication setting in the Azure portal, the option is unavailable.
Which of the following actions should you perform first to enable the replication configuration change?
An organization has the following Azure resource hierarchy and configuration:
- A management group named MG-Production contains an Azure subscription named Sub-App.
- Sub-App contains a resource group named RG-Data.
- RG-Data contains a storage account named storage1.
- A ReadOnly resource lock is applied directly to the storage1 resource.
The following security principals are configured:
- User1 is a Microsoft Entra ID user with the Global Administrator directory role. The 'Access management for Azure resources' setting is disabled in the directory properties.
- User2 has the Reader role assigned at the MG-Production level and the Storage Blob Data Contributor role assigned at the RG-Data level.
- User3 has the Contributor role assigned at the Sub-App level.
All users attempt to access resources using Microsoft Entra ID authentication. Which of the following describes the effective permissions of the users?
An organization's Azure environment is structured with the following resource hierarchy:
- Management Group: `MG-Production`
- Subscription: `Sub-Production`
- Resource Group: `RG-App-Services`
A user named Admin1 is assigned the Global Administrator directory role in Microsoft Entra ID. Admin1 logs into the Azure portal but is unable to view the resources within `RG-App-Services` or the subscription itself. What should you do to allow Admin1 to view the web apps inside `RG-App-Services`?