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

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

HOTSPOT (Drag and Drop is not supported)
You need to configure a cloud service to store the secrets required by the mobile applications to call the share pricing service.
What should you include in the solution? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Every request made against a storage service must be authorized, unless the request is for a blob or container resource that has been made available for public or signed access. One option for authorizing a request is by using Shared Key.
Scenario: The mobile applications must be able to call the share pricing service of the existing retirement fund management system. Until the system is upgraded, the service will only support basic authentication over HTTPS.
The investment planning applications suite will include one multi-tier web application and two iOS mobile applications. One mobile application will be used by employees; the other will be used by customers.


Reference:

https://docs.microsoft.com/en-us/rest/api/storageservices/authorize-with-shared-key



View Related Case Study

DRAG DROP (Drag and Drop is not supported)
You need to configure authentication for App1. The solution must support the planned changes.
Which three actions should you perform in sequence? To answer, move all 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:




Woodgrove Bank plans to implement the following changes to the identity environment:
-Configure App1 to use a service principal.


Reference:

https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal



View Related Case Study

You need to meet the technical requirements for controlling access to Azure DevOps.
What should you use?

  1. Azure Multi-Factor Authentication (MFA)
  2. on-premises firewall rules
  3. conditional access policies in Microsoft Entra ID
  4. Azure role-based access control (Azure RBAC)

Answer(s): C

Explanation:

Scenario: Access to Azure DevOps must be restricted to specific IP addresses.
Azure DevOps is authenticated through Microsoft Entra ID. You can use Microsoft Entra conditional access to prevent logins from certain geographies and address ranges.


Reference:

https://www.rebeladmin.com/2018/08/step-step-guide-configure-location-based-conditional-access-policies/



View Related Case Study

You need to configure Azure Pipelines to control App2 builds.
Which authentication method should you use?

  1. Windows NTLM
  2. certificate
  3. SAML
  4. personal access token (PAT)

Answer(s): D

Explanation:

Scenario: Deploy App2 to an Azure virtual machine named VM1.
A personal access token (PAT) is used as an alternate password to authenticate into Azure DevOps.


Reference:

https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authent icate



DRAG DROP (Drag and Drop is not supported)
You have a GitHub repository named repo1 and an Azure key vault named kv1.
In repo1, you plan to create a workflow named Workflow1 that will deploy a database server by using credentials stored in kv1.
You need to ensure that Workflow1 can retrieve the credentials from kv1.
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.
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:




With the Get Key Vault Secrets action, you can fetch secrets from an Azure Key Vault instance and consume in your GitHub Action workflows.
Step 1: Create a service principal in Microsoft Entra Id
To fetch the credentials required to authenticate with Azure, run the following command to generate an Azure Service Principal (SPN) with Contributor permissions:
az ad sp create-for-rbac --name "myApp" --role contributor \
--scopes /subscriptions/{subscription-id}/resourceGroups/{resource-group} \
--sdk-auth
Step 2: Grant secret permissions to kv1.
Enable permissions to access the Key Vault secrets
Provide explicit access policies on the above Azure service principal to be able to access your Key Vault for get and list operations. Use below command for that:
az keyvault set-policy -n $KV_NAME --secret-permissions get list --spn <clientId from the Azure SPN JSON>
Step 3: Reference the credentials in Workflow1.
Reference secret stored in key vault
The following properties are supported when you configure a field in linked service referencing a key vault secret:

Note: Store credentials in Azure Key Vault
Steps
To reference a credential stored in Azure Key Vault, you need to:
1. Retrieve data factory managed identity by copying the value of "Managed Identity Object ID" generated along with your factory. If you use ADF authoring UI, the managed identity object ID will be shown on the Azure Key Vault linked service creation window; you can also retrieve it from Azure portal, refer to Retrieve data factory managed identity.
2. Grant the managed identity access to your Azure Key Vault. In your key vault -> Access policies -> Add Access Policy, search this managed identity to grant Get and List permissions in the Secret permissions dropdown. It allows this designated factory to access secret in key vault.
3. Create a linked service pointing to your Azure Key Vault. Refer to Azure Key Vault linked service.
4. Create the data store linked service. In its configuration, reference the corresponding secret stored in Azure Key Vault.


Reference:

https://github.com/Azure/get-keyvault-secrets https://learn.microsoft.com/en-us/azure/data-factory/store-credentials-in-key-vault#reference-secret-stored-in-k ey-vault



Viewing page 27 of 81
Viewing questions 131 - 135 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!