Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Scan for secrets by using Defender Cloud Security Posture Management (Defender CSPM)

A worked example

Complete the statement

Litware connects its Azure subscriptions and an AWS account to Microsoft Defender for Cloud. Defender for Servers Plan 1 is enabled everywhere, and a contract requires the Defender for Servers plan level to stay unchanged. Developers sometimes deploy Azure Resource Manager templates and AWS CloudFormation stacks manually from their workstations with connection strings in the parameters. The security team must:

  • detect plaintext secrets on Azure VM disks;
  • detect plaintext secrets in Azure Resource Manager deployments and AWS CloudFormation stacks;
  • track the AWS deployment findings in one dedicated recommendation.

Complete the sentence to meet all the requirements.

Enable . To track secrets found in the AWS deployments, monitor the recommendation.

  • Blank 1: the Defender CSPM plan (correct answer)

    Correct: Defender CSPM provides both machine secrets scanning and cloud deployment resource scanning for Azure and AWS, and it leaves the server plan unchanged. Defender for Servers Plan 2: it would scan VM disks, but cloud deployment scanning needs Defender CSPM, and changing the server plan breaks the contract. Defender for Key Vault: it watches access to the vault, not secrets exposed in deployments or on disks. Defender for Resource Manager: the source attributes cloud deployment secrets scanning to the Defender CSPM plan, not to this plan.

  • Blank 2: AWS CloudFormation Stack should have secrets findings resolved (correct answer)

    Correct: this is the cloud deployment secrets recommendation for AWS resources. EC2 instances should have secrets findings resolved: it reports secrets on AWS machine disks, not in deployments. Azure Resource Manager deployments should have secrets findings resolved: it covers Azure deployments, not AWS. Machines should have secrets findings resolved: it reports secrets on Azure VM disks.

Why

Defender for Cloud scans cloud deployments in Azure and AWS for plaintext secrets only when the Defender CSPM plan is enabled, and the same plan also enables agentless machine secrets scanning for Azure VMs. Enabling Defender CSPM therefore meets both detection requirements without touching the Defender for Servers plan. Findings in AWS CloudFormation stacks are reported by the AWS CloudFormation Stack recommendation, separate from the Azure deployment and machine recommendations.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free