Free AZ-400 Exam Braindumps
Designing and Implementing Microsoft DevOps Solutions Questions 1–3 (page: 13)

Updated On: 16-Nov-2026
View Related Case Study

You add the virtual machines as managed nodes in Azure Automation State Configuration.
You need to configure the managed computers in Pool7.
What should you do next?

  1. Modify the RefreshMode property of the Local Configuration Manager (LCM).
  2. Run the Register-AzureRmAutomationDscNode Azure Powershell cmdlet.
  3. Modify the ConfigurationMode property of the Local Configuration Manager (LCM).
  4. Install PowerShell Core.

Answer(s): C



View Related Case Study

DRAG DROP (Drag and Drop is not supported)
You need to implement the code flow strategy for Project2 in Azure DevOps.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Step 1: Create a repository
A Git repository, or repo, is a folder that you've told Git to help you track file changes in. You can have any number of repos on your computer, each stored in their own folder.
Step 2: Create a fork
Step 3: Add a build policy for the fork
Build policies help teams protect their important branches of development. Policies enforce your team's code quality and change management standards.
Scenario:
Implement a code flow strategy for Project2 that will:
-Enable Team2 to submit pull requests for Project2.
-Enable Team2 to work independently on changes to a copy of Project2.
-Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of Project2.


Reference:

https://docs.microsoft.com/en-us/azure/devops/repos/git/manage-your-branches



View Related Case Study

DRAG DROP (Drag and Drop is not supported)
You need to configure Azure Automation for the computers in Pool7.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Step 1: Create a Desired State Configuration (DSC) configuration file that has an extension of .ps1.
Step 2: Run the Import-AzureRmAutomationDscConfiguration Azure Powershell cmdlet
The Import-AzureRmAutomationDscConfiguration cmdlet imports an APS Desired State Configuration (DSC) configuration into Azure Automation. Specify the path of an APS script that contains a single DSC configuration.
Example:
PS C:\>Import-AzureRmAutomationDscConfiguration -AutomationAccountName "Contoso17"-ResourceGroupName "ResourceGroup01" -SourcePath "C:\DSC\client.ps1" -Force
This command imports the DSC configuration in the file named client.ps1 into the Automation account named Contoso17. The command specifies the Force parameter. If there is an existing DSC configuration, this command replaces it.
Step 3: Run the Start-AzureRmAutomationDscCompilationJob Azure Powershell cmdlet
The Start-AzureRmAutomationDscCompilationJob cmdlet compiles an APS Desired State Configuration (DSC) configuration in Azure Automation.


Reference:

https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/import-azurermautomationdscconfigu ration https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/start-azurermautomationdsccompilati onjob



DRAG DROP (Drag and Drop is not supported)
You have an Azure subscription that uses Azure Monitor and contains a Log Analytics workspace.
You have an encryption key.
You need to configure Azure Monitor to use the key to encrypt log data.
Which five actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Note: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Customer-Managed key provisioning steps:
Step 1: Create an Azure Key vault and store the key.
Creating Azure Key Vault and storing key. Create or use an existing Azure Key Vault in the region that the cluster is planed, and generate or import a key to be used for logs encryption.
Step 2: Create an Azure Monitor Logs dedicate cluster that has a system-assigned managed identity Clusters uses managed identity for data encryption with your Key Vault. Configure identity type property to SystemAssigned when creating your cluster to allow access to your Key Vault for "wrap" and "unwrap" operations.
Step 3: Grant the system-assigned managed Identity Key permissions for the key vault.
Grant Key Vault permissions.
Create Access Policy in Key Vault to grants permissions to your cluster. These permissions are used by the underlay cluster storage. Open your Key Vault in Azure portal and click Access Policies then + Add Access Policy to create a policy with these settings:
Key permissions—select Get, Wrap Key and Unwrap Key.
Etc.

1. Creating cluster
2. Granting permissions to your Key Vault
3. Updating cluster with key identifier details
4. Linking workspaces
Step 4: Configure the key vault properties for the cluster.
Update cluster with key identifier details.
Step 5: Link the Log Analytics workspace to the cluster
Link workspace to cluster.
This step should be performed only after the cluster provisioning. If you link workspaces and ingest data prior to the provisioning, ingested data will be dropped and won't be recoverable.


Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/logs/customer-managed-keys



You have an X.509 certificate named cert1 that is managed by an external partner named Partner1.
You build a web app named Web1 that will be deployed by using Azure Pipelines. Web1 will be bound to cert1.
You need to ensure that cert1 is available to Azure Pipelines. The solution must ensure that cert1 can only be updated by Partner1.
Where should you store cert1?

  1. the Secure files library in Azure DevOps
  2. a secure enclave
  3. a variable group
  4. an Azure key vault

Answer(s): D

Explanation:

To ensure the X.509 certificate is securely accessible to your Azure Pipeline while restricting update rights strictly to your external partner, you should use Azure Key Vault with Azure Role-Based Access Control (RBAC).
The Azure Key Vault allows you to separate the control (updating) and consumption (reading) of certificates at a granular level.
Step 1: Set Up Azure Key Vault
Step 2: Grant Update Access to the External Partner.
Instead of sharing your account, give the partner a scoped identity.
Step 3: Grant Read Access to Azure Pipelines
Your pipeline needs to retrieve the certificate during deployment without having permission to change it.
Step 4: Link Certificate to Web App via Pipeline
In your Azure Pipeline YAML, use the AzureKeyVault@2 task or link the vault to a Variable Group.


Reference:

https://learn.microsoft.com/en-us/azure/devops/pipelines/release/azure-key-vault



Viewing page 13 of 81
Viewing questions 61 - 65 out of 398 questions


Post your Comments and Discuss Microsoft AZ-400 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!