Question 468 of 969
Design a strategy for data and applicationseasyMultiple SelectObjective-mapped

Quick Answer

The answer is to use Azure Key Vault references in App Service configuration and Azure Key Vault variables in Azure DevOps release pipelines. These two practices work together to secure secrets in Azure App Service DevOps pipelines by ensuring sensitive values like connection strings or API keys are never stored in source code or build artifacts. Key Vault references use the syntax @Microsoft.KeyVault(SecretUri=...) within App Service application settings, allowing the platform to resolve secrets directly from the vault at runtime, while Azure DevOps Key Vault variables fetch secrets during pipeline execution without exposing them in YAML or logs. On the Microsoft Cybersecurity Architect exam, this scenario tests your understanding of secret injection versus static configuration—a common trap is choosing “encrypted configuration files” or “environment variables in code,” which still risk exposure in the repository. Remember the mnemonic “KV-Refs at runtime, KV-Vars at build time” to distinguish the two layers of protection.

SC-100 Design a strategy for data and applications Practice Question

This SC-100 practice question tests your understanding of design a strategy for data and applications. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is designing a secure DevOps pipeline for deploying Azure App Service applications. They need to ensure that secrets are not exposed in source code. Which TWO practices should they implement?

Question 1easymulti select
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use Azure Key Vault references in App Service application settings

Option A is correct because Azure Key Vault references allow App Service to securely retrieve secrets (e.g., connection strings, API keys) at runtime without storing them in source code or configuration files. The reference syntax @Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/) is resolved by the App Service platform, ensuring secrets are never exposed in the repository or build artifacts.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use Azure Key Vault references in App Service application settings

    Why this is correct

    Secrets retrieved at runtime from Key Vault.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Implement Git pre-commit hooks to scan for secrets

    Why it's wrong here

    Not a built-in Azure solution.

  • Store secrets in Azure DevOps library variable groups

    Why it's wrong here

    Variables are not encrypted at rest.

  • Use Azure Policy to audit for secret exposure

    Why it's wrong here

    Policy does not scan code.

  • Use Azure Key Vault variables in Azure DevOps release pipelines

    Why this is correct

    Variables linked to Key Vault secrets.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse Azure DevOps library variable groups (which can be linked to Key Vault) with the direct use of Key Vault references in App Service settings, but the question specifically asks for practices that prevent secret exposure in source code, and variable groups still store the secret reference in the pipeline definition, which can be exposed in logs or YAML files.

Detailed technical explanation

How to think about this question

Azure Key Vault references work by injecting a managed identity (system-assigned or user-assigned) into the App Service, which authenticates to Key Vault via OAuth 2.0 and retrieves the secret value at runtime. The reference is stored in the app settings as a special string that the App Service runtime resolves before the application starts, ensuring the secret never appears in the deployment package or environment variables. In a real-world scenario, if a developer accidentally commits a Key Vault reference string (not the secret itself) to source code, it is safe because the reference alone cannot be used without the appropriate managed identity and access policies.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SC-100 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Design solutions that align with security best practices and priorities practice questions

Practise SC-100 questions linked to Design solutions that align with security best practices and priorities.

Design security operations, identity, and compliance capabilities practice questions

Practise SC-100 questions linked to Design security operations, identity, and compliance capabilities.

Design security solutions for infrastructure practice questions

Practise SC-100 questions linked to Design security solutions for infrastructure.

Design a Zero Trust strategy and architecture practice questions

Practise SC-100 questions linked to Design a Zero Trust strategy and architecture.

Design security solutions for applications and data practice questions

Practise SC-100 questions linked to Design security solutions for applications and data.

Evaluate GRC and security operations strategies practice questions

Practise SC-100 questions linked to Evaluate GRC and security operations strategies.

Design security for infrastructure practice questions

Practise SC-100 questions linked to Design security for infrastructure.

Design a strategy for data and applications practice questions

Practise SC-100 questions linked to Design a strategy for data and applications.

Recommend security best practices and priorities practice questions

Practise SC-100 questions linked to Recommend security best practices and priorities.

SC-100 fundamentals practice questions

Practise SC-100 questions linked to SC-100 fundamentals.

SC-100 scenario practice questions

Practise SC-100 questions linked to SC-100 scenario.

SC-100 troubleshooting practice questions

Practise SC-100 questions linked to SC-100 troubleshooting.

Practice this exam

Start a free SC-100 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SC-100 question test?

Design a strategy for data and applications — This question tests Design a strategy for data and applications — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use Azure Key Vault references in App Service application settings — Option A is correct because Azure Key Vault references allow App Service to securely retrieve secrets (e.g., connection strings, API keys) at runtime without storing them in source code or configuration files. The reference syntax @Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/) is resolved by the App Service platform, ensuring secrets are never exposed in the repository or build artifacts.

What should I do if I get this SC-100 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SC-100 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SC-100 exam.