Microsoft AZ-500 (Microsoft Azure Security Technologies) Practice Test 58

Question 570

A cloud platform team is implementing a change to bring eligible existing noncompliant resources into alignment with a DeployIfNotExists or Modify policy. What Azure Policy remediation mechanism should it configure?

  1. Assignment managed identity
  2. Policy assignment parameter update
  3. Remediation task
  4. Compliance scan

Explanation

Correct Answer

C:

By design it runs the correction defined by the assigned policy for selected resources; this is what enables administrators to bring eligible existing noncompliant resources into alignment with a DeployIfNotExists or Modify policy. The correct identity and permissions are necessary.

Incorrect Answers

A:

The feature provides an Azure principal to run supported policy-managed changes. It would be appropriate to authorize Azure Policy to deploy or modify resources while carrying out remediation; this scenario instead needs to bring eligible existing noncompliant resources into alignment with a DeployIfNotExists or Modify policy. The identity must receive the required Azure roles.

B:

The feature updates evaluation criteria for the existing assignment. It would be appropriate to change the allowed values a previously assigned policy uses at its scope; this scenario instead needs to bring eligible existing noncompliant resources into alignment with a DeployIfNotExists or Modify policy. This changes requirements rather than modifying every resource immediately.

D:

It requests policy compliance evaluation against current resource states, which can enable operators to re-evaluate a resource collection and update policy compliance findings after configuration changes. That is not the intended way to bring eligible existing noncompliant resources into alignment with a DeployIfNotExists or Modify policy. It does not itself repair every noncompliant resource.

Question 571

An Azure security engineer must decide how to onboard Amazon Web Services accounts for security posture visibility in Defender for Cloud. Which AWS multicloud onboarding component is designed for that job?

  1. AWS permission diagnostics
  2. AWS organization onboarding
  3. AWS CloudFormation deployment
  4. AWS connector

Explanation

Correct Answer

D:

It establishes a supported multicloud connection to AWS account structures. For the defined security outcome, the team needs to onboard Amazon Web Services accounts for security posture visibility in Defender for Cloud. Underlying AWS permissions and configuration are required.

Incorrect Answers

A:

It checks the AWS-side authorizations required for the chosen Defender features. This helps when a team needs to investigate why Defender cannot assess an AWS account after connector setup, but the requirement here is to onboard Amazon Web Services accounts for security posture visibility in Defender for Cloud. The Azure subscription Owner role alone does not grant AWS access.

B:

The mechanism uses supported organization-level connector scope and account discovery. That solves the different need to extend security visibility across governed AWS accounts instead of connecting each manually, not the need to onboard Amazon Web Services accounts for security posture visibility in Defender for Cloud. Account coverage depends on the organization and connector settings.

C:

The feature provisions connector-related resources through the AWS deployment process. It would be appropriate to create required resources or roles for an AWS Defender connector using an approved infrastructure template; this scenario instead needs to onboard Amazon Web Services accounts for security posture visibility in Defender for Cloud. Resource permissions must match the selected features.

Question 572

A workload owner needs to determine which administrator changed a storage firewall setting at the resource management plane while keeping unrelated functionality unchanged. Which storage monitoring signal is the best fit?

  1. Storage metrics
  2. Azure Activity Log
  3. Storage diagnostic logs
  4. Anomalous storage access detection

Explanation

Correct Answer

B:

In this case it records subscription management-plane events including updates to resource settings, allowing the team to determine which administrator changed a storage firewall setting at the resource management plane. It is not the exhaustive log of blob downloads.

Incorrect Answers

A:

This alternative provides performance and operational counters on storage requests. Its purpose is to investigate spikes in transaction count and request latency for a storage service, rather than to determine which administrator changed a storage firewall setting at the resource management plane. Metrics without logs usually cannot identify a specific caller.

C:

It exports supported storage service request logs through diagnostic settings. A situation requiring administrators to investigate data-plane read and write operations performed against a storage account would benefit, while this case asks to determine which administrator changed a storage firewall setting at the resource management plane. Azure Activity Log records management actions rather than every blob request.

D:

It uses supported behavioral threat detections for storage operations. A situation requiring administrators to detect suspicious patterns such as unexpected blob access from unusual sources would benefit, while this case asks to determine which administrator changed a storage firewall setting at the resource management plane. Raw storage throughput charts do not classify anomalous intent.

Question 573

A cloud administrator is evaluating how to allow cluster nodes to fetch images from a private registry using an authorized identity. Which AKS image supply-chain control provides the intended mechanism?

  1. Signed image verification
  2. Private ACR image pull
  3. Image vulnerability scanning
  4. Run as non-root

Explanation

Correct Answer

B:

By design it uses registry access integration for authenticated pulls; this is what enables administrators to allow cluster nodes to fetch images from a private registry using an authorized identity. A public anonymous registry endpoint is unnecessary.

Incorrect Answers

A:

It validates integrity and provenance using configured signature verification controls, which can enable operators to reject container artifacts whose signatures fail an approved publisher-trust policy. That is not the intended way to allow cluster nodes to fetch images from a private registry using an authorized identity. Enforcement requires tooling or an admission policy.

C:

The setting analyzes image components against known vulnerability findings; it is useful if the objective is to find known vulnerable operating-system packages in images before deployment. This task instead requires the team to allow cluster nodes to fetch images from a private registry using an authorized identity. Scanning alone does not block deployment automatically.

D:

This choice reduces exposure from running workloads as root inside a container. Its proper role is to require container processes to run under a nonzero user identity when compatible with the image. In the question, the goal is to allow cluster nodes to fetch images from a private registry using an authorized identity. Host kernel isolation and file permissions still matter.

Question 574

A new cloud security procedure is designed to make a configured legal retention period resistant to ordinary administrative shortening or removal. Which immutable data protection is most aligned with the procedure?

  1. Blob versioning
  2. Legal hold
  3. Locked immutability policy
  4. Time-based retention policy

Explanation

Correct Answer

C:

In this case it locks eligible time-based retention settings against reduction, allowing the team to make a configured legal retention period resistant to ordinary administrative shortening or removal. Careful testing is essential before locking.

Incorrect Answers

A:

By itself it records prior committed versions as writes occur. That is relevant for an intention to retrieve a previous content version after an authorized overwrite, not the separate decision to make a configured legal retention period resistant to ordinary administrative shortening or removal. It does not independently prevent malicious content writes.

B:

The mechanism places a hold on objects without a predetermined expiration date. That solves the different need to retain selected records indefinitely until an authorized operator releases a named hold, not the need to make a configured legal retention period resistant to ordinary administrative shortening or removal. It is distinct from a fixed time-based retention clock.

D:

It enforces WORM behavior for eligible blob data through a retention period. That controls the ability to prevent premature change or deletion of regulated objects until a specified retention interval completes; the described requirement is to make a configured legal retention period resistant to ordinary administrative shortening or removal. Policy mutability depends on whether it has been locked.

Question 575

A threat-hunting rule should compare new sign-ins with a maintained CSV list of privileged accounts and attach the matching account identities to the resulting Sentinel alert. Which TWO Sentinel features support those separate tasks? Choose TWO.

  1. UEBA insights
  2. Incident comments
  3. Entity mapping
  4. Watchlist

Explanation

Correct Answers

C:

The relevant behavior is that it binds query results to recognized incident investigation entities. That meets the need to attach account host and IP entities to a scheduled analytics rule's generated alerts. It improves investigation rather than changing raw events. The other keyed control separately covers the need to enrich sign-in analysis with an approved CSV list of high-value corporate accounts.

D:

By design it makes a reference dataset available for Sentinel KQL queries; this is what enables administrators to enrich sign-in analysis with an approved CSV list of high-value corporate accounts. It does not automatically block those accounts. The other keyed control separately covers the need to attach account host and IP entities to a scheduled analytics rule's generated alerts.

Incorrect Answers

A:

The setting provides user and entity behavior analytics where enabled; it is useful if the objective is to detect unusual behavior by comparing entity activity against learned baselines and peer behavior; this task instead requires the team to attach account host and IP entities to a scheduled analytics rule's generated alerts and enrich sign-in analysis with an approved CSV list of high-value corporate accounts. A static IP allowlist cannot perform equivalent behavioral analysis.

B:

This alternative preserves collaboration context during incident handling. Its purpose is to capture analyst decisions and supporting reasoning in a specific security case record, rather than to attach account host and IP entities to a scheduled analytics rule's generated alerts and enrich sign-in analysis with an approved CSV list of high-value corporate accounts. Comments are not a replacement for automated evidence ingestion.

Question 576

The infrastructure team is planning how to enforce compatible cryptographic parameters for a site-to-site gateway tunnel. What VPN security element is the appropriate choice?

  1. VPN gateway diagnostic logs
  2. IPsec/IKE policy
  3. VPN gateway certificate authentication
  4. Microsoft Entra P2S authentication

Explanation

Correct Answer

B:

It controls negotiated encryption integrity and key-exchange parameters; this meets the stated objective to enforce compatible cryptographic parameters for a site-to-site gateway tunnel. Mismatched settings can prevent tunnel establishment.

Incorrect Answers

A:

This control records gateway operational events and errors for investigation. That would fit a case asking to analyze repeated tunnel negotiation failures and connection state changes. Here the team must enforce compatible cryptographic parameters for a site-to-site gateway tunnel. NSG flow inspection alone cannot explain an IKE handshake failure.

C:

It validates client credentials against a trusted certificate configuration. This helps when a team needs to authenticate point-to-site clients using approved certificate material, but the requirement here is to enforce compatible cryptographic parameters for a site-to-site gateway tunnel. It is not the same as authorizing an Azure RBAC principal.

D:

The mechanism uses an identity-based VPN client authentication flow with supported gateway settings. That solves the different need to authenticate supported remote VPN users through Entra identities and tenant controls, not the need to enforce compatible cryptographic parameters for a site-to-site gateway tunnel. VPN routing and client configuration are still needed.

Question 577

During an Azure hardening review, the team must find app registrations that rely on long-lived secrets and plan rotation. What identity security exposure should it select?

  1. Service principal ownership review
  2. Credential inventory
  3. Application permission
  4. Publisher verification

Explanation

Correct Answer

B:

Under the chosen configuration, it identifies service-principal credential types and expiration risks. That serves the request to find app registrations that rely on long-lived secrets and plan rotation. Access reviews alone do not expose secret rotation state.

Incorrect Answers

A:

This choice uses identity-governance review of app owners and enterprise principals. Its proper role is to ensure a highly privileged non-human application still has accountable owners. In the question, the goal is to find app registrations that rely on long-lived secrets and plan rotation. Resource tagging cannot substitute for principal accountability.

C:

By itself it grants app-only API privileges to the client service principal. That is relevant for an intention to allow a background daemon to access an API without a signed-in human, not the separate decision to find app registrations that rely on long-lived secrets and plan rotation. Administrative consent is commonly required for powerful permissions.

D:

It adds a verified publisher signal to supported application consent experiences, which can enable operators to help tenant users recognize a multi-tenant app from a verified publisher during consent. That is not the intended way to find app registrations that rely on long-lived secrets and plan rotation. Verification is not blanket permission approval.

Question 578

A security engineer needs to allow a background daemon to access an API without a signed-in human. Which OAuth authorization grant best addresses the requirement?

  1. Application permission
  2. Admin consent
  3. Delegated permission
  4. OAuth delegated scope grant

Explanation

Correct Answer

A:

It grants app-only API privileges to the client service principal; this meets the stated objective to allow a background daemon to access an API without a signed-in human. Administrative consent is commonly required for powerful permissions.

Incorrect Answers

B:

It permits a tenant administrator to consent on behalf of users when appropriate. This helps when a team needs to authorize tenant-wide use of sensitive API permission grants after a privileged review, but the requirement here is to allow a background daemon to access an API without a signed-in human. Consent alone does not assign Azure resource roles.

C:

It authorizes API access in a user context after appropriate consent. A situation requiring administrators to let an interactive app call an API with permissions constrained by a signed-in user would benefit, while this case asks to allow a background daemon to access an API without a signed-in human. The user's applicable access remains relevant.

D:

It records consent for scopes in a delegated authentication flow; this addresses a goal to permit a user-facing client to call a custom API within approved user-context permissions. The expected outcome in the question is to allow a background daemon to access an API without a signed-in human. It does not create app-only privileges for a daemon.

Question 579

An administrator is responsible for a configuration that will allow a travelling administrator's client device to reach an Azure virtual network through an encrypted tunnel. Which virtual-network connectivity approach is most appropriate?

  1. Point-to-site VPN
  2. IPsec/IKE policy
  3. VNet peering
  4. ExpressRoute circuit

Explanation

Correct Answer

A:

Under the chosen configuration, it connects an individual client machine to a VPN gateway. That serves the request to allow a travelling administrator's client device to reach an Azure virtual network through an encrypted tunnel. It is distinct from joining two whole networks.

Incorrect Answers

B:

It controls negotiated encryption integrity and key-exchange parameters; this addresses a goal to enforce compatible cryptographic parameters for a site-to-site gateway tunnel. The expected outcome in the question is to allow a travelling administrator's client device to reach an Azure virtual network through an encrypted tunnel. Mismatched settings can prevent tunnel establishment.

C:

It establishes private network connectivity between peer virtual networks, which can enable operators to connect two Azure virtual networks privately over Microsoft's backbone without creating a VPN gateway. That is not the intended way to allow a travelling administrator's client device to reach an Azure virtual network through an encrypted tunnel. Peering is not automatically transitive.

D:

This choice establishes private connectivity through an ExpressRoute service provider. Its proper role is to obtain dedicated private network connectivity from an enterprise through a connectivity provider. In the question, the goal is to allow a travelling administrator's client device to reach an Azure virtual network through an encrypted tunnel. Traffic encryption must be designed separately when required.

Question 580

A cloud administrator is evaluating how to trust a designated cluster service-account identity for an Azure workload principal. Which AKS workload identity component provides the intended mechanism?

  1. Azure workload identity client ID annotation
  2. AKS OIDC issuer
  3. Federated identity credential
  4. Kubernetes NetworkPolicy

Explanation

Correct Answer

C:

This feature maps issuer subject and audience claims to the trusted Entra identity; the result supports the task to trust a designated cluster service-account identity for an Azure workload principal. A mismatched subject prevents the expected token exchange.

Incorrect Answers

A:

It binds the intended Azure client identifier to Kubernetes service-account metadata; this addresses a goal to tell a supported service account which Azure workload client identity to use. The expected outcome in the question is to trust a designated cluster service-account identity for an Azure workload principal. The identity still needs authorizations on target services.

B:

It exposes signed service-account token issuer metadata for federation. This helps when a team needs to make Kubernetes service-account tokens verifiable by external identity providers, but the requirement here is to trust a designated cluster service-account identity for an Azure workload principal. Issuer enablement alone does not grant Key Vault access.

D:

In normal use it enforces supported pod-level network communication rules with a compatible dataplane. That helps to deny direct pod-to-pod traffic except explicitly authorized namespace and port flows, whereas the request is to trust a designated cluster service-account identity for an Azure workload principal. A subnet NSG does not express Kubernetes pod labels.

Microsoft Azure Security Technologies (AZ-500) Practice Tests