Correct Answer: A
A directory reference can be created with cmdlet New-AzDataLakeGen2Item in PowerShell.
The following example shows how a directory first-directory can be added to the container.
$filesystemName = "myfirst-file-system"
$dirname = "first-directory/"
New-AzDataLakeGen2Item -Context $ctx -FileSystem $filesystemName -Path $dirname -Directory
Option A is correct. New-AzDataLakeGen2Item cmdlet is used to create a directory.
Option B is incorrect. There is no command like NewDirectory-AzDataLakeGen2Item.
Option C is incorrect. There is no command like New-Dir-AzDataLakeGen2Item.
Option D is incorrect. Cmdlet New-AzDataLakeGen2Item, not Create_directory-AzDataLakeGen2Item is used to create a directory.
Reference:
To know more about managing files and directories using PowerShell, please visit the below-given link:
https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-directory-file-acl-powershell#manage-access-control-lists-acls