exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 4 question 20 discussion

Actual exam question from Microsoft's AZ-400
Question #: 20
Topic #: 4
[All AZ-400 Questions]

You have an Azure DevOps organization named Contoso that contains a project named Project1.
You provision an Azure key vault named Keyvault1.
You need to reference Keyvault1 secrets in a build pipeline of Project1.
What should you do first?

  • A. Add a secure file to Project1.
  • B. Create an XAML build service.
  • C. Create a variable group in Project1.
  • D. Configure the security policy of Contoso.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Hooters
Highly Voted 4 years, 7 months ago
C. Create a variable group in Project1.
upvoted 77 times
Tyler2023
1 year, 9 months ago
Agree, you need to create a variable group in Project1 -> Pipelines -> Library -> Click + Variable group -> Enable the "Link secrets from an Azure key vault as variables"
upvoted 4 times
...
...
yhredil
Highly Voted 4 years, 6 months ago
C - is the right one https://docs.microsoft.com/en-us/azure/devops/pipelines/library/variable-groups?view=azure-devops&tabs=yaml#link-secrets-from-an-azure-key-vault
upvoted 12 times
...
GPRai
Most Recent 11 months, 2 weeks ago
C. Create a variable group in Project1.
upvoted 1 times
...
de89f6b
1 year ago
Selected Answer: C
C. Create a variable group
upvoted 1 times
...
FeriAZ
1 year, 3 months ago
Variable groups are specifically designed to store and manage sensitive information like Key Vault secrets within Azure DevOps. They offer several advantages: Centralized management: You can store and manage all your secrets in one place, making them easy to access and update across different pipelines within the project. Security: Variable groups offer security features like access control, which allows you to control who can access and modify the stored secrets. Integration with pipelines: You can easily reference secrets stored in variable groups within your build pipelines using dedicated tasks.
upvoted 1 times
...
ozbonny
1 year, 3 months ago
in the question says you provision an azure key vault and it means all needed configurations were applied to it. so according with this lab the most accurate answer is C. Create a variable group in Project1 https://microsoftlearning.github.io/AZ400-DesigningandImplementingMicrosoftDevOpsSolutions/Instructions/Labs/AZ400_M05_L10_Integrating_Azure_Key_Vault_with_Azure_DevOps.html
upvoted 1 times
...
vsvaid
1 year, 5 months ago
Selected Answer: C
Agree with selected answer
upvoted 1 times
...
renzoku
1 year, 10 months ago
Selected Answer: C
C. Create a variable group in Project1. To reference Keyvault1 secrets in a build pipeline, you need to create a variablegroup. Azure DevOps variable groups can link to Azure Key Vault.
upvoted 1 times
...
318touring
2 years, 1 month ago
Selected Answer: C
As others have said, link secrets from KV
upvoted 1 times
...
mohiniu
2 years, 3 months ago
Selected Answer: C
Create a variable group in Project1 . Creating variable group is current. We need no do change anything at organisation contoso level
upvoted 1 times
...
surensaluka
2 years, 4 months ago
Selected Answer: C
https://www.examtopics.com/exams/microsoft/az-400/view/12/ Q23 also says the variable group is the answer.
upvoted 1 times
...
bellorg
2 years, 4 months ago
C. Create a variable group in Project1
upvoted 1 times
...
Rachid
2 years, 6 months ago
C I just check : Security policies ib organization settings cannot solve KV access.
upvoted 2 times
...
Rachid
2 years, 6 months ago
D It Says wht you do FIRST without givind access to List KV secret to SP of Devops , you wont be able to read an set a variable
upvoted 1 times
joshfry
2 years, 5 months ago
As Contoso is the Azure DevOps instance, and not the Key Vault.
upvoted 1 times
...
...
meoukg
2 years, 7 months ago
I chose C when I sat on this exam, and I passed :)
upvoted 2 times
...
DParekh
2 years, 8 months ago
C is correct answer. Why D is not correct? To access AKV from build pipeline, we have to define access policy at Azure Key Vault level. D is saying configure security policy of Contoso project which is not correct.
upvoted 2 times
...
syu31svc
2 years, 10 months ago
Selected Answer: C
Answer is C https://docs.microsoft.com/en-us/azure/devops/pipelines/library/variable-groups?view=azure-devops&tabs=yaml "Variable groups store values and secrets that you might want to be passed into a YAML pipeline or make available across multiple pipelines. You can share and use variable groups in multiple pipelines in the same project." "Link an existing Azure key vault to a variable group and map selective vault secrets to the variable group."
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...