AZ-802 Manage Storage and File Services Practice Question
Exhibit
PS C:\> New-IscsiServerTarget -TargetName "DataTarget" -InitiatorId "IQN:iqn.1991-05.com.microsoft:srv1.contoso.com"
Refer to the exhibit. An administrator executes the PowerShell command shown to configure an iSCSI target. What is the effect of the -InitiatorId parameter in this command?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
It defines which client can connect to the target.
In iSCSI configurations, security is maintained by specifying which clients (initiators) are allowed to connect to a specific target. The -InitiatorId parameter restricts access to the target so that only the device with the matching iSCSI Qualified Name (IQN) can discover and connect to the storage resources.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It sets the IQN of the local server.
Why it's wrong here
The local server's IQN is automatically generated or configured at the system level and is not set using the New-IscsiServerTarget command. This command is specifically used to create a target object and define the external clients that are permitted to access the logical units it hosts.
- ✓
It defines which client can connect to the target.
Why this is correct
The -InitiatorId parameter is used for access control. By providing the IQN of the client server, the administrator ensures that only that specific initiator can mount the iSCSI virtual disks associated with this target, preventing unauthorized access from other servers on the same network.
- ✗
It specifies the IP address of the target portal.
Why it's wrong here
Target portals are the network interfaces on the server that listen for iSCSI traffic. They are managed using different cmdlets or parameters. The InitiatorId specifically uses an IQN or DNS name to identify a client machine, not a network endpoint or local listener address.
- ✗
It creates a new virtual hard disk.
Why it's wrong here
This command creates the iSCSI target logical object but does not create the underlying storage. A separate command, such as New-IscsiVirtualDisk, must be used to create the VHDX file, which is then associated with the target created in the exhibit using the Add-IscsiVirtualDiskTargetMapping cmdlet.
About these practice questions
One of 116 original AZ-802 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This AZ-802 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-802 exam.