Q: 8
You have an Azure subscription.
You plan to deploy Azure App Services apps by using Azure DevOps.
You need to recommend a solution to ensure that deployed apps maintain compliance with
Microsoft cloud security benchmark (MCSB) recommendations.
What should you include in the recommendation?
Options
Discussion
Its A. I figured DevOps security in Defender for Cloud tracks compliance for apps as they’re deployed. Compliance checks seem like a thing you'd want in your deployment pipeline anyway, not just after. Is there something I'm missing with Azure Policy here?
D , since Azure Policy actually enforces those MCSB rules at the resource level no matter how you deploy. It's not just a DevOps thing-policy applies even if someone does a manual deployment. Branch policies in DevOps (C) can't guarantee compliance after deployment. Feel free to challenge if anyone sees it differently.
D
D is the move here since Azure Policy actually enforces compliance with MCSB across deployed resources, not just in the pipeline. Branch policies (C) only cover code merge, not post-deploy resource config. Pretty sure this is what Microsoft expects for ongoing enforcement but open to other thoughts if I missed something.
D
Had something like this in a mock, picked D. Azure Policy is built for enforcing compliance like MCSB after deployment, not just during CI/CD. Pretty sure that's what they're after here, unless you only care about pipeline side.
I don't think it's D. A sounds more specific to DevOps pipelines since "DevOps security in Microsoft Defender for Cloud" should give some compliance integration directly in the CI/CD process. Saw a similar question focus on Defender controls during deployment, not ongoing enforcement.
A is wrong, it's D. Official study guide and Azure sandbox labs both push Azure Policy for resource compliance, especially for MCSB. Saw similar approach in practice sets.
D
If you want the apps to meet MCSB standards automatically, that's Azure Policy (D). Other options just don't enforce compliance at deployment.
Be respectful. No spam.