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

Question 220

A security team has been asked to preserve a suspicious group of query results for later investigation and incident enrichment. Which Sentinel threat hunting approach directly supports this requirement?

  1. Near-real-time analytics rule
  2. Threat intelligence indicator
  3. Bookmark
  4. MITRE ATT&CK mapping

Explanation

Correct Answer

C:

The relevant behavior is that it saves selected evidence from security hunting. That meets the need to preserve a suspicious group of query results for later investigation and incident enrichment. It is an investigation artifact rather than a firewall block.

Incorrect Answers

A:

This alternative runs NRT detection logic with constrained timing and query support. Its purpose is to alert quickly on supported log-query patterns using a short recurring evaluation interval, rather than to preserve a suspicious group of query results for later investigation and incident enrichment. It is not equivalent to a scheduled long-lookback search.

B:

This choice supplies structured indicators of compromise for investigation or analytic matching. Its proper role is to match observed logs against known malicious IPs domains or file hashes. In the question, the goal is to preserve a suspicious group of query results for later investigation and incident enrichment. Indicators can expire or become stale.

D:

In normal use it classifies detection logic under recognized attack behaviors. That helps to organize analytic detections by adversary tactics and techniques for coverage review, whereas the request is to preserve a suspicious group of query results for later investigation and incident enrichment. The taxonomy does not itself ingest telemetry.

Question 221

In a production security design, the requirement is to supply a workload's sensitive connection string through a secret binding instead of plain configuration text. Which Azure Container Apps protection most precisely meets it?

  1. Container Apps secret reference
  2. Container Apps log collection
  3. Container Apps managed identity
  4. ACI secure environment variable

Explanation

Correct Answer

A:

It stores secret values and references them from application configuration. This directly supports the requirement to supply a workload's sensitive connection string through a secret binding instead of plain configuration text. Secret rotation and access control remain operational tasks.

Incorrect Answers

B:

The setting collects console and system log records through supported observability integration; it is useful if the objective is to investigate application errors and environment-level system events in a configured monitoring destination. This task instead requires the team to supply a workload's sensitive connection string through a secret binding instead of plain configuration text. Collecting logs does not enforce application authorization.

C:

It provides an Azure-managed service identity to the container app; this addresses a goal to let a container app read Azure service secrets without embedding service credentials. The expected outcome in the question is to supply a workload's sensitive connection string through a secret binding instead of plain configuration text. The data service still needs appropriate role permissions.

D:

It marks an environment variable as secure within the container group definition, which can enable operators to pass a sensitive container configuration value without displaying it as a normal environment variable in management output. That is not the intended way to supply a workload's sensitive connection string through a secret binding instead of plain configuration text. Application logging can still leak secrets if coded poorly.

Question 222

A cloud administrator is evaluating how to give a hosted build runner on an Azure VM access without manually configured client credentials. Which identity in deployment pipelines provides the intended mechanism?

  1. Kubernetes service account
  2. Azure DevOps workload identity federation
  3. GitHub Actions OIDC federation
  4. VM system-assigned managed identity

Explanation

Correct Answer

D:

Under the chosen configuration, it uses the VM's platform-managed principal for token issuance. That serves the request to give a hosted build runner on an Azure VM access without manually configured client credentials. It depends on the executing workload actually running on that Azure VM.

Incorrect Answers

A:

This alternative provides the Kubernetes identity used by the running workload. Its purpose is to associate a pod workload with the namespace-scoped identity named in its workload federation, rather than to give a hosted build runner on an Azure VM access without manually configured client credentials. Using the default account can violate least privilege.

B:

It trusts a pipeline-provided token for an Entra identity exchange. This helps when a team needs to connect a service connection to Azure without storing a service-principal secret, but the requirement here is to give a hosted build runner on an Azure VM access without manually configured client credentials. Federation subject and issuer configuration must be correct.

C:

The setting establishes federated trust with GitHub's workload token issuer; it is useful if the objective is to let a GitHub workflow authenticate to Azure using short-lived identity tokens. This task instead requires the team to give a hosted build runner on an Azure VM access without manually configured client credentials. Storing long-lived Azure client secrets is avoidable.

Question 223

A security engineer needs to identify a chain of misconfigurations that could allow an attacker to reach a sensitive cloud target. Which attack-path analysis feature best addresses the requirement?

  1. Privilege escalation relationship
  2. Choke point asset
  3. Internet exposure edge
  4. Attack path analysis

Explanation

Correct Answer

D:

The mechanism correlates exposure and privilege relationships into an exploitable path, which addresses the specific need to identify a chain of misconfigurations that could allow an attacker to reach a sensitive cloud target. Isolated severity scores may miss chained risk.

Incorrect Answers

A:

In normal use it represents identity privileges contributing to an attack route. That helps to investigate how an overly broad role assignment enables movement toward a critical resource, whereas the request is to identify a chain of misconfigurations that could allow an attacker to reach a sensitive cloud target. Network connectivity alone does not imply authorization.

B:

It highlights an asset whose remediation may disrupt multiple compromise routes. That controls the ability to prioritize a cloud resource that repeatedly appears on several dangerous attack paths; the described requirement is to identify a chain of misconfigurations that could allow an attacker to reach a sensitive cloud target. Its importance comes from relationship context.

C:

This choice links external accessibility into assessed attack-path context. Its proper role is to identify how publicly reachable compute expands a sensitive workload's reachable attack surface. In the question, the goal is to identify a chain of misconfigurations that could allow an attacker to reach a sensitive cloud target. Public exposure by itself is not proof of compromise.

Question 224

Azure administrators are planning to make Kubernetes service-account tokens verifiable by external identity providers. Which AKS workload identity component should they implement?

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

Explanation

Correct Answer

B:

It exposes signed service-account token issuer metadata for federation. For the defined security outcome, the team needs to make Kubernetes service-account tokens verifiable by external identity providers. Issuer enablement alone does not grant Key Vault access.

Incorrect Answers

A:

By itself it binds the intended Azure client identifier to Kubernetes service-account metadata. That is relevant for an intention to tell a supported service account which Azure workload client identity to use, not the separate decision to make Kubernetes service-account tokens verifiable by external identity providers. The identity still needs authorizations on target services.

C:

It maps issuer subject and audience claims to the trusted Entra identity. A situation requiring administrators to trust a designated cluster service-account identity for an Azure workload principal would benefit, while this case asks to make Kubernetes service-account tokens verifiable by external identity providers. A mismatched subject prevents the expected token exchange.

D:

By itself it provides the Kubernetes identity used by the running workload. That is relevant for an intention to associate a pod workload with the namespace-scoped identity named in its workload federation, not the separate decision to make Kubernetes service-account tokens verifiable by external identity providers. Using the default account can violate least privilege.

Question 225

A cloud administrator is evaluating how to let a trusted Azure workload access the instance over its network-local private address. Which SQL Managed Instance network safeguard provides the intended mechanism?

  1. Dedicated SQL MI subnet
  2. SQL MI private VNet access
  3. Azure SQL Database virtual network rule
  4. SQL MI route table validation

Explanation

Correct Answer

B:

Under the chosen configuration, it uses the instance's VNet-connected access path for clients. That serves the request to let a trusted Azure workload access the instance over its network-local private address. A separate Azure SQL logical server private endpoint is not the same design.

Incorrect Answers

A:

The mechanism hosts the managed instance's service-managed infrastructure in a compatible delegated subnet. That solves the different need to place Azure SQL Managed Instance in its required delegated network segment, not the need to let a trusted Azure workload access the instance over its network-local private address. A shared application subnet is not the intended deployment target.

C:

The setting allows selected virtual-network subnets through a supported Azure SQL server firewall; it is useful if the objective is to permit a service-endpoint-enabled subnet to access an Azure SQL logical server. This task instead requires the team to let a trusted Azure workload access the instance over its network-local private address. This is not the private VNet-local connection model of the managed instance.

D:

It coordinates user-defined routing with mandated service paths, which can enable operators to ensure custom routes do not break required managed-instance platform dependencies. That is not the intended way to let a trusted Azure workload access the instance over its network-local private address. Forcing every service-management flow through an incompatible appliance can cause failures.

Question 226

A security engineer needs to allow an application to reach a logical Azure SQL server over a private address rather than an Internet-facing endpoint. Which private SQL access pattern best addresses the requirement?

  1. SQL private DNS zone
  2. SQL firewall virtual-network rule
  3. Azure SQL private endpoint
  4. Disable public network access for SQL

Explanation

Correct Answer

C:

It connects the service to a private IP in a consumer VNet. That is the relevant Azure behavior for a plan to allow an application to reach a logical Azure SQL server over a private address rather than an Internet-facing endpoint. Private DNS configuration is critical to hostname resolution.

Incorrect Answers

A:

This alternative provides DNS records in the expected privatelink database namespace. Its purpose is to resolve private-link SQL hostnames to a private endpoint address for linked networks, rather than to allow an application to reach a logical Azure SQL server over a private address rather than an Internet-facing endpoint. The zone is not itself a database authentication mechanism.

B:

In normal use it controls service-endpoint-based source access to SQL. That helps to authorize a service-endpoint-enabled subnet for the Azure SQL logical server's public endpoint, whereas the request is to allow an application to reach a logical Azure SQL server over a private address rather than an Internet-facing endpoint. It does not allocate an Azure SQL private endpoint interface.

D:

The mechanism enforces a network-reachability restriction on the public endpoint. That solves the different need to prevent use of the Azure SQL logical server's public network endpoint, not the need to allow an application to reach a logical Azure SQL server over a private address rather than an Internet-facing endpoint. A private access path must exist for clients to connect.

Question 227

A cloud administrator is evaluating how to encrypt traffic between an on-premises gateway and an Azure virtual-network gateway across the Internet. Which virtual-network connectivity approach provides the intended mechanism?

  1. Site-to-site VPN
  2. ExpressRoute private peering
  3. VNet peering
  4. Point-to-site VPN

Explanation

Correct Answer

A:

It uses IPsec/IKE tunnels between network endpoints. This directly supports the requirement to encrypt traffic between an on-premises gateway and an Azure virtual-network gateway across the Internet. Both ends require compatible gateway configuration.

Incorrect Answers

B:

The feature advertises routes for private Azure connectivity through BGP. It would be appropriate to reach private Azure virtual-network addresses over the enterprise circuit; this scenario instead needs to encrypt traffic between an on-premises gateway and an Azure virtual-network gateway across the Internet. Private peering does not automatically imply encryption.

C:

The option establishes private network connectivity between peer virtual networks. It addresses how to connect two Azure virtual networks privately over Microsoft's backbone without creating a VPN gateway, rather than the specified outcome to encrypt traffic between an on-premises gateway and an Azure virtual-network gateway across the Internet. Peering is not automatically transitive.

D:

This control connects an individual client machine to a VPN gateway. That would fit a case asking to allow a travelling administrator's client device to reach an Azure virtual network through an encrypted tunnel; here the team must encrypt traffic between an on-premises gateway and an Azure virtual-network gateway across the Internet. It is distinct from joining two whole networks.

Question 228

During a migration to a more controlled Azure environment, the goal is to replace an HTTPS server certificate before its validity period ends without extended outage. Choose the correct TLS boundary decision.

  1. APIM client certificate authentication
  2. Certificate chain trust
  3. Certificate rotation
  4. TLS protocol floor

Explanation

Correct Answer

C:

It updates certificate bindings or managed certificate lifecycle before expiry. For the defined security outcome, the team needs to replace an HTTPS server certificate before its validity period ends without extended outage. An expired certificate cannot be fixed by network routing changes.

Incorrect Answers

A:

It allows gateway policies to inspect and validate client certificate information, which can enable operators to require partner clients to present trusted certificates to the API gateway. That is not the intended way to replace an HTTPS server certificate before its validity period ends without extended outage. A server TLS certificate alone authenticates only the server.

B:

This choice requires a server certificate chain to a client-trusted authority. Its proper role is to resolve a client's TLS refusal of a gateway whose server certificate is signed by an untrusted authority. In the question, the goal is to replace an HTTPS server certificate before its validity period ends without extended outage. Protocol cipher negotiation is a separate TLS consideration.

D:

The mechanism configures a minimum supported TLS protocol version. That solves the different need to meet a mandate to reject TLS 1.0 even when the server presents a valid certificate, not the need to replace an HTTPS server certificate before its validity period ends without extended outage. Certificate validity alone cannot control the version.

Question 229

A security engineer needs to retain selected records indefinitely until an authorized operator releases a named hold. Which immutable data protection best addresses the requirement?

  1. Time-based retention policy
  2. Container soft delete
  3. Legal hold
  4. Locked immutability policy

Explanation

Correct Answer

C:

It places a hold on objects without a predetermined expiration date. That is a match for the precise goal to retain selected records indefinitely until an authorized operator releases a named hold. It is distinct from a fixed time-based retention clock.

Incorrect Answers

A:

It enforces WORM behavior for eligible blob data through a retention period; this addresses a goal to prevent premature change or deletion of regulated objects until a specified retention interval completes. The expected outcome in the question is to retain selected records indefinitely until an authorized operator releases a named hold. Policy mutability depends on whether it has been locked.

B:

This control retains deleted container metadata and contents for supported undelete. That would fit a case asking to restore an entire deleted blob container while it remains within configured retention. Here the team must retain selected records indefinitely until an authorized operator releases a named hold. Individual blob versioning is not the same protection.

D:

This alternative locks eligible time-based retention settings against reduction. Its purpose is to make a configured legal retention period resistant to ordinary administrative shortening or removal, rather than to retain selected records indefinitely until an authorized operator releases a named hold. Careful testing is essential before locking.

Question 230

The compliance team requires administrators to prevent booting a modified or unsigned boot component on a compatible Azure VM. Which VM host protection feature accomplishes the intended change?

  1. Confidential VM
  2. Integrity monitoring
  3. Trusted launch secure boot
  4. Virtual TPM

Explanation

Correct Answer

C:

In this case it uses Secure Boot in a trusted-launch capable virtual machine, allowing the team to prevent booting a modified or unsigned boot component on a compatible Azure VM. The underlying VM image and operating system must be compatible.

Incorrect Answers

A:

It uses confidential VM memory protection mechanisms supported by the SKU. That controls the ability to protect sensitive data during processing using supported hardware-backed confidential-computing isolation; the described requirement is to prevent booting a modified or unsigned boot component on a compatible Azure VM. It addresses runtime confidentiality beyond ordinary boot integrity.

B:

The setting evaluates trusted-launch integrity signals and reports deviations; it is useful if the objective is to alert on unexpected changes to trusted boot-state attestation of a supported VM. This task instead requires the team to prevent booting a modified or unsigned boot component on a compatible Azure VM. The assessment is different from network traffic monitoring.

D:

The mechanism provides a virtualized TPM for measurements and key protection. That solves the different need to supply a trusted platform module capability to a supported protected virtual machine, not the need to prevent booting a modified or unsigned boot component on a compatible Azure VM. It does not itself replace full-disk encryption setup.

Microsoft Azure Security Technologies (AZ-500) Practice Tests