Practice Test 4 | Designing And Implementing Microsoft DevOps Solutions | AZ-400 | Dumps | Mock Test
View Case Study
You need to define a secret in the release pipeline. The secret can only be used in the “Release” stage of the pipeline. How would you ensure that the secret is only defined for the “Release stage”?
A. Add a trigger for the Release stage only.
B. Add a scope for the variable.
C. Add a tag for the variable.
D. Add it as an option for the Release stage only.
Answer – B
You can define a scope for the variable, as shown below.
Since this is clear from the implementation, all other options are incorrect.
For more information on variables in Azure pipelines, please visit the following URL-
Comments are closed, but trackbacks and pingbacks are open.