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

Question 270

During a migration to a more controlled Azure environment, the goal is to query resource metadata across many authorized subscriptions to find exposed public IPs. Choose the correct Azure asset visibility tool.

  1. Defender for Cloud inventory
  2. Azure Resource Graph
  3. Azure Policy compliance
  4. Azure Monitor Activity Log

Explanation

Correct Answer

B:

It runs cross-resource inventory queries over indexed Azure Resource Manager data; this meets the stated objective to query resource metadata across many authorized subscriptions to find exposed public IPs. It does not by itself test a network packet.

Incorrect Answers

A:

This control presents a security-oriented view of discovered protected resources. That would fit a case asking to review onboarded cloud assets together with security posture and relevant findings. Here the team must query resource metadata across many authorized subscriptions to find exposed public IPs. Asset coverage depends on connections and plans.

C:

This alternative evaluates Azure resources against assigned policy conditions. Its purpose is to find resources that violate a stated configuration rule across management scopes, rather than to query resource metadata across many authorized subscriptions to find exposed public IPs. It is a compliance signal rather than full asset topology.

D:

The mechanism records control-plane operations for applicable Azure scopes. That solves the different need to trace which principal created or updated a sensitive resource configuration, not the need to query resource metadata across many authorized subscriptions to find exposed public IPs. An inventory snapshot alone cannot establish the change history.

Question 271

A cloud administrator is evaluating how to compare repository security posture across several Azure DevOps projects in one cloud security view. Which Azure DevOps security integration provides the intended mechanism?

  1. Azure DevOps organization connector
  2. DevOps findings centralization
  3. GitLab IaC security scan
  4. Azure Repos secret scanning

Explanation

Correct Answer

B:

The mechanism collects eligible code and pipeline security findings into Defender reporting, which addresses the specific need to compare repository security posture across several Azure DevOps projects in one cloud security view. The integration does not assign project permissions to developers.

Incorrect Answers

A:

It establishes the organization-level integration with Defender DevOps security features; this addresses a goal to enable security assessment coverage for projects and repositories in an Azure DevOps organization. The expected outcome in the question is to compare repository security posture across several Azure DevOps projects in one cloud security view. Appropriate authorization and scopes are required.

C:

By itself it analyzes deployment code for security defects before it becomes live infrastructure; that is relevant for an intention to detect an overly broad Azure NSG rule defined in a GitLab-hosted infrastructure project, not the separate decision to compare repository security posture across several Azure DevOps projects in one cloud security view. Azure Network Watcher assesses deployed networks instead.

D:

It surfaces supported credential exposure findings in source code. That controls the ability to detect a key accidentally checked into an organization's repository history; the described requirement is to compare repository security posture across several Azure DevOps projects in one cloud security view. Removing the text without revocation does not eliminate leaked-key risk.

Question 272

A cloud administrator is evaluating how to actively block HTTP requests that trigger blocking rules in a configured WAF policy. Which WAF rule mode provides the intended mechanism?

  1. Disable the WAF policy
  2. WAF prevention mode
  3. WAF detection mode
  4. WAF request-rate rule
  5. Custom WAF rule

Explanation

Correct Answer

B:

It enforces WAF decisions on matching inbound web traffic. That is the relevant Azure behavior for a plan to actively block HTTP requests that trigger blocking rules in a configured WAF policy. False-positive tuning is important before deployment.

Incorrect Answers

A:

By itself it stops protective WAF rule evaluation entirely. That is relevant for an intention to turn off all WAF evaluations while troubleshooting repeated false positive logs, not the separate decision to actively block HTTP requests that trigger blocking rules in a configured WAF policy. It removes far more protection than a targeted exclusion.

C:

It logs matching web requests without actively blocking them by those rules, which can enable operators to measure how managed rules would flag suspicious requests before enforcing blocks; that is not the intended way to actively block HTTP requests that trigger blocking rules in a configured WAF policy. The mode is suited to tuning false positives.

D:

It applies web-request pattern or rate constraints at a WAF boundary. This helps when a team needs to reduce application-layer abusive HTTP request rates at the web ingress, but the requirement here is to actively block HTTP requests that trigger blocking rules in a configured WAF policy. It is different from network-layer volumetric mitigation.

E:

It adds author-defined matching logic alongside managed rule sets. A situation requiring administrators to block incoming requests that meet an organization-specific IP range or header condition would benefit, while this case asks to actively block HTTP requests that trigger blocking rules in a configured WAF policy. It is not a predefined OWASP signature list.

Question 273

The infrastructure team is planning how to constrain API invocation bursts from a caller over a specified interval. What API Management security policy is the appropriate choice?

  1. Check-header policy
  2. Rate-limit policy
  3. APIM validate-jwt
  4. Backend certificate validation

Explanation

Correct Answer

B:

This feature enforces a request count threshold at gateway policy evaluation; the result supports the task to constrain API invocation bursts from a caller over a specified interval. Authentication alone does not limit request volume.

Incorrect Answers

A:

The option inspects HTTP headers as part of API gateway enforcement. It addresses how to require inbound API requests to contain a designated header name or acceptable value, rather than the specified outcome to constrain API invocation bursts from a caller over a specified interval. It is not transport-layer TLS encryption.

C:

It evaluates configured token requirements before forwarding to a backend, which can enable operators to enforce issuer and intended audience checks for API bearer tokens at the gateway. That is not the intended way to constrain API invocation bursts from a caller over a specified interval. A valid transport certificate is not user authorization.

D:

It validates identity and trust of the backend TLS connection. That controls the ability to refuse an HTTPS connection from the API gateway to an untrusted backend certificate; the described requirement is to constrain API invocation bursts from a caller over a specified interval. A front-end certificate says nothing about backend authenticity.

Question 274

The infrastructure team is planning how to limit access to a public Kubernetes API endpoint to approved administrator source addresses. What AKS network isolation control is the appropriate choice?

  1. Azure RBAC for Kubernetes Authorization
  2. AKS authorized IP ranges
  3. Kubernetes NetworkPolicy
  4. AKS outbound type with UDR

Explanation

Correct Answer

B:

Under the chosen configuration, it filters the public control-plane entry path by permitted IP ranges. That serves the request to limit access to a public Kubernetes API endpoint to approved administrator source addresses. It does not make the API endpoint private.

Incorrect Answers

A:

It translates supported Azure role grants to Kubernetes authorization decisions. This helps when a team needs to manage Kubernetes API permissions using Azure role assignments in a configured AKS cluster, but the requirement here is to limit access to a public Kubernetes API endpoint to approved administrator source addresses. The integration must be enabled rather than assumed.

C:

It enforces supported pod-level network communication rules with a compatible dataplane; this addresses a goal to deny direct pod-to-pod traffic except explicitly authorized namespace and port flows; the expected outcome in the question is to limit access to a public Kubernetes API endpoint to approved administrator source addresses. A subnet NSG does not express Kubernetes pod labels.

D:

It configures supported outbound routing for cluster nodes through custom routes; this addresses a goal to send node egress through an existing centrally inspected appliance path. The expected outcome in the question is to limit access to a public Kubernetes API endpoint to approved administrator source addresses; required AKS dependencies must remain reachable.

Question 275

A security engineer needs to support a legacy client that uses a server-managed SQL username and password. Which Azure SQL identity mode best addresses the requirement?

  1. SQL authentication login
  2. Managed identity database authentication
  3. Database db_owner
  4. Microsoft Entra SQL administrator

Explanation

Correct Answer

A:

It relies on SQL-specific credentials instead of Entra tokens; this meets the stated objective to support a legacy client that uses a server-managed SQL username and password. Password handling becomes a security responsibility.

Incorrect Answers

B:

The option uses a platform-managed workload principal for database login. It addresses how to let an Azure workload connect to SQL using an Entra token rather than a stored SQL password, rather than the specified outcome to support a legacy client that uses a server-managed SQL username and password. Database principal and authorization remain necessary.

C:

It provides extensive database-level privileges. This helps when a team needs to allow a designated database maintainer broad control over one database's objects and settings, but the requirement here is to support a legacy client that uses a server-managed SQL username and password. Avoid it for routine application read-only workloads.

D:

The option configures an Entra principal for SQL administrative authentication. It addresses how to establish a directory-based administrator for a logical SQL server or supported SQL service, rather than the specified outcome to support a legacy client that uses a server-managed SQL username and password. It does not grant an Azure RBAC Owner role.

Question 276

During a migration to a more controlled Azure environment, the goal is to start an approved playbook when a Sentinel incident event is supplied. Choose the correct Sentinel playbook design.

  1. Microsoft Sentinel incident trigger
  2. Managed identity connector
  3. Logic App workflow
  4. Playbook execution history

Explanation

Correct Answer

A:

By design it uses the incident trigger for an incident-centered workflow; this is what enables administrators to start an approved playbook when a Sentinel incident event is supplied. An alert-only trigger exposes a different input contract.

Incorrect Answers

B:

It authenticates workflow actions through Azure-managed identity. This helps when a team needs to let a playbook update an Azure resource using an identity that does not require a stored password, but the requirement here is to start an approved playbook when a Sentinel incident event is supplied. The principal needs sufficient but limited resource authorization.

C:

The mechanism implements programmable orchestration steps through Logic Apps. That solves the different need to send a security incident notice to an operations team and create a ticket when triggered by cloud security events, not the need to start an approved playbook when a Sentinel incident event is supplied. The automation needs connectors and credentials.

D:

In normal use it records trigger inputs steps and failures of workflow runs. That helps to investigate why an incident automation failed after a connector rejected an API call, whereas the request is to start an approved playbook when a Sentinel incident event is supplied. An analytics query result does not show workflow execution errors.

Question 277

An administrator is responsible for a configuration that will block management-plane changes as well as deletion during a sensitive maintenance freeze. Which Azure resource governance control is most appropriate?

  1. ReadOnly lock
  2. Management group
  3. CanNotDelete lock
  4. Resource tags

Explanation

Correct Answer

A:

It restricts ARM writes and deletes to the locked scope; this meets the stated objective to block management-plane changes as well as deletion during a sensitive maintenance freeze. Some operational tasks can fail as a consequence.

Incorrect Answers

B:

In normal use it can inherit RBAC grants into child subscriptions under that management group. That helps to apply a security team's Reader assignment across several subscriptions in the same hierarchy, whereas the request is to block management-plane changes as well as deletion during a sensitive maintenance freeze. The group manages subscriptions rather than individual resource instances.

C:

In normal use it applies management-plane deletion protection at the chosen scope. That helps to prevent a resource's deletion while permitting authorized modifications, whereas the request is to block management-plane changes as well as deletion during a sensitive maintenance freeze. Data-plane operations may not be covered by a resource lock.

D:

This choice attaches key-value metadata to supported Azure resources. Its proper role is to identify production assets by owner business unit and sensitivity labels for inventory. In the question, the goal is to block management-plane changes as well as deletion during a sensitive maintenance freeze. Tags alone do not enforce network or identity access.

Question 278

A workload owner needs to simplify firewall application rules for a predefined set of Microsoft service hostnames while keeping unrelated functionality unchanged. Which FQDN egress control is the best fit?

  1. Azure Firewall application rules
  2. Azure Firewall network rules
  3. Azure Firewall FQDN tags
  4. Service tag

Explanation

Correct Answer

C:

The relevant behavior is that it uses Microsoft-managed groups of related FQDNs. That meets the need to simplify firewall application rules for a predefined set of Microsoft service hostnames. Not every arbitrary partner domain has a corresponding FQDN tag.

Incorrect Answers

A:

In normal use it uses application-level FQDN matching in supported protocols. That helps to permit outbound HTTPS to a known set of application service hostnames, whereas the request is to simplify firewall application rules for a predefined set of Microsoft service hostnames. It does not directly specify every arbitrary UDP flow.

B:

The option evaluates transport-level ports and destination IP information. It addresses how to allow UDP 123 to a fixed network time server address, rather than the specified outcome to simplify firewall application rules for a predefined set of Microsoft service hostnames. Web FQDN matching is a different rule family.

D:

It uses Microsoft-maintained identifiers for groups of service IP prefixes; this addresses a goal to represent Azure-managed platform address ranges in supported NSG rule fields. The expected outcome in the question is to simplify firewall application rules for a predefined set of Microsoft service hostnames. It is not a custom grouping of application NICs.

Question 279

During a migration to a more controlled Azure environment, the goal is to deploy a required supporting security resource when another resource lacks it. Choose the correct Azure Policy effect.

  1. Deny effect
  2. DeployIfNotExists effect
  3. Disabled effect
  4. Audit effect
  5. Assignment managed identity
  6. Append effect

Explanation

Correct Answer

B:

This feature evaluates a related resource and can initiate a specified template deployment; the result supports the task to deploy a required supporting security resource when another resource lacks it. The policy assignment needs appropriate managed identity permissions.

Incorrect Answers

A:

It blocks noncompliant write requests when policy evaluation applies. That controls the ability to prevent creation of storage accounts that do not meet an approved security configuration; the described requirement is to deploy a required supporting security resource when another resource lacks it. Existing resources require separate remediation or correction.

C:

The feature prevents that policy definition from being enforced or evaluated in effect. It would be appropriate to turn off a particular Azure Policy rule evaluation temporarily; this scenario instead needs to deploy a required supporting security resource when another resource lacks it. It cannot report or remediate the omitted security requirement.

D:

The feature marks matching resources noncompliant for reporting. It would be appropriate to identify virtual networks missing a required property without blocking changes during initial rollout; this scenario instead needs to deploy a required supporting security resource when another resource lacks it. It does not change their settings.

E:

The mechanism provides an Azure principal to run supported policy-managed changes. That solves the different need to authorize Azure Policy to deploy or modify resources while carrying out remediation, not the need to deploy a required supporting security resource when another resource lacks it. The identity must receive the required Azure roles.

F:

The setting inserts qualifying fields into requests during policy processing; it is useful if the objective is to add supported property values during policy evaluation when an applicable Azure Policy append rule is configured. This task instead requires the team to deploy a required supporting security resource when another resource lacks it. It does not deploy a missing supporting resource by itself.

Question 280

The compliance team requires administrators to ensure a specific allow rule is evaluated before a broad deny rule in one NSG. Which NSG rule concept accomplishes the intended change?

  1. Rule priority
  2. Inbound security rule
  3. Default security rules
  4. Outbound security rule

Explanation

Correct Answer

A:

It uses lower numeric priority values to evaluate user-defined rules first. This directly supports the requirement to ensure a specific allow rule is evaluated before a broad deny rule in one NSG. Evaluation stops at the first applicable rule.

Incorrect Answers

B:

It matches incoming packets by source destination protocol and port, which can enable operators to restrict unsolicited connections entering a workload subnet on TCP 3389. That is not the intended way to ensure a specific allow rule is evaluated before a broad deny rule in one NSG. It does not directly govern traffic leaving the subnet.

C:

The setting provide baseline allows and denies with less precedence than custom NSG rules; it is useful if the objective is to explain unexpected permitted virtual-network traffic even when the team created no custom allow rule. This task instead requires the team to ensure a specific allow rule is evaluated before a broad deny rule in one NSG. Custom higher-priority rules can override the defaults.

D:

This choice governs egress flows initiated from associated network interfaces or subnets. Its proper role is to prevent an app subnet from initiating connections to an unauthorized public address range. In the question, the goal is to ensure a specific allow rule is evaluated before a broad deny rule in one NSG. Inbound filtering alone would not enforce this boundary.

Microsoft Azure Security Technologies (AZ-500) Practice Tests