- A
Microsoft Defender for Cloud Infrastructure as Code scanning
Defender for Cloud can scan IaC templates for misconfigurations.
- B
Microsoft Purview Compliance Manager
Why wrong: Compliance Manager assesses compliance posture, not IaC scanning.
- C
Microsoft Sentinel
Why wrong: Sentinel is for monitoring and analytics, not IaC scanning.
- D
Microsoft Defender for Cloud Apps
Why wrong: Defender for Cloud Apps is for cloud app security, not IaC scanning.
Quick Answer
The answer is Microsoft Defender for Cloud Infrastructure as Code scanning. This is the correct choice because it provides native, pre-deployment security analysis of IaC templates like ARM, Bicef, Terraform, and CloudFormation directly within GitHub Actions, automatically failing the pipeline on critical misconfigurations to enforce secure infrastructure before it reaches production. On the Microsoft Cybersecurity Architect exam, this scenario tests your understanding of shifting security left in a DevOps pipeline, often appearing as a distractor against third-party tools like Bridgecrew or Checkov—remember that Defender for Cloud’s IaC scanning is a built-in, first-party solution that requires no additional licensing beyond Defender for Cloud. A common trap is assuming you need a separate scanning tool or that Azure Policy alone handles this, but the key is that IaC scanning operates at the template level during the CI/CD pipeline, not after deployment. Memory tip: think “IaC in the CI” to recall that Defender for Cloud scans infrastructure code inside the continuous integration process.
SC-100 Practice Question: Design solutions that align with security best practices and priorities
This SC-100 practice question tests your understanding of design solutions that align with security best practices and priorities. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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 needs to design a secure DevOps pipeline using GitHub Actions and Microsoft Defender for Cloud. They want to scan infrastructure-as-code (IaC) templates for misconfigurations before deployment. What should they integrate?
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
Microsoft Defender for Cloud Infrastructure as Code scanning
Microsoft Defender for Cloud includes a native Infrastructure as Code (IaC) scanning capability that integrates directly with GitHub Actions. This feature automatically analyzes IaC templates (such as ARM, Bicep, Terraform, and CloudFormation) for security misconfigurations during the CI/CD pipeline, providing pre-deployment guardrails. By failing the pipeline on critical findings, it ensures only compliant infrastructure is deployed, aligning with the secure DevOps principle of shifting security left.
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.
- ✓
Microsoft Defender for Cloud Infrastructure as Code scanning
Why this is correct
Defender for Cloud can scan IaC templates for misconfigurations.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Microsoft Purview Compliance Manager
Why it's wrong here
Compliance Manager assesses compliance posture, not IaC scanning.
- ✗
Microsoft Sentinel
Why it's wrong here
Sentinel is for monitoring and analytics, not IaC scanning.
- ✗
Microsoft Defender for Cloud Apps
Why it's wrong here
Defender for Cloud Apps is for cloud app security, not IaC scanning.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse Microsoft Defender for Cloud's IaC scanning with Microsoft Sentinel's threat detection capabilities, mistakenly thinking Sentinel can scan code before deployment, when in fact Sentinel only analyzes logs and alerts from already-deployed resources.
Detailed technical explanation
How to think about this question
Under the hood, Microsoft Defender for Cloud's IaC scanning uses the same policy engine as Azure Policy's Guest Configuration and Azure Resource Manager template analysis, evaluating templates against built-in security benchmarks like the Azure Security Benchmark (ASB). In a real-world scenario, a Terraform template defining an Azure Storage Account with 'allowBlobPublicAccess' set to true would be flagged by the scanner, causing the GitHub Actions workflow to fail before the resource is provisioned, preventing a public blob storage misconfiguration. The integration uses a GitHub Action (like 'microsoft/security-devops-action') that runs the scanner as a step in the pipeline, outputting results as SARIF files for review.
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.
- →
Design solutions that align with security best practices and priorities — study guide chapter
Learn the concepts, then practise the questions
- →
Design solutions that align with security best practices and priorities practice questions
Targeted practice on this topic area only
- →
All SC-100 questions
969 questions across all exam domains
- →
Microsoft Cybersecurity Architect study guide
Full concept coverage aligned to exam objectives
- →
SC-100 practice test guide
How to use practice tests most effectively before exam day
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 solutions that align with security best practices and priorities — This question tests Design solutions that align with security best practices and priorities — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Microsoft Defender for Cloud Infrastructure as Code scanning — Microsoft Defender for Cloud includes a native Infrastructure as Code (IaC) scanning capability that integrates directly with GitHub Actions. This feature automatically analyzes IaC templates (such as ARM, Bicep, Terraform, and CloudFormation) for security misconfigurations during the CI/CD pipeline, providing pre-deployment guardrails. By failing the pipeline on critical findings, it ensures only compliant infrastructure is deployed, aligning with the secure DevOps principle of shifting security left.
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 →
Last reviewed: Jun 24, 2026
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.
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.
Sign in to join the discussion.