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

Question 130

The security operations team has been asked to detect unauthorized changes to selected important files or registry items on supported protected servers. Select the most direct Defender for Servers coverage selection.

  1. Endpoint integration
  2. File integrity monitoring
  3. Defender for SQL on machines
  4. Defender for Servers Plan 2

Explanation

Correct Answer

B:

In this case it tracks monitored file or configuration changes with the required deployment setup, allowing the team to detect unauthorized changes to selected important files or registry items on supported protected servers. It is different from malware signature scanning.

Incorrect Answers

A:

In normal use it integrates supported server EDR capabilities with the server protection plan. That helps to connect eligible server endpoint telemetry and threat detections into Microsoft Defender security operations, whereas the request is to detect unauthorized changes to selected important files or registry items on supported protected servers. Cloud posture assessment alone is not endpoint detection.

C:

This control protects supported self-managed SQL Server installations. That would fit a case asking to extend SQL Server threat protection to eligible SQL installations running on virtual or Arc-enabled machines. Here the team must detect unauthorized changes to selected important files or registry items on supported protected servers. The managed Azure SQL service plan addresses a different workload target.

D:

It provides the broader server security feature set of the two plans, which can enable operators to enable expanded server protection including supported agentless assessment and advanced capabilities. That is not the intended way to detect unauthorized changes to selected important files or registry items on supported protected servers. Required permissions and onboarding still matter.

Question 131

The compliance team requires administrators to review onboarded cloud assets together with security posture and relevant findings. Which Azure asset visibility tool accomplishes the intended change?

  1. Remediation task
  2. Defender for Cloud inventory
  3. Azure Monitor Activity Log
  4. Azure Resource Graph

Explanation

Correct Answer

B:

In this case it presents a security-oriented view of discovered protected resources, allowing the team to review onboarded cloud assets together with security posture and relevant findings. Asset coverage depends on connections and plans.

Incorrect Answers

A:

It runs the correction defined by the assigned policy for selected resources. A situation requiring administrators to bring eligible existing noncompliant resources into alignment with a DeployIfNotExists or Modify policy would benefit, while this case asks to review onboarded cloud assets together with security posture and relevant findings. The correct identity and permissions are necessary.

C:

It records control-plane operations for applicable Azure scopes. This helps when a team needs to trace which principal created or updated a sensitive resource configuration, but the requirement here is to review onboarded cloud assets together with security posture and relevant findings. An inventory snapshot alone cannot establish the change history.

D:

It runs cross-resource inventory queries over indexed Azure Resource Manager data. A situation requiring administrators to query resource metadata across many authorized subscriptions to find exposed public IPs would benefit, while this case asks to review onboarded cloud assets together with security posture and relevant findings. It does not by itself test a network packet.

Question 132

An Azure security engineer must decide how to restrict unsolicited connections entering a workload subnet on TCP 3389. Which NSG rule concept is designed for that job?

  1. Inbound security rule
  2. Outbound security rule
  3. Rule priority
  4. Security admin always-allow rule

Explanation

Correct Answer

A:

It matches incoming packets by source destination protocol and port. For the defined security outcome, the team needs to restrict unsolicited connections entering a workload subnet on TCP 3389. It does not directly govern traffic leaving the subnet.

Incorrect Answers

B:

It governs egress flows initiated from associated network interfaces or subnets; this addresses a goal to prevent an app subnet from initiating connections to an unauthorized public address range. The expected outcome in the question is to restrict unsolicited connections entering a workload subnet on TCP 3389. Inbound filtering alone would not enforce this boundary.

C:

It uses lower numeric priority values to evaluate user-defined rules first. This helps when a team needs to ensure a specific allow rule is evaluated before a broad deny rule in one NSG, but the requirement here is to restrict unsolicited connections entering a workload subnet on TCP 3389. Evaluation stops at the first applicable rule.

D:

The setting uses the always-allow action to bypass subsequent NSG rule evaluation; it is useful if the objective is to centrally permit a trusted flow without further NSG evaluation for that traffic. This task instead requires the team to restrict unsolicited connections entering a workload subnet on TCP 3389. Reserve it for tightly controlled exceptions.

Question 133

To meet a documented security control, an Azure operator must provide a defined department with access to an enterprise application while excluding all unassigned users. Which application access constraint should be used?

  1. Admin consent workflow
  2. App registration
  3. Multi-tenant registration
  4. Application assignment to security group

Explanation

Correct Answer

D:

The relevant behavior is that it uses assignment controls and group membership to manage app access. That meets the need to provide a defined department with access to an enterprise application while excluding all unassigned users. An application registration by itself is not an entitlement list.

Incorrect Answers

A:

In normal use it lets administrators receive and approve eligible consent requests. That helps to send end-user requests for blocked application API permissions to designated reviewers, whereas the request is to provide a defined department with access to an enterprise application while excluding all unassigned users. It does not silently grant every requested permission.

B:

It holds the application definition and identity-platform integration metadata; this addresses a goal to define an application's client identifier, redirect URIs, and credential configuration. The expected outcome in the question is to provide a defined department with access to an enterprise application while excluding all unassigned users. It is not itself an RBAC permission grant to Azure resources.

C:

This control allows identities from other organizational tenants to use the application with appropriate consent. That would fit a case asking to offer a software application to employees from multiple independent Entra organizations. Here the team must provide a defined department with access to an enterprise application while excluding all unassigned users. Each customer tenant has its own service-principal instance.

Question 134

A workload owner needs to surface suspicious deviations from learned activity patterns using supported machine-learning detections while keeping unrelated functionality unchanged. Which Sentinel analytics rule type is the best fit?

  1. Near-real-time analytics rule
  2. Anomaly analytics rule
  3. Microsoft Defender XDR connector
  4. Scheduled analytics rule

Explanation

Correct Answer

B:

It analyzes unusual behaviors rather than a simple fixed threshold alone. That is the relevant Azure behavior for a plan to surface suspicious deviations from learned activity patterns using supported machine-learning detections. Models and data availability determine coverage.

Incorrect Answers

A:

It runs NRT detection logic with constrained timing and query support. That controls the ability to alert quickly on supported log-query patterns using a short recurring evaluation interval; the described requirement is to surface suspicious deviations from learned activity patterns using supported machine-learning detections. It is not equivalent to a scheduled long-lookback search.

C:

It integrates supported Microsoft Defender threat findings. A situation requiring administrators to bring eligible Defender security incidents and alerts into Sentinel investigation flows would benefit, while this case asks to surface suspicious deviations from learned activity patterns using supported machine-learning detections. It is not the source for raw on-prem firewall syslog.

D:

It executes configured log queries on a schedule to produce alerts and incidents; this addresses a goal to detect repeated failed logins by running a KQL query at planned intervals with grouping thresholds; the expected outcome in the question is to surface suspicious deviations from learned activity patterns using supported machine-learning detections. Query lookback and run frequency affect detections.

Question 135

A security engineer needs to ensure custom routes do not break required managed-instance platform dependencies. Which SQL Managed Instance network safeguard best addresses the requirement?

  1. SQL MI route table validation
  2. Dedicated SQL MI subnet
  3. SQL Managed Instance public data endpoint
  4. SQL MI private VNet access

Explanation

Correct Answer

A:

It coordinates user-defined routing with mandated service paths; this meets the stated objective to ensure custom routes do not break required managed-instance platform dependencies. Forcing every service-management flow through an incompatible appliance can cause failures.

Incorrect Answers

B:

It hosts the managed instance's service-managed infrastructure in a compatible delegated subnet; a situation requiring administrators to place Azure SQL Managed Instance in its required delegated network segment would benefit, while this case asks to ensure custom routes do not break required managed-instance platform dependencies. A shared application subnet is not the intended deployment target.

C:

It provides public connectivity for an eligible managed instance configuration. A situation requiring administrators to permit connections using an explicitly enabled public data endpoint would benefit, while this case asks to ensure custom routes do not break required managed-instance platform dependencies. It does not validate custom routing for private managed-instance service dependencies.

D:

The option uses the instance's VNet-connected access path for clients. It addresses how to let a trusted Azure workload access the instance over its network-local private address, rather than the specified outcome to ensure custom routes do not break required managed-instance platform dependencies. A separate Azure SQL logical server private endpoint is not the same design.

Question 136

To meet a documented security control, an Azure operator must give a registered automation app its own identity for access assignments in one tenant. Which application identity object should be used?

  1. Workload identity federation
  2. Service principal
  3. Assignment required
  4. App registration
  5. Managed identity

Explanation

Correct Answer

B:

It is the local security principal that can receive resource and API permissions. For the defined security outcome, the team needs to give a registered automation app its own identity for access assignments in one tenant. The global application definition is not the principal used for role assignments.

Incorrect Answers

A:

This alternative federates a trusted external workload through a service principal. Its purpose is to exchange an external pipeline identity token for Entra access without stored credentials, rather than to give a registered automation app its own identity for access assignments in one tenant. This trust setup does not directly represent a human application instance.

C:

The feature gates app sign-in on assignment to permitted identities. It would be appropriate to stop arbitrary tenant users from signing into an enterprise app without explicit assignment; this scenario instead needs to give a registered automation app its own identity for access assignments in one tenant. Authentication alone does not establish application entitlement.

D:

It holds the application definition and identity-platform integration metadata. A situation requiring administrators to define an application's client identifier, redirect URIs, and credential configuration would benefit, while this case asks to give a registered automation app its own identity for access assignments in one tenant. It is not itself an RBAC permission grant to Azure resources.

E:

This control provides a service-principal-backed identity managed by Azure for a supported resource. That would fit a case asking to let an Azure-hosted workload obtain Entra tokens without maintaining credential secrets. Here the team must give a registered automation app its own identity for access assignments in one tenant. It requires separate authorization to the target service.

Question 137

A security engineer needs to explain why a /24 user route wins over a less specific /16 route to the same next-hop class. Which Azure route-selection principle best addresses the requirement?

  1. BGP-propagated route
  2. Effective routes view
  3. User-defined route priority
  4. Longest-prefix match

Explanation

Correct Answer

D:

The mechanism chooses the most specific destination-address prefix among matching routes, which addresses the specific need to explain why a /24 user route wins over a less specific /16 route to the same next-hop class. The mere presence of a default route cannot override it.

Incorrect Answers

A:

It advertises dynamic routes from connected networks subject to propagation settings, which can enable operators to bring learned on-premises network prefixes into Azure routing through a gateway connection. That is not the intended way to explain why a /24 user route wins over a less specific /16 route to the same next-hop class; it is not manually authored in each subnet route table.

B:

It combines applicable user routes system routes and propagated routes, which can enable operators to investigate an unexpected packet path by inspecting routes actually applied to a VM NIC. That is not the intended way to explain why a /24 user route wins over a less specific /16 route to the same next-hop class; looking only at one route table omits other inputs.

C:

This control typically favors a user-defined route over system or BGP routes for an equal prefix. That would fit a case asking to resolve a tie when system and custom routes cover exactly the same destination prefix. Here the team must explain why a /24 user route wins over a less specific /16 route to the same next-hop class. More-specific prefixes still take precedence first.

Question 138

In a production security design, the requirement is to prevent a container process from modifying its root filesystem during execution. Which AKS workload hardening most precisely meets it?

  1. Drop Linux capabilities
  2. Container Apps managed identity
  3. Pod Security Admission restricted profile
  4. Read-only root filesystem

Explanation

Correct Answer

D:

It sets a container security context that restricts root filesystem writes. For the defined security outcome, the team needs to prevent a container process from modifying its root filesystem during execution. Separate writable volumes may still be mounted when needed.

Incorrect Answers

A:

It narrows the kernel privilege surface of a containerized process, which can enable operators to remove powerful default process capabilities from a Linux container where not required. That is not the intended way to prevent a container process from modifying its root filesystem during execution. It is separate from Kubernetes API RBAC.

B:

The setting provides an Azure-managed service identity to the container app; it is useful if the objective is to let a container app read Azure service secrets without embedding service credentials. This task instead requires the team to prevent a container process from modifying its root filesystem during execution; the data service still needs appropriate role permissions.

C:

The setting applies Kubernetes admission security standards to selected namespaces; it is useful if the objective is to enforce conservative baseline restrictions such as prohibiting privileged container patterns. This task instead requires the team to prevent a container process from modifying its root filesystem during execution; application manifests may need correction before enforcement.

Question 139

An administrator is responsible for a configuration that will hide portions of sensitive column values from non-privileged query results while preserving original stored data. Which SQL data protection technique is most appropriate?

  1. Transparent Data Encryption
  2. Always Encrypted
  3. Row-level security
  4. Dynamic data masking

Explanation

Correct Answer

D:

This control transforms returned result presentation for users without UNMASK entitlement. That is the action required to hide portions of sensitive column values from non-privileged query results while preserving original stored data. It is not cryptographic protection against highly privileged database operators.

Incorrect Answers

A:

It protects stored database pages without changing ordinary query values. This helps when a team needs to encrypt SQL database data files and backups at rest with database encryption keys, but the requirement here is to hide portions of sensitive column values from non-privileged query results while preserving original stored data. An authorized reader still sees plaintext query results.

B:

It keeps plaintext column values outside the database engine for supported scenarios. A situation requiring administrators to protect sensitive application columns so encryption and decryption can occur in compatible client drivers would benefit, while this case asks to hide portions of sensitive column values from non-privileged query results while preserving original stored data. Application and driver support is necessary.

C:

The feature filters accessible rows based on defined policy functions. It would be appropriate to restrict which rows are visible or modifiable based on a security predicate evaluated for a database principal; this scenario instead needs to hide portions of sensitive column values from non-privileged query results while preserving original stored data. It does not mask selected columns within permitted rows.

Question 140

For a protected Azure environment, an engineer wants to create a download-only token instead of a token capable of overwriting or deleting data. Which SAS risk reduction mechanism provides the required behavior?

  1. Narrow resource permissions
  2. Short expiry
  3. HTTPS-only protocol
  4. Storage firewall IP rule

Explanation

Correct Answer

A:

The mechanism limits signed SAS permissions to required operations and resources, which addresses the specific need to create a download-only token instead of a token capable of overwriting or deleting data. The signature must still be protected as a bearer credential.

Incorrect Answers

B:

This choice limits the SAS validity period encoded in the signature. Its proper role is to reduce the time window in which a leaked pre-signed URL can be used. In the question, the goal is to create a download-only token instead of a token capable of overwriting or deleting data. Revocation may still be needed before the token expires.

C:

It restricts permissible request protocols for SAS use; this addresses a goal to stop a delegated storage token from being used over plaintext HTTP. The expected outcome in the question is to create a download-only token instead of a token capable of overwriting or deleting data. It does not constrain which network IPs are authorized.

D:

The feature matches permitted public client IP addresses at the storage firewall. It would be appropriate to allow a known office's public egress address to use a storage account public endpoint; this scenario instead needs to create a download-only token instead of a token capable of overwriting or deleting data. Private clients may require a different network rule.

Microsoft Azure Security Technologies (AZ-500) Practice Tests