Skip to main content

AI-200 practice question · Secure, Monitor, and Troubleshoot Azure Solutions

A team builds an AI application whose source code lives in GitHub and Azure DevOps repositories.

A team builds an AI application whose source code lives in GitHub and Azure DevOps repositories. Security staff want code, secrets, and open-source dependency vulnerabilities found before release, not just attacks detected against the running service. They also want the findings shown in one place across both platforms and correlated with the team's cloud security posture. What should the team use?

  • AConnect the repositories to DevOps security in Microsoft Defender for Cloud
  • BEnable Microsoft Defender for App Service on the hosting plan
  • CAssign Azure Policy initiatives to the production subscription
  • DTurn on Application Insights smart detection for the application
Show the answer and explanation

Correct answer: A) Connect the repositories to DevOps security in Microsoft Defender for Cloud

Secure development lifecycle practices find issues in code and dependencies before deployment. In Azure, DevOps security in Defender for Cloud brings code, secrets, and dependency scan findings from GitHub, Azure DevOps, and GitLab into one console. Runtime protection and resource-configuration tools don't provide this.

Why each option is right or wrong

  • A) Correct. DevOps security in Defender for Cloud connects Azure DevOps, GitHub, and GitLab environments. It shows findings from code, secrets, and open-source dependency scans in a central console and correlates them with other cloud security insights. This is the shift-left, secure-development-lifecycle coverage the team wants.
  • B) Incorrect. Defender for App Service detects threats against the running web app. It's runtime protection for the deployed service, so it doesn't scan repository code or open-source dependencies before release.
  • C) Incorrect. Azure Policy evaluates the configuration of deployed Azure resources for compliance. It doesn't scan source code, secrets in repositories, or third-party dependency vulnerabilities.
  • D) Incorrect. Application Insights smart detection flags anomalies in runtime telemetry, such as failure rates or performance changes. It doesn't analyze code or the dependency supply chain.
Question type
Multiple choice (one answer)

Practise the full AI-200 exam

This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.