Tüm alıştırma soruları

1252 soru

Soru 321Soru

An administrator configures a monthly budget of $5,000 for a resource group named rg-experimental-workloads. To prevent unauthorized changes to the resource group's configuration, the administrator applies a ReadOnly resource lock to rg-experimental-workloads. A budget alert is configured at a 90% threshold to trigger an Azure Automation runbook via an Action Group to deallocate all running virtual machines (VMs) in the resource group. When the budget threshold is reached, the alert fires, but the VMs remain running and continue to incur costs. What is the cause of this issue?

Cevabı ve açıklamayı göster

Cevap: The ReadOnly lock applied to the resource group prevents the deallocation of the virtual machines because stopping a virtual machine is a write action.

Cevap

The ReadOnly lock applied to the resource group prevents the deallocation of the virtual machines because stopping a virtual machine is a write action.
The correct answer is that the ReadOnly lock applied to the resource group prevents the deallocation of the virtual machines because stopping a virtual machine is a write action. A ReadOnly lock blocks any actions that modify the resource state, which includes VM power operations such as stopping or deallocating.

Adım Adım Çözüm

1
Analyze the scope of the resource lock and budget.
The ReadOnly lock is applied at the resource group scope (rg-experimental-workloads), and the budget and VMs are also in this resource group.
To understand how the lock inheritance affects the resources in the group.
2
Evaluate the inheritance behavior of resource locks in Azure.
Locks are inherited by all resources inside the resource group, meaning the VMs inside rg-experimental-workloads inherit the ReadOnly lock.
To determine if the lock applies to the VMs.
3
Determine the impact of a ReadOnly lock on VM power operations.
Stopping or deallocating a VM is a write/action operation (Microsoft.Compute/virtualMachines/powerOff/action) which is blocked by a ReadOnly lock.
To identify why the runbook failed to stop the VMs despite the alert firing.

Anahtar Kavram

Resource lock inheritance and its impact on virtual machine management tasks
Soru 322Soru

Sienna Foods plans to deploy a new inventory management system consisting of two virtual machines, VM-Inv1 and VM-Inv2, in the UK South region. The company has a service level agreement (SLA) requirement that guarantees virtual machine uptime of at least 99.99%99.99\% to protect against localized datacenter failures. Which deployment configuration should you recommend?

Cevabı ve açıklamayı göster

Cevap: Deploy the virtual machines across two different Availability Zones in the UK South region.

Cevap

Deploy the virtual machines across two different Availability Zones in the UK South region.
Deploying virtual machines across two or more Availability Zones in the same region provides a 99.99%99.99\% uptime SLA and protects against localized datacenter outages because the VMs are placed in physically separate datacenters with independent power, cooling, and networking.

Adım Adım Çözüm

1
Identify the SLA requirement.
The requirement is an SLA of at least 99.99%99.99\% uptime.
This helps determine which high availability option is capable of meeting the constraint.
2
Compare Availability Sets and Availability Zones SLA guarantees.
Availability Sets guarantee 99.95%99.95\% uptime, whereas Availability Zones guarantee 99.99%99.99\% uptime.
Choosing the option that guarantees at least 99.99%99.99\% uptime.
3
Verify regional and resource grouping rules.
Availability Zones deploy VMs to physically separate datacenters in a region, whereas Availability Sets group VMs logically within a single datacenter and cannot span zones.
To ensure the chosen deployment strategy is valid and protects against datacenter-wide failures.

Anahtar Kavram

Availability Zones vs Availability Sets
Soru 323Soru

Your company is implementing Azure File Sync to centralize file shares in Azure while maintaining local caching to optimize access latency. You need to configure cloud tiering on an on-premises Windows Server named FileServer1 to minimize local storage usage on volume F: while keeping active files cached.

Volume F: has a total capacity of 2 TB2\text{ TB}. You enable Cloud Tiering on the server endpoint with the following settings:
- Volume free space policy: 30%30\%
- Date policy: Tier files that have not been accessed within the last 3030 days.

Currently, the local volume F: contains 1.6 TB1.6\text{ TB} of files cached locally (resulting in 20%20\% free space). The cached files consist of:
- 100 GB100\text{ GB} of files that have not been accessed for more than 3030 days.
- 1.5 TB1.5\text{ TB} of files that were accessed within the last 55 days.

Which of the following describes the resulting tiering behavior on volume F: when Azure File Sync evaluates the cloud tiering policies?

Cevabı ve açıklamayı göster

Cevap: Azure File Sync tiers the 100 GB100\text{ GB} of files older than 3030 days and force-tiers 100 GB100\text{ GB} of the files accessed within the last 55 days, leaving 1.4 TB1.4\text{ TB} of files cached locally.

Cevap

Azure File Sync tiers the 100 GB100\text{ GB} of files older than 3030 days and force-tiers 100 GB100\text{ GB} of the files accessed within the last 55 days, leaving 1.4 TB1.4\text{ TB} of files cached locally.
The volume free space policy always takes precedence over the date policy. Because the volume currently has only 20%20\% free space and the target free space is 30%30\%, Azure File Sync must free up space. First, it applies the date policy to tier the 100 GB100\text{ GB} of files that have not been accessed within 3030 days. This increases the free space to 25%25\% (1.5 TB1.5\text{ TB} cached). Since this is still below the 30%30\% target, the volume free space policy forces the tiering of the least recently accessed files among the recently accessed 1.5 TB1.5\text{ TB} of files until the 30%30\% free space target (600 GB600\text{ GB} free, 1.4 TB1.4\text{ TB} cached) is achieved, which requires tiering an additional 100 GB100\text{ GB}.

Adım Adım Çözüm

1
Calculate the target free space and maximum cached capacity for volume F:.
Target free space is 30%30\% of 2 TB2\text{ TB} (2000 GB2000\text{ GB}), which is 600 GB600\text{ GB}. The maximum allowed cached capacity is 1.4 TB1.4\text{ TB} (1400 GB1400\text{ GB}).
This establishes the threshold that the cloud tiering engine must achieve.
2
Apply the Date Policy to tier eligible files.
100 GB100\text{ GB} of files older than 3030 days are tiered, leaving 1.5 TB1.5\text{ TB} (1500 GB1500\text{ GB}) of cached files and 500 GB500\text{ GB} (25%25\%) of free space.
The date policy is evaluated first to tier files that have exceeded the specified age threshold.
3
Evaluate the Volume Free Space Policy and force-tier recently accessed files to meet the target.
Since 25%25\% free space is less than the 30%30\% target, Azure File Sync force-tiers another 100 GB100\text{ GB} of the least recently accessed files from the remaining 1.5 TB1.5\text{ TB}, resulting in 1.4 TB1.4\text{ TB} cached and 600 GB600\text{ GB} (30%30\%) free space.
The Volume Free Space policy takes precedence and must be satisfied even if it requires tiering files that do not meet the Date Policy age criteria.

Anahtar Kavram

Azure File Sync Cloud Tiering policy interaction and precedence
Tahmini Süre:2m 30s
Soru 324Soru

You manage an Azure App Service web app named WebApp1 that has a deployment slot named Staging. WebApp1 currently connects to a production database, and Staging connects to a testing database. The database connection settings are stored as an application setting named DB_CONNECTION.

You need to ensure that when Staging is swapped to production, the production slot continues to connect to the production database and the Staging slot continues to connect to the testing database.

Which configuration should you apply?

Cevabı ve açıklamayı göster

Cevap: Configure the DB_CONNECTION setting as a deployment slot setting in both WebApp1 and Staging.

Cevap

Configure the DB_CONNECTION setting as a deployment slot setting in both WebApp1 and Staging.
The correct option is correct because configuring a setting as a deployment slot setting (also known as a slot-sticky setting) pins that specific configuration to the slot. When the deployment slots are swapped, the app code and most configurations are exchanged, but settings marked as deployment slot settings remain unchanged in their respective slots. This ensures the production slot continues pointing to the production database, and the Staging slot continues pointing to the testing database.

Adım Adım Çözüm

1
Identify how Azure App Service handles configuration settings during a slot swap.
By default, application settings and connection strings are swapped along with the slot content.
This allows settings to travel with the codebase unless explicitly configured otherwise.
2
Determine the configuration required to keep a setting slot-specific.
Marking the setting as a 'deployment slot setting' (slot-sticky) prevents it from being swapped.
This pins the database connection setting to each respective environment (production vs. testing).
3
Apply this configuration to the target setting in both the production slot and the Staging slot.
The DB_CONNECTION setting remains tied to its slot after the swap.
This ensures the production slot continues pointing to the production database, and the Staging slot continues pointing to the testing database.

Anahtar Kavram

App Service Deployment Slot Settings (Sticky Settings)
Tahmini Süre:1m 30s
Soru 325Soru

An organization's Azure environment is configured with the following resource hierarchy:
- Tenant Root Group (Management Group)
- Group-MG (Management Group)
- Billing-Sub (Subscription)
- Data-RG (Resource Group)
- storage1 (Storage Account)

A security administrator needs to delegate authority to a user named Admin-User1. Admin-User1 must be able to assign the Reader role to external auditors for resources within Data-RG. Admin-User1 must not be able to modify the resources themselves, nor assign roles for any resources outside of Data-RG.

Which of the following actions should the administrator perform to meet these requirements with the least privilege?

Cevabı ve açıklamayı göster

Cevap: Assign the User Access Administrator role to Admin-User1 at the scope of the Data-RG resource group.

Cevap

Assign the User Access Administrator role to Admin-User1 at the scope of the Data-RG resource group.
Assigning the User Access Administrator role at the resource group scope (Data-RG) allows the user to manage role assignments (such as assigning the Reader role) only within that specific resource group. Since User Access Administrator does not grant permissions to modify the resources themselves (which would require a role like Contributor or Owner), it satisfies the requirement of least privilege.

Adım Adım Çözüm

1
Determine the narrowest resource scope required for role delegation.
The target scope is the Data-RG resource group.
Assigning permissions at the subscription scope (Billing-Sub) would violate requirements by allowing role assignments in other resource groups via inheritance.
2
Evaluate the administrative role that allows assigning roles without permitting resource modification.
The User Access Administrator role is selected.
The Owner role would grant resource modification permissions, violating the restriction against resource changes.
3
Verify that Azure resource RBAC is used instead of Microsoft Entra ID directory roles.
Avoid tenant-level roles like Global Administrator.
Directory roles govern identity management rather than subscription resource-level RBAC assignments, and they exceed the scope of least privilege.

Anahtar Kavram

Azure RBAC scopes, role delegation, and the difference between Owner and User Access Administrator roles.
Soru 326Soru

You are configuring backups for an Azure App Service web app. Which two configurations are required to enable custom backups for the web app? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: An App Service plan in the Standard tier or higher; An Azure Storage account and a blob container

Cevap

An App Service plan in the Standard tier or higher and an Azure Storage account and a blob container are required to configure custom backups.
To configure custom backups for an Azure App Service web app, you must meet two main requirements: the web app must run on an App Service plan scaled to the Standard, Premium, or Isolated tier, and you must specify an Azure Storage account with a blob container to store the backup files.

Adım Adım Çözüm

1
Verify the App Service plan pricing tier.
Ensure the App Service plan is scaled to the Standard tier or higher (Premium or Isolated).
Lower pricing tiers, such as Basic, Free, or Shared, do not support the custom backup feature in Azure App Services.
2
Configure the backup storage destination.
Create or select an Azure Storage account and a blob container.
Azure App Service stores custom backups as zip files directly in a specified Azure Blob Storage container.

Anahtar Kavram

Azure App Service Custom Backup Configuration Requirements
Tahmini Süre:1m 0s
Soru 327Soru

You need to use the AzCopy command-line utility to upload data from an on-premises client computer to a blob container in an Azure Storage account. The storage account has public network access enabled from selected networks.

Which of the following configurations will allow you to successfully authenticate and execute the upload? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: Authenticate by running the azcopy login command with a Microsoft Entra ID account that has the Storage Blob Data Contributor role assigned.; Append a Shared Access Signature (SAS) token that has write permissions directly to the destination container URL.

Cevap

To successfully execute the upload, you must either authenticate via Microsoft Entra ID using a login session with the Storage Blob Data Contributor role, or append a valid Shared Access Signature (SAS) token with write permissions to the destination container URL.
To upload data using AzCopy, you need data-plane permissions. This can be achieved by authenticating with Microsoft Entra ID via the azcopy login command, provided the account has the Storage Blob Data Contributor role assigned. Alternatively, you can authorize the request by appending a valid Shared Access Signature (SAS) token with write permissions directly to the destination container URL.

Adım Adım Çözüm

1
Identify the tool's access requirements.
Determine that AzCopy requires authentication and data-plane authorization to upload blobs to a storage account.
AzCopy requires explicit data-plane permissions to perform write operations in a storage container.
2
Evaluate Microsoft Entra ID configuration.
Find that control-plane roles like Contributor do not grant container data access, whereas data-plane roles like Storage Blob Data Contributor do.
Running azcopy login requires a data-plane role to authorize write operations on blobs.
3
Evaluate Shared Access Signature (SAS) configuration.
Identify that appending a write-enabled SAS token directly to the destination container URL is a supported authentication method for AzCopy.
SAS tokens provide delegated access with specific permissions and scopes directly within the resource URI.
4
Evaluate network security.
Identify that AzCopy executes from client environments and cannot bypass firewalls using the 'Allow trusted Microsoft services' setting.
AzCopy is a client utility, not an internal trusted Azure service, meaning its traffic originates from the client's public IP.

Anahtar Kavram

Data plane authorization and firewall traversal for AzCopy
Tahmini Süre:1m 0s
Soru 328Soru

An administrator is configuring a new Azure virtual machine named VM-APP-10 in the West US region using the Azure portal. The administrator intends to enable Azure Backup on the Management tab during the creation process and associate the virtual machine with an existing Recovery Services Vault named RSV-Backup. However, RSV-Backup does not appear as an option in the Recovery Services vault dropdown list.

What is the most likely reason RSV-Backup is unavailable for selection?

Cevabı ve açıklamayı göster

Cevap: RSV-Backup is located in a different Azure region than the virtual machine.

Cevap

RSV-Backup is located in a different Azure region than the virtual machine.
The correct answer is correct because Azure Recovery Services Vaults are region-bound. A virtual machine deployed in West US can only be protected by a vault also deployed in West US. If the vault is in a different region, such as West US 2, it will not be listed in the dropdown selection on the Management tab during the virtual machine creation process.

Adım Adım Çözüm

1
Analyze the regional constraint of the virtual machine and the Recovery Services Vault.
The virtual machine VM-APP-10 is being deployed in the West US region. A Recovery Services Vault can only back up virtual machines located within its own region.
Azure enforces regional boundaries for Recovery Services Vaults to ensure low latency and high availability during backup and restore operations.
2
Evaluate the visibility of the vault in the VM creation wizard.
Because the vault is in a different region, the wizard automatically filters it out, making it unavailable in the dropdown menu.
Filtering unavailable resources prevents the administrator from choosing an unsupported configuration during deployment.

Anahtar Kavram

Recovery Services Vault region constraints during VM creation
Soru 329Soru

An administrator manages a standard General Purpose v2 (GPv2) storage account named stbackup2026 in the East US region. The storage account currently uses Locally Redundant Storage (LRS). To meet new corporate policies, the administrator must ensure the storage account is protected against regional outages. Additionally, any logs stored in a container named 'temp-logs' must be automatically deleted 30 days after they are created. Which two actions should the administrator perform to meet these requirements?

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

Cevabı ve açıklamayı göster

Cevap: Change the replication configuration of the storage account from Locally Redundant Storage (LRS) to Geo-Redundant Storage (GRS).; Create a lifecycle management policy with a rule that filters by the 'temp-logs' prefix and deletes blobs 30 days after creation.

Cevap

The administrator should change the replication configuration of the storage account to Geo-Redundant Storage (GRS) and configure a lifecycle management policy with a rule that targets the 'temp-logs' container to delete blobs 30 days after creation.
To satisfy the requirements, the administrator needs to change the replication type of the storage account to a geo-redundant option (such as Geo-Redundant Storage) to protect against regional outages, and configure a native lifecycle management rule with a prefix filter matching the specific container name to automatically delete the blobs 30 days after creation.

Adım Adım Çözüm

1
Navigate to the storage account configuration settings in the Azure portal or use Azure CLI/PowerShell, and change the replication from Locally Redundant Storage (LRS) to Geo-Redundant Storage (GRS).
The storage account data is replicated asynchronously to the paired secondary region, meeting the protection requirement against regional outages.
GRS provides regional disaster recovery protection by keeping three copies of data in the primary region and three copies in the secondary region.
2
Navigate to the lifecycle management blade under data management, add a new rule targeting blob creation time, set the action to delete the blob 30 days after creation, and apply a prefix filter matching the 'temp-logs' container name.
A native lifecycle policy is established to automatically clean up the log files without administrative overhead.
Lifecycle management provides automated, rule-based deletion and tiering transitions, and the prefix filter limits the rule scope to the designated container.

Anahtar Kavram

Azure Storage replication conversion paths and Blob lifecycle management policy rules.
Tahmini Süre:1m 30s
Soru 330Soru

An organization has a Microsoft Entra ID tenant. The tenant contains a user named Admin1, a security group named Europe-Sales that has 50 member users, and an administrative unit named Europe-AU. Europe-AU contains the Europe-Sales group as its only member.

You assign the User Administrator role to Admin1 with Europe-AU as the scope.

Which action is Admin1 permitted to perform?

Cevabı ve açıklamayı göster

Cevap: Add new members to the Europe-Sales group

Cevap

Add new members to the Europe-Sales group
An administrator assigned the User Administrator role at the Administrative Unit (AU) scope can manage the properties and membership of groups that are direct members of the AU. Since Europe-Sales is a member of Europe-AU, Admin1 can add or remove members from it.

Adım Adım Çözüm

1
Identify the role and scope assignment
Admin1 is assigned the User Administrator role scoped to the Europe-AU Administrative Unit.
This determines the boundary of the administrator's management capabilities.
2
Determine the direct members of the Administrative Unit
The Europe-Sales group is the only direct member of Europe-AU. The individual users within the group are not direct members of the AU.
Administrative Unit scope is non-transitive. Only objects directly added to the AU are within the management scope.
3
Evaluate the administrative permissions on the group object versus its members
Admin1 can perform group management actions on Europe-Sales (such as updating properties and managing membership) but cannot perform user management actions (such as password resets) on the group's members.
To manage the users inside the group, those users must be explicitly added as direct members of the Europe-AU.

Anahtar Kavram

Administrative Unit scoping and the non-transitive nature of group memberships in Microsoft Entra ID
Tahmini Süre:1m 30s
Soru 331Soru

You manage an Azure environment. You create a new resource group named rg-finance-prod to hold production database resources. You apply a tag with the key CostCenter and value Finance-101 to rg-finance-prod. Additionally, you configure a CanNotDelete resource lock on rg-finance-prod. Afterwards, you deploy an Azure SQL database named db-finance into rg-finance-prod. Which of the following statements correctly describe the resource governance settings applied to the database? Select two.

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

Cevabı ve açıklamayı göster

Cevap: The database inherits the CanNotDelete lock from the resource group, preventing its deletion.; The database does not inherit the CostCenter tag from the resource group.

Cevap

The database inherits the CanNotDelete lock from the resource group, preventing its deletion, and the database does not inherit the CostCenter tag from the resource group.
Resource locks in Azure are inherited by all child resources in the scope where they are applied. Therefore, applying a CanNotDelete lock to the resource group prevents the database from being deleted. Conversely, tags are not inherited by resources from the parent resource group, meaning the database will not have the CostCenter tag automatically applied.

Adım Adım Çözüm

1
Evaluate lock inheritance for the SQL database inside the resource group.
The CanNotDelete lock applied to the resource group rg-finance-prod is inherited by the child database db-finance, preventing its deletion.
In Azure, resource locks applied at a parent scope are inherited by all child resources.
2
Evaluate tag inheritance for the SQL database inside the resource group.
The CostCenter tag is not inherited by the database db-finance.
Azure resources do not automatically inherit tags from their parent resource group.

Anahtar Kavram

Resource lock inheritance applies to child resources, while tag inheritance does not occur automatically from resource groups to child resources.
Soru 332Soru

You have an existing Availability Set named AvSet1 in the East US region. You need to deploy a new virtual machine named VM2 and configure it to be part of AvSet1. Which configuration must be applied during the creation of VM2?

Cevabı ve açıklamayı göster

Cevap: Select AvSet1 during creation, ensuring that VM2 is deployed in the same region and resource group as AvSet1.

Cevap

Select the existing Availability Set during the creation process, ensuring that the new virtual machine is deployed in the same Azure region and resource group as the Availability Set.
To place a virtual machine in an Availability Set, the configuration must be specified during the creation wizard. Because an Availability Set is a regional resource and bound to a single resource group, the new virtual machine must be deployed in the same region (East US) and resource group as the target Availability Set.

Adım Adım Çözüm

1
Determine the phase when an Availability Set must be associated with a virtual machine.
The virtual machine must be added to the Availability Set during VM creation. Azure does not support adding an existing virtual machine to an Availability Set.
This is a configuration constraint for Azure virtual machines.
2
Verify scope and dependency requirements for Availability Sets.
The virtual machine must be created in the same Azure region and the same resource group as the target Availability Set.
Availability Sets are regional resources and logical groupings restricted to a single resource group.
3
Evaluate availability option compatibility.
Availability Zones and Availability Sets cannot be configured simultaneously for the same virtual machine.
They are mutually exclusive high availability mechanisms.

Anahtar Kavram

Availability Set Configuration Rules
Tahmini Süre:1m 30s
Soru 333Soru

An administrator is configuring access control for an Azure environment where the Prod-MG management group contains the Sub1 subscription, which in turn contains the Data-RG resource group. A storage account named storage1 is deployed in Data-RG. A developer needs to upload and read blobs in storage1. The developer must not have permissions to modify the configuration of the storage account or any other resources in the subscription. Which built-in role and scope should the administrator assign to the developer to meet these requirements while adhering to the principle of least privilege?

Cevabı ve açıklamayı göster

Cevap: Storage Blob Data Contributor assigned at the storage1 scope

Cevap

Assign the Storage Blob Data Contributor role at the storage1 scope.
Assigning the Storage Blob Data Contributor role at the storage1 scope is correct because it grants the specific data plane permissions required to upload and read blobs on that specific storage account, satisfying the principle of least privilege without providing management access to other resources.

Adım Adım Çözüm

1
Analyze the required permissions for the developer.
The developer needs data plane access (upload and read blobs) but must not have administrative privileges to modify resource configurations.
This identifies that a data plane role like Storage Blob Data Contributor is needed, rather than a control plane role like Storage Account Contributor.
2
Determine the correct scope following the principle of least privilege.
The scope should be restricted to the specific storage account (storage1) rather than the resource group (Data-RG) or subscription (Sub1).
Assigning permissions at the resource level restricts access to only what is necessary, preventing access to other resources.
3
Select the appropriate Azure RBAC role and scope combination.
Assign Storage Blob Data Contributor at the storage1 scope.
This satisfies both the data access requirement and the least privilege constraint.

Anahtar Kavram

Azure RBAC roles distinguish between control plane and data plane operations, and scopes define the boundary of these permissions.
Tahmini Süre:1m 0s
Soru 334Soru

An organization's Azure environment contains a resource group named RG-Data that hosts a storage account named storageapp2026. An administrator needs to configure permissions so that a user named Jordan can download files from a blob container named 'logs'. The configuration must use Microsoft Entra ID authentication and follow the principle of least privilege, ensuring Jordan cannot modify any data or change storage account settings. Which Azure role-based access control (RBAC) role should the administrator assign to Jordan?

Cevabı ve açıklamayı göster

Cevap: Storage Blob Data Reader

Cevap

Storage Blob Data Reader
The correct answer is the Storage Blob Data Reader role because it grants data plane access to read and list blob containers and their contents using Microsoft Entra ID authentication. This matches the requirements of downloading files under the principle of least privilege, without allowing management actions or write operations.

Adım Adım Çözüm

1
Determine the type of operation needed for the user to download files from a blob container.
The operation is a data plane access request (reading blob content).
Downloading blob content requires permissions on the data plane, not just management permissions on the control plane.
2
Select the built-in Azure RBAC role that provides read-only data access to blobs while adhering to least privilege.
The Storage Blob Data Reader role is selected.
This role allows reading and listing blobs within container resources without permitting modifications or configuration changes.

Anahtar Kavram

Separation of control plane and data plane RBAC roles in Azure Storage
Tahmini Süre:45s
Soru 335Soru

You have an Azure App Service web app named WebApp1 and an Azure Key Vault named Vault1. You need to store a database connection string in Vault1 as a secret and configure WebApp1 to securely retrieve the connection string without exposing the raw secret value in the App Service configuration. Which sequence of steps should you perform to complete this configuration?

Öğeleri doğru sıraya koymak için sürükleyin

Cevabı ve açıklamayı göster

Cevap

To securely reference a Key Vault secret in WebApp1, you must first enable a system-assigned managed identity for WebApp1, then assign the Key Vault Secrets User role to WebApp1's managed identity on Vault1, retrieve the Secret Identifier URL of the database connection string secret from Vault1, and finally create an application setting in WebApp1 that references the Secret Identifier using the key vault reference syntax.
The correct sequence starts with enabling the system-assigned managed identity because the identity must exist in Microsoft Entra ID before any access permissions can be granted. Once created, the Key Vault Secrets User role must be assigned to the identity so that WebApp1 can read secrets. Next, the Secret Identifier URL is retrieved from Vault1 to point to the correct secret. Finally, the App Service application settings must be updated with this URI using the Key Vault reference syntax so that the runtime can fetch the secret.

Adım Adım Çözüm

1
Enable a system-assigned managed identity for WebApp1.
A service principal is registered in Microsoft Entra ID for the web app, allowing it to authenticate to other Azure services.
An identity must exist before permissions can be assigned to it.
2
Assign the Key Vault Secrets User role to WebApp1's managed identity on Vault1.
The web app's managed identity is granted read access to secrets in Vault1.
By default, App Services do not have permission to read secrets from Key Vault; authorization is required.
3
Retrieve the Secret Identifier URL of the database connection string secret from Vault1.
You obtain the specific URI pointing to the secret version in Key Vault.
The App Service application setting configuration requires this URI to resolve the secret value.
4
Create an application setting in WebApp1 that references the retrieved Secret Identifier using the key vault reference syntax.
WebApp1 resolves the secret at runtime and exposes it as an environment variable to the application code.
The `@Microsoft.KeyVault` syntax tells the App Service runtime to fetch the secret on behalf of the application.

Anahtar Kavram

Azure App Service Key Vault references allow web apps to pull secrets from Key Vault at runtime using managed identities, keeping credentials out of the application configuration.
Tahmini Süre:1m 30s
Soru 336Soru

Your organization has an on-premises Windows Server named Server1. You need to configure Azure File Sync to synchronize a local folder on Server1 with a new Azure file share. You have already created a resource group and a storage account in Azure. Which sequence of actions should you perform to establish synchronization? To answer, move the appropriate actions to the answer area and arrange them in the correct order.

Öğeleri doğru sıraya koymak için sürükleyin

Cevabı ve açıklamayı göster

Cevap

Deploy a Storage Sync Service resource in the Azure subscription, install the Azure File Sync agent on Server1, register Server1 with the Storage Sync Service, create a Sync Group and add the Azure file share as a Cloud Endpoint, and then create a Server Endpoint on Server1 pointing to the local folder.
To deploy Azure File Sync, you must first create the Storage Sync Service in Azure. Next, you must install the Azure File Sync agent on the on-premises Windows Server. Once the agent is installed, you register the Windows Server with the Storage Sync Service. After the server is registered, you create a sync group and define the cloud endpoint (the Azure file share). Finally, you create a server endpoint to link the local path on the registered server to the sync group.

Adım Adım Çözüm

1
Deploy the Storage Sync Service in Azure.
The central management resource is available to coordinate synchronization.
All servers must register to a Storage Sync Service, and sync groups reside within it.
2
Install the Azure File Sync agent on Server1.
The file sync driver and registration utility are installed on the local server.
The registration utility and sync agent are required on the host OS before registration can occur.
3
Register Server1 with the Storage Sync Service.
Server1 appears as a registered server in the Storage Sync Service resource.
Establishing a trust relationship is required before the server can host sync endpoints.
4
Create a Sync Group and add the Azure file share as a Cloud Endpoint.
The sync topology container is established, linking the cloud storage.
A sync group and a cloud endpoint must exist before any local folders can be added to the sync topology.
5
Create a Server Endpoint on Server1 pointing to the local folder.
Synchronization begins between the local folder on Server1 and the Azure file share.
The server endpoint links the registered server's local path to the sync group.

Anahtar Kavram

Azure File Sync deployment order and topological dependencies
Tahmini Süre:2m 30s
Soru 337Soru

You manage an Azure App Service web app that is hosted on a Free (F1) App Service plan. You need to configure a custom domain and bind a custom TLS/SSL certificate to the web app. What is the minimum App Service plan pricing tier you must select to support these requirements?

Cevabı ve açıklamayı göster

Cevap: Basic

Cevap

Basic
The correct answer is the Basic tier. In Azure App Service, the Basic pricing tier is the minimum tier that supports custom SSL/TLS bindings (both SNI and IP-based). The Free tier supports neither custom domains nor SSL bindings. The Shared tier supports custom domains but not custom SSL bindings. While the Standard tier supports custom SSL bindings, it is not the minimum tier required.

Adım Adım Çözüm

1
Identify the features required for the App Service web app.
The requirements are configuring a custom domain and binding a custom TLS/SSL certificate.
This determines which pricing tiers can support the workload.
2
Evaluate the capabilities of the entry-level App Service plan tiers.
The Free tier supports neither custom domains nor SSL. The Shared tier supports custom domains but not TLS/SSL bindings.
This rules out the Free and Shared tiers.
3
Determine the minimum tier that supports TLS/SSL bindings.
The Basic tier is the cheapest tier that supports custom domains and custom TLS/SSL bindings.
This provides the required functionality at the lowest cost.

Anahtar Kavram

Azure App Service Plan pricing tiers and feature support
Soru 338Soru

An administrator is deploying a high-availability application that consists of three virtual machines in the East US region. The virtual machines are placed in a resource group named RG-Prod. A ReadOnly resource lock is applied to RG-Prod.

The deployment requirements and configurations are:
- The virtual machines must be protected against datacenter-wide failures, so they are deployed across three Availability Zones in East US.
- The virtual machines must be backed up daily, so a Recovery Services vault is created in the East US 2 region.
- Boot diagnostics for the virtual machines must be written to an Azure storage account that restricts public access. The storage account firewall is configured to allow access from selected networks only, and the 'Allow trusted Microsoft services to access this storage account' option is disabled.

You need to identify the configuration issues and operational limitations of this setup.

Which of the following statements are correct? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: The daily backups will fail to configure because the Recovery Services vault and the virtual machines are not in the same region.; Administrators will be unable to start or stop the virtual machines from the Azure Portal because the ReadOnly resource lock prevents these actions.

Cevap

The daily backups will fail to configure because the Recovery Services vault and the virtual machines are not in the same region, and administrators will be unable to start or stop the virtual machines because of the ReadOnly lock on the resource group.
The configuration will fail to configure backups because the Recovery Services vault and virtual machines must reside in the same region. Additionally, the ReadOnly lock applied at the resource group level inherits to all VMs within it, preventing any state modification operations (including starting and stopping).

Adım Adım Çözüm

1
Evaluate the backup configuration against region constraints.
The Recovery Services vault in East US 2 cannot back up virtual machines in East US.
Azure Backup enforces that the vault and the target VMs must reside in the same region.
2
Determine the impact of the ReadOnly lock on VM management.
Starting and stopping the VMs is blocked.
Power management commands modify the resource state, which constitutes a write action blocked by a ReadOnly lock.
3
Compare Availability Zones and Availability Sets for resiliency.
Availability Zones protect against datacenter-wide failures, while Availability Sets protect only against single-datacenter hardware faults.
Zones are physically separate datacenters, providing the required level of high availability.
4
Analyze storage firewall settings for boot diagnostics.
Boot diagnostics will fail to write to the storage account because the trusted services bypass is disabled.
When a storage account firewall is active, access must be explicitly allowed for diagnostic data transit.

Anahtar Kavram

Azure Virtual Machine creation and configuration including high availability options, resource locks, regional backup constraints, and storage diagnostics settings.
Soru 339Soru

An administrator successfully logs in to AzCopy using a Microsoft Entra ID account. However, when the administrator attempts to copy files to an Azure Blob storage container, the copy operation fails with an authorization error. The administrator's user account has the Contributor role for the storage account. Which action should the administrator perform to resolve the authorization error?

Cevabı ve açıklamayı göster

Cevap: Assign the Storage Blob Data Contributor role to the administrator's user account.

Cevap

Assign the Storage Blob Data Contributor role to the administrator's user account.
The correct answer is to assign the Storage Blob Data Contributor role. Microsoft Entra ID authorization requires specific data-plane roles for storage data access. Control plane roles like Contributor manage the storage account structure but do not allow writing or reading Blob data directly.

Adım Adım Çözüm

1
Identify the authentication mechanism used in the AzCopy command.
The administrator successfully logged in with a Microsoft Entra ID account, which indicates they are using token-based authentication.
Identifying the authentication method determines whether permissions are managed via RBAC data-plane roles or storage access keys.
2
Analyze the administrator's current RBAC role assignment.
The administrator has the Contributor role at the storage account level.
Standard Azure management roles like Contributor only govern control-plane access. They do not grant default authorization to view or write blob data (data-plane).
3
Determine the required data-plane role for Blob storage operations.
The Storage Blob Data Contributor role provides data-plane access to write blobs to containers.
Assigning this role resolves the authorization error by granting the necessary data plane permissions to the Entra ID user account.

Anahtar Kavram

Data-plane versus control-plane permissions for Azure Storage using Microsoft Entra ID authentication
Tahmini Süre:1m 0s
Soru 340Soru

An administrator is planning the deployment of several Azure virtual machines (VMs) to support different enterprise workloads. Each workload has specific performance, placement, or security requirements.

Match each workload requirement to the most appropriate Azure VM configuration feature or option.

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

Öğeler

A database VM that requires the ability to dynamically scale IOPS and throughput performance limits without restarting the virtual machine or causing downtime.
A stateless web application VM pool that requires faster read/write latency to the OS drive and rapid VM re-imaging by deploying the OS directly onto the local host storage.
A high-performance cluster requiring the lowest possible network latency by ensuring that virtual machines are physically located as close as possible to each other within the same physical data center.
A compliant financial application VM that requires data written to both the OS and temporary disks to be encrypted directly on the physical host hosting the VM before transmission to Azure Storage.

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

To meet the requirements, match the dynamic performance scale database to Ultra Disk, the stateless web VM pool to Ephemeral OS Disk, the low-latency cluster to Proximity Placement Group, and the host-level encryption to Encryption at Host.
The correct matches align each workload requirement with its specific Azure VM architectural option:
- Dynamic performance adjustments of IOPS and throughput on the fly are unique to Ultra Disks.
- Storing the OS disk directly on the local VM host's storage to minimize latency and enable rapid re-imaging is the primary use case of Ephemeral OS Disks.
- Grouping VMs in close physical proximity within a single data center to reduce network latency is achieved using Proximity Placement Groups.
- Encrypting data directly at the virtual machine physical host level before sending it over the network to Azure Storage is configured using Encryption at Host.

Adım Adım Çözüm

1
Analyze the database requirement for dynamically adjusting storage performance (IOPS and throughput) without VM downtime.
Identify Ultra Disk as the appropriate storage option.
Ultra Disks allow modifying IOPS and throughput dynamically without detaching the disk or restarting the VM.
2
Evaluate the requirement for stateless VMs requiring low OS disk latency and rapid re-imaging using local host storage.
Identify Ephemeral OS Disk as the correct selection.
Ephemeral OS Disks utilize the local VM host's cache or temp disk instead of remote Azure Storage, enabling faster read/write latency and rapid re-imaging.
3
Analyze the requirement for reducing physical distance and network latency between VMs in a cluster.
Identify Proximity Placement Groups as the correct option.
Proximity Placement Groups group VMs physically close within the same data center to reduce inter-VM latency.
4
Identify the feature that encrypts OS and temp disks at the VM host level before sending data to Azure Storage.
Identify Encryption at Host as the correct option.
Encryption at Host ensures that data stored on the VM host (like temporary disk and OS/data disk caches) is encrypted at rest and encrypted end-to-end as it flows to Azure Storage.

Anahtar Kavram

Azure VM storage, placement, and host security configuration options.
Tahmini Süre:3m 0s
ÖncekiSayfa 17 / 63Sonraki
Tüm alıştırma soruları — Microsoft Azure Administrator (AZ-104) | Examkin