Microsoft Azure Administrator (AZ-104日本語版) - AZ-104日本語 Exam Practice Test
以下の表に示すApp Serviceプランをご利用いただけます。
あなたは、以下の表に示すAzure Webアプリを作成する予定です。
ウェブアプリに使用できるApp Serviceプランを特定する必要があります。
何を特定すべきでしょうか?回答するには、回答欄で適切な選択肢を選んでください。
注:正解ごとに1ポイントが加算されます。

展示する

展示する

展示する
あなたは、以下の表に示すAzure Webアプリを作成する予定です。
ウェブアプリに使用できるApp Serviceプランを特定する必要があります。
何を特定すべきでしょうか?回答するには、回答欄で適切な選択肢を選んでください。
注:正解ごとに1ポイントが加算されます。

展示する

展示する

展示する
Correct Answer:

Explanation:
Detailed Explanation
A web app can only be hosted on an App Service plan in the exact same Azure region, and the plan ' s operating system must be compatible with the app ' s runtime stack. Both WebApp1 and WebApp2 are located in West US, which immediately eliminates ASP2 (Central US) for either app, regardless of OS compatibility. That leaves ASP1 (Windows, West US) and ASP3 (Linux, West US) as the only region- matching candidates. WebApp2 runs ASP.NET 4.7 (.NET Framework), which requires the Windows App Service stack - the classic .NET Framework runtime is not available on Linux App Service - so WebApp2 can only use ASP1. WebApp1 runs .NET Core 3.0, which is technically cross-platform and could run on either Windows or Linux App Service in principle, but because ASP3 is a Linux plan and .NET Core 3.0 itself reached end of support in 2020 (a version to flag for modernization to a current LTS release such as .NET 8) Official Reference App Service plan overview - https://learn.microsoft.com/en-us/azure/app-service/overview-hosting-plans
Sub1 という名前の Azure サブスクリプションがあり、そこには次の表に示すリソースが含まれています。
名前
説明
RG2
リソースグループ
VNet2
RG2内の仮想ネットワークで、Subnet2という名前のサブネットが含まれています。
このサブスクリプションには、以下の表に示すユーザーが含まれています。
名前
役割
役割の範囲
管理者1
ネットワーク貢献者
サブ1
管理者2
寄稿者
RG2
管理者3
所有者
VNet2
VNet2は、以下のコマンドレットを使用して作成されました。
New-AzResourceGroupDeploymentStack -Name Deploy1 -ResourceGroupName RG2 -TemplateFile Deploy。
上腕二頭筋
-DenySettingsMode DenyDelete -ActionOnUnmanage DetachAll
以下の各記述について、正しい場合は「はい」を選択してください。そうでない場合は「いいえ」を選択してください。
注:正解ごとに1ポイントが加算されます。

展示する

展示する
名前
説明
RG2
リソースグループ
VNet2
RG2内の仮想ネットワークで、Subnet2という名前のサブネットが含まれています。
このサブスクリプションには、以下の表に示すユーザーが含まれています。
名前
役割
役割の範囲
管理者1
ネットワーク貢献者
サブ1
管理者2
寄稿者
RG2
管理者3
所有者
VNet2
VNet2は、以下のコマンドレットを使用して作成されました。
New-AzResourceGroupDeploymentStack -Name Deploy1 -ResourceGroupName RG2 -TemplateFile Deploy。
上腕二頭筋
-DenySettingsMode DenyDelete -ActionOnUnmanage DetachAll
以下の各記述について、正しい場合は「はい」を選択してください。そうでない場合は「いいえ」を選択してください。
注:正解ごとに1ポイントが加算されます。

展示する

展示する
Correct Answer:

Explanation:
Detailed Explanation
DenySettingsMode DenyDelete only blocks Delete actions on stack-managed resources; it never blocks write
/update actions, so Admin1 ' s Network Contributor role (which grants Microsoft.Network/virtualNetworks
/write) can still modify VNet2 ' s address space. By default, deployment-stack deny assignments do not cascade to child resources unless the stack is created with -DenySettingsApplyToChildScopes, which this cmdlet omits; Subnet2 is therefore not protected, and Admin2 ' s ordinary Contributor role at RG2 permits deleting it. VNet2 itself, however, is the resource the deny assignment directly targets (Scope: This resource, Excluded principals: No), so a delete on VNet2 is blocked for every principal -- including Admin3, who holds Owner directly on VNet2 -- because Azure deny assignments always take precedence over RBAC role assignments; VNet2 can only be removed by updating or deleting the deployment stack itself.
Official Reference
Deny settings in Azure deployment stacks - https://learn.microsoft.com/en-us/azure/azure-resource-manager
/bicep/deployment-stacks
contoso.com という名前の Azure Active Directory (Azure AD) テナントをお持ちです。
500人の外部ユーザーの名前とメールアドレスが記載されたCSVファイルがあります。
500人の外部ユーザーそれぞれについて、contoso.comにゲストユーザーアカウントを作成する必要があります。
解決策:各ユーザーに対して New-MgUser コマンドレットを実行する PowerShell スクリプトを作成します。
これは目標を達成していると言えるでしょうか?
500人の外部ユーザーの名前とメールアドレスが記載されたCSVファイルがあります。
500人の外部ユーザーそれぞれについて、contoso.comにゲストユーザーアカウントを作成する必要があります。
解決策:各ユーザーに対して New-MgUser コマンドレットを実行する PowerShell スクリプトを作成します。
これは目標を達成していると言えるでしょうか?
Correct Answer: B
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Sub1 という名前の Azure サブスクリプションがあり、その中に VNet1 という名前の仮想ネットワークが含まれています。VNet1 には、次の表に示すサブネットが含まれています。

Sub1には以下のストレージアカウントが含まれています。
* storage1: 米国西部Azureリージョンに所在
* storage2: 米国東部Azureリージョンに所在
NSG1という名前のネットワークセキュリティグループ(NSG)を作成し、NSG1をVNet1上のサブネットに関連付けます。
storage1とstorage2へのアクセスは、Microsoftバックボーンネットワークを介してサブネット1とサブネット4上の仮想マシンからのみ可能であることを確認する必要があります。他のすべてのサブネットまたは外部ロケーションからのアクセスはブロックする必要があります。
あなたはどうすべきでしょうか?


Sub1には以下のストレージアカウントが含まれています。
* storage1: 米国西部Azureリージョンに所在
* storage2: 米国東部Azureリージョンに所在
NSG1という名前のネットワークセキュリティグループ(NSG)を作成し、NSG1をVNet1上のサブネットに関連付けます。
storage1とstorage2へのアクセスは、Microsoftバックボーンネットワークを介してサブネット1とサブネット4上の仮想マシンからのみ可能であることを確認する必要があります。他のすべてのサブネットまたは外部ロケーションからのアクセスはブロックする必要があります。
あなたはどうすべきでしょうか?

Correct Answer:

Explanation:
To configure network connectivity: Create a private endpoint on each subnet.
To configure storage access: For each storage account, disable public network access.
Azure Private Endpoint is the appropriate connectivity mechanism when Azure Storage must be accessed privately without exposing traffic to the public internet. A private endpoint assigns an IP address from the virtual network to the Azure Storage service, and Microsoft confirms that traffic between the VNet and the storage account travels across the Microsoft backbone network rather than the public internet. Microsoft Learn Therefore, private endpoints should be created for the required storage connectivity from the designated subnets. However, merely creating a private endpoint does not automatically disable the storage account ' s public endpoint . By default, an Azure Storage account can remain reachable through public networking. To meet the requirement that external locations and unwanted public paths cannot access storage1 or storage2, Public network access must be disabled for each storage account . Microsoft explicitly states that when Public network access is Disabled, traffic is accepted only through private endpoints. Microsoft Learn Virtual network peering and route tables do not provide private access to Azure Storage, while an NSG alone cannot replace Private Link connectivity.
Reference topics: Azure Private Link, private endpoints, Azure Storage networking, public network access, Microsoft backbone routing, VNet security .
Device1という名前のWindows 11デバイスと、次の表に示すリソースを含むAzureサブスクリプションがあります。
デバイス1には、Azure PowerShellとAzureコマンドラインインターフェイス(CLI)がインストールされています。
デバイス1からVM1へのリモートデスクトップ接続を確立する必要があります。
どの3つの行動を順番に実行すべきでしょうか?回答するには、行動リストから適切な行動を回答欄に移動させ、正しい順序に並べ替えてください。

展示する

展示する
デバイス1には、Azure PowerShellとAzureコマンドラインインターフェイス(CLI)がインストールされています。
デバイス1からVM1へのリモートデスクトップ接続を確立する必要があります。
どの3つの行動を順番に実行すべきでしょうか?回答するには、行動リストから適切な行動を回答欄に移動させ、正しい順序に並べ替えてください。

展示する

展示する
Correct Answer:

Explanation:
Detailed Explanation
Native client support - the ability to connect through Bastion using a local tool such as the Azure CLI ' s ' az network bastion rdp ' command instead of the browser-based portal experience - is a Standard SKU-only Bastion feature; Basic SKU supports only the in-portal HTML5 session. The sequence must therefore begin by upgrading Bastion1 from Basic to Standard SKU, since native client support cannot be enabled at all on Basic. Once upgraded, the administrator enables ' Native Client Support ' on the Bastion resource, which allows CLI/native RDP and SSH tunneling. Only after both prerequisites are in place can Device1 use ' az network bastion rdp --name Bastion1 --resource-group < rg > --target-resource-id < VM1 resource ID > ' to open a native Remote Desktop session to VM1, which lacks a public IP and therefore relies entirely on Bastion for connectivity. Kerberos authentication, JIT VM access, and a plain mstsc.exe call are all distractors unrelated to enabling native-client Bastion connectivity.
Official Reference
Connect to a VM using Bastion and native client - https://learn.microsoft.com/en-us/azure/bastion/native- client
お客様は、以下の表に示す仮想マシンを含む Azure サブスクリプションを所有しています。
javascript:void(0)
次のような構成のロードバランサーをデプロイします。
* 名前: LB1
* タイプ内部
* SKU: 標準
* 仮想ネットワーク VNET1
VM1とVM2をLB1のバックエンドプールに追加できることを確認する必要があります。
解決策:基本SKUのパブリックIPアドレスを作成し、そのアドレスをVM1のネットワークインターフェースに関連付けてから、VM1を起動します。
これは目標を達成していると言えるでしょうか?

展示する
javascript:void(0)
次のような構成のロードバランサーをデプロイします。
* 名前: LB1
* タイプ内部
* SKU: 標準
* 仮想ネットワーク VNET1
VM1とVM2をLB1のバックエンドプールに追加できることを確認する必要があります。
解決策:基本SKUのパブリックIPアドレスを作成し、そのアドレスをVM1のネットワークインターフェースに関連付けてから、VM1を起動します。
これは目標を達成していると言えるでしょうか?

展示する
Correct Answer: B
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
お客様は、以下の表に示すストレージアカウントを含むAzureサブスクリプションをお持ちです。

ライフサイクル管理をサポートするストレージアカウントと、アーカイブアクセス層へのデータ移動をサポートするストレージアカウントを特定する必要があります。
各要件について、何を特定すべきでしょうか?


ライフサイクル管理をサポートするストレージアカウントと、アーカイブアクセス層へのデータ移動をサポートするストレージアカウントを特定する必要があります。
各要件について、何を特定すべきでしょうか?

Correct Answer:

Explanation:
Lifecycle management: storage1, storage2, and storage3
The Archive access tier: storage2 only
Azure Blob Storage lifecycle management policies are supported for block blobs and append blobs in general- purpose v2 (StorageV2) accounts and premium BlockBlobStorage accounts. Therefore, storage1 and storage2 support lifecycle management because both are StorageV2 accounts, while storage3 also supports lifecycle management because it is a premium block blob account. Microsoft specifically lists lifecycle management policy support for these account types. However, premium BlockBlobStorage has an important limitation:
lifecycle policies can perform supported operations such as deletion, but tiering to cool, cold, or archive is not supported for premium block blob storage.
Archive-tier eligibility is further restricted by the account ' s redundancy configuration. Microsoft states that the Archive tier supports only LRS, GRS, and RA-GRS. It does not support ZRS, GZRS, or RA-GZRS.
Consequently, storage1 cannot use Archive because it uses GZRS. storage3 cannot use Archive because it is both premium BlockBlobStorage and configured with ZRS. storage2 uses StorageV2 with RA-GRS, which satisfies both the account-type and redundancy requirements for Archive.
Reference topics: Azure Storage account types, Blob lifecycle management, access tiers, Archive tier, redundancy options, StorageV2 and premium BlockBlobStorage.
貴社は新しいAzureサブスクリプションを購入しました。
次の図に示すように、Deploy json という名前のファイルを作成します。
サブスクリプションに接続し、次のコマンドレットを実行します。
New-AzDeployment -Location westus -TemplateFile " deploy.json " "
以下の各記述について、正しい場合は「はい」を選択してください。そうでない場合は「いいえ」を選択してください。

展示する

展示する
次の図に示すように、Deploy json という名前のファイルを作成します。
サブスクリプションに接続し、次のコマンドレットを実行します。
New-AzDeployment -Location westus -TemplateFile " deploy.json " "
以下の各記述について、正しい場合は「はい」を選択してください。そうでない場合は「いいえ」を選択してください。

展示する

展示する
Correct Answer:

Explanation:
Detailed Explanation
RG1 receives a CanNotDelete lock, which restricts only deletion operations and does not block write/create operations, so deploying a new VM (a create/write action) into RG1 is allowed (Yes). RG2 receives a ReadOnly lock, which blocks ALL write operations -- including creating any new resource -- within that resource group, so deploying a VM into RG2 is blocked (No). The template ' s copy loop (count 3, index starting at 0) creates only RG0, RG1, and RG2; RG3 was never created by this deployment and carries no lock at all, so manually creating a new, unrelated resource group named RG3 is a standard, unrestricted operation (Yes). All three statements match the source key.
Official Reference
Lock resources - CanNotDelete vs ReadOnly behavior - https://learn.microsoft.com/en-us/azure/azure- resource-manager/management/lock-resources
次の表に示すIPアドレスを使用する、Cluster1という名前のAzure Kubernetes Service(AKS)クラスターをデプロイします。
Cluster1で実行されているアプリケーションへのアクセス権をインターネットユーザーに提供する必要があります。
OustedのDNSレコードには、どのIPアドレスを含めるべきですか?

展示する
Cluster1で実行されているアプリケーションへのアクセス権をインターネットユーザーに提供する必要があります。
OustedのDNSレコードには、どのIPアドレスを含めるべきですか?

展示する
Correct Answer: A
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).