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

Question 300

An organization's security baseline calls for a way to understand resource-level virtual-network relationships before changing security boundaries. Which Network Watcher diagnostic fits this case?

  1. Connection troubleshoot
  2. Packet capture
  3. Virtual appliance next hop
  4. Topology view
  5. IP flow verify

Explanation

Correct Answer

D:

It displays network resources and relevant interconnections. That is the relevant Azure behavior for a plan to understand resource-level virtual-network relationships before changing security boundaries. It is a map rather than a firewall rule evaluator.

Incorrect Answers

A:

The option checks connectivity and can identify hop or rule-related failures. It addresses how to test network reachability from an Azure source to a destination and inspect the resulting path diagnostics, rather than the specified outcome to understand resource-level virtual-network relationships before changing security boundaries. A successful NSG allow does not prove the service is reachable.

B:

It collects packet data through supported Network Watcher capture capabilities. A situation requiring administrators to capture selected network packets from a VM for forensic protocol analysis would benefit, while this case asks to understand resource-level virtual-network relationships before changing security boundaries. Capture must be handled securely because payloads may be sensitive.

C:

By itself it uses the virtual-appliance next-hop type and private appliance address. That is relevant for an intention to send application subnet traffic through a supported network virtual appliance for inspection, not the separate decision to understand resource-level virtual-network relationships before changing security boundaries. The appliance must itself forward traffic correctly.

E:

The setting checks a proposed five-tuple against applied NSG security rules; it is useful if the objective is to simulate whether a specific NSG-governed flow is allowed or denied. This task instead requires the team to understand resource-level virtual-network relationships before changing security boundaries. It does not inspect the full end-to-end application path.

Question 301

During a migration to a more controlled Azure environment, the goal is to evaluate the impact of a new risky-sign-in policy without blocking production users. Choose the correct Conditional Access diagnostic and rollout action.

  1. What If tool
  2. Sign-in logs
  3. Policy exclusion
  4. Report-only mode

Explanation

Correct Answer

D:

It records how policy conditions would apply while avoiding actual enforcement. That is the relevant Azure behavior for a plan to evaluate the impact of a new risky-sign-in policy without blocking production users. It should precede disruptive deployment when scope is uncertain.

Incorrect Answers

A:

The mechanism simulates policy evaluation for supplied sign-in attributes. That solves the different need to test how a specified user and sign-in context would match currently configured access policies, not the need to evaluate the impact of a new risky-sign-in policy without blocking production users. It does not execute a real authentication transaction.

B:

The setting show evaluated policies and authentication details on recorded sign-in events; it is useful if the objective is to inspect the exact Conditional Access policy result for a failed cloud sign-in. This task instead requires the team to evaluate the impact of a new risky-sign-in policy without blocking production users. A hypothetical test cannot replace event-specific evidence.

C:

The feature removes selected identities from one policy's scope. It would be appropriate to keep a known emergency account from being subject to a risky access restriction; this scenario instead needs to evaluate the impact of a new risky-sign-in policy without blocking production users. An exclusion is distinct from disabling the policy tenant-wide.

Question 302

Security architects require Azure SQL data files to remain encrypted at rest and specific personal-data columns to stay unreadable as plaintext to the database engine during compatible application access. Which TWO encryption techniques serve these distinct needs? Choose TWO.

  1. SQL data discovery and classification
  2. Row-level security
  3. Transparent Data Encryption
  4. Always Encrypted

Explanation

Correct Answers

C:

This control protects stored database pages without changing ordinary query values. That is the action required to encrypt SQL database data files and backups at rest with database encryption keys. An authorized reader still sees plaintext query results. The other keyed control separately covers the need to protect sensitive application columns so encryption and decryption can occur in compatible client drivers.

D:

The relevant behavior is that it keeps plaintext column values outside the database engine for supported scenarios; that meets the need to protect sensitive application columns so encryption and decryption can occur in compatible client drivers; application and driver support is necessary; the other keyed control separately covers the need to encrypt SQL database data files and backups at rest with database encryption keys.

Incorrect Answers

A:

The option stores classification metadata and supports sensitive-data visibility. It addresses how to identify sensitive columns and apply information labels for governance reporting, rather than the specified outcome to encrypt SQL database data files and backups at rest with database encryption keys and protect sensitive application columns so encryption and decryption can occur in compatible client drivers. It does not automatically encrypt every labeled column.

B:

The mechanism filters accessible rows based on defined policy functions. That solves the different need to restrict which rows are visible or modifiable based on a security predicate evaluated for a database principal, not the need to encrypt SQL database data files and backups at rest with database encryption keys and protect sensitive application columns so encryption and decryption can occur in compatible client drivers. It does not mask selected columns within permitted rows.

Question 303

The compliance team requires administrators to automatically manage a supported Private DNS zone record for a private endpoint. Which Private Link DNS action accomplishes the intended change?

  1. Private endpoint DNS zone group
  2. Private endpoint connection approval
  3. Private DNS zone link
  4. Custom DNS forwarder

Explanation

Correct Answer

A:

The mechanism associates the endpoint with zone configuration for its private address records, which addresses the specific need to automatically manage a supported Private DNS zone record for a private endpoint. The correct service-specific DNS zone still matters.

Incorrect Answers

B:

This control moves a pending connection into an authorized private connectivity state. That would fit a case asking to require the provider to explicitly approve a consumer's private endpoint request. Here the team must automatically manage a supported Private DNS zone record for a private endpoint. Consumer subnet access alone does not mean approval.

C:

The option associates the private DNS namespace with the requesting virtual network. It addresses how to allow a VM in a VNet to resolve a service's Private Link zone through Azure private DNS, rather than the specified outcome to automatically manage a supported Private DNS zone record for a private endpoint. An unlinked VNet might resolve the public address instead.

D:

It forwards relevant DNS queries to an Azure-aware resolver path. That controls the ability to resolve Azure Private Link DNS zones for on-premises clients using a hybrid name-resolution path; the described requirement is to automatically manage a supported Private DNS zone record for a private endpoint. Private endpoint connectivity alone does not resolve names on-premises.

Question 304

A new cloud security procedure is designed to allow a vault to authenticate to dependent protected resources without storing service credentials. Which Azure Backup security layer is most aligned with the procedure?

  1. Backup vault immutability
  2. Recovery Services vault private endpoint
  3. Backup vault soft delete
  4. Managed identity on backup vault

Explanation

Correct Answer

D:

It provides a workload principal for required data access. That is a match for the precise goal to allow a vault to authenticate to dependent protected resources without storing service credentials. Corresponding roles must still be assigned.

Incorrect Answers

A:

In normal use it applies immutability controls to qualifying backup operations. That helps to prevent unauthorized reduction of protected backup retention or deletion of recovery points in a supported immutable vault design, whereas the request is to allow a vault to authenticate to dependent protected resources without storing service credentials. Locking the configuration increases resistance to reversal.

B:

This choice adds a private network access path for supported backup operations. Its proper role is to route eligible vault service traffic through a private connection. In the question, the goal is to allow a vault to authenticate to dependent protected resources without storing service credentials. A private endpoint is not the backup vault's managed workload identity.

C:

This alternative provides a safety window against accidental or malicious deletion. Its purpose is to preserve supported deleted backup items for a recovery interval before irreversible loss, rather than to allow a vault to authenticate to dependent protected resources without storing service credentials. It is distinct from immutable backup configuration.

Question 305

The infrastructure team is planning how to explain unexpected permitted virtual-network traffic even when the team created no custom allow rule. What NSG rule concept is the appropriate choice?

  1. Custom IP prefix rule
  2. Rule priority
  3. Default security rules
  4. Outbound security rule

Explanation

Correct Answer

C:

This control provide baseline allows and denies with less precedence than custom NSG rules. That is the action required to explain unexpected permitted virtual-network traffic even when the team created no custom allow rule. Custom higher-priority rules can override the defaults.

Incorrect Answers

A:

This choice matches a manually specified address prefix maintained by the administrator. Its proper role is to restrict an NSG rule to a fixed partner-owned IPv4 CIDR range. In the question, the goal is to explain unexpected permitted virtual-network traffic even when the team created no custom allow rule. Changing partner addresses requires a rule update.

B:

By itself it uses lower numeric priority values to evaluate user-defined rules first. That is relevant for an intention to ensure a specific allow rule is evaluated before a broad deny rule in one NSG, not the separate decision to explain unexpected permitted virtual-network traffic even when the team created no custom allow rule. Evaluation stops at the first applicable rule.

D:

By itself it governs egress flows initiated from associated network interfaces or subnets. That is relevant for an intention to prevent an app subnet from initiating connections to an unauthorized public address range, not the separate decision to explain unexpected permitted virtual-network traffic even when the team created no custom allow rule. Inbound filtering alone would not enforce this boundary.

Question 306

To meet a documented security control, an Azure operator must find an insecure public storage definition before its Terraform configuration is deployed. Which GitHub DevOps security task should be used?

  1. Secret exposure discovery
  2. Infrastructure as code misconfiguration scan
  3. Azure DevOps organization connector
  4. Code security findings triage

Explanation

Correct Answer

B:

Under the chosen configuration, it assesses IaC files for risky cloud provisioning patterns. That serves the request to find an insecure public storage definition before its Terraform configuration is deployed. Scanning deployed VMs is a different stage.

Incorrect Answers

A:

By itself it searches supported source artifacts for exposed sensitive secrets. That is relevant for an intention to identify credentials accidentally committed into a GitHub repository, not the separate decision to find an insecure public storage definition before its Terraform configuration is deployed. Key rotation is still needed after a leak.

C:

In normal use it establishes the organization-level integration with Defender DevOps security features. That helps to enable security assessment coverage for projects and repositories in an Azure DevOps organization, whereas the request is to find an insecure public storage definition before its Terraform configuration is deployed. Appropriate authorization and scopes are required.

D:

It aggregates reported development security issues for review; this addresses a goal to focus developers on actionable high-risk findings produced by supported pipeline or repo assessment. The expected outcome in the question is to find an insecure public storage definition before its Terraform configuration is deployed. Finding visibility does not automatically merge a code fix.

Question 307

A cloud platform team is implementing a change to avoid exposing an internal microservice to arbitrary Internet clients. What Azure Container Apps protection should it configure?

  1. Container Apps secret reference
  2. ACI VNet deployment
  3. Container Apps log collection
  4. Container Apps ingress restriction

Explanation

Correct Answer

D:

This control selects internal or otherwise restricted ingress according to the container app environment design. That is the action required to avoid exposing an internal microservice to arbitrary Internet clients. Authentication is an additional defense.

Incorrect Answers

A:

It stores secret values and references them from application configuration. This helps when a team needs to supply a workload's sensitive connection string through a secret binding instead of plain configuration text, but the requirement here is to avoid exposing an internal microservice to arbitrary Internet clients. Secret rotation and access control remain operational tasks.

B:

By itself it integrates eligible container groups with a virtual network for connectivity controls. That is relevant for an intention to place a container group on a delegated private network address path in a supported design, not the separate decision to avoid exposing an internal microservice to arbitrary Internet clients. The deployment requirements and subnet delegation must be met.

C:

This choice collects console and system log records through supported observability integration. Its proper role is to investigate application errors and environment-level system events in a configured monitoring destination. In the question, the goal is to avoid exposing an internal microservice to arbitrary Internet clients. Collecting logs does not enforce application authorization.

Question 308

An Azure security engineer must decide how to give callers a private incoming address for an Azure Functions application on a supported plan. Which Azure Functions network security is designed for that job?

  1. Functions VNet integration
  2. Functions access restrictions
  3. Function App private endpoint
  4. Functions managed identity

Explanation

Correct Answer

C:

In this case it secures inbound connectivity through a Private Link connection, allowing the team to give callers a private incoming address for an Azure Functions application on a supported plan. The selected hosting plan must support the feature.

Incorrect Answers

A:

This alternative provides supported outbound network access from functions to VNet destinations. Its purpose is to allow serverless function code to reach a private database in an integrated network, rather than to give callers a private incoming address for an Azure Functions application on a supported plan. It does not automatically remove public ingress.

B:

The setting sets inbound allow and deny restrictions on the function app; it is useful if the objective is to limit which source networks can invoke a publicly exposed function endpoint. This task instead requires the team to give callers a private incoming address for an Azure Functions application on a supported plan. Identity-based authorization remains separate.

D:

In normal use it provides an Entra workload principal for token-based service calls. That helps to allow function code to retrieve Key Vault secrets without embedding a client secret, whereas the request is to give callers a private incoming address for an Azure Functions application on a supported plan. The managed identity still needs vault authorization.

Question 309

The infrastructure team is planning how to retain a recovery window when a compromised automation principal deletes individual blobs before the incident response team can revoke its access. What blob recovery mechanism is the appropriate choice?

  1. Point-in-time restore
  2. Container soft delete
  3. Blob versioning
  4. Blob soft delete

Explanation

Correct Answer

D:

In this case it retains deleted blob states for supported recovery operations during a configured interval, allowing the team to retain a recovery window when a compromised automation principal deletes individual blobs before the incident response team can revoke its access. The protection must be enabled and the retention period configured before the delete event.

Incorrect Answers

A:

The setting uses change feed and versioning prerequisites for the supported restore capability; it is useful if the objective is to roll back supported block blob data to an earlier state within a configured recovery interval; this task instead requires the team to retain a recovery window when a compromised automation principal deletes individual blobs before the incident response team can revoke its access. Unsupported account or blob types limit availability.

B:

The option retains deleted container metadata and contents for supported undelete. It addresses how to restore an entire deleted blob container while it remains within configured retention, rather than the specified outcome to retain a recovery window when a compromised automation principal deletes individual blobs before the incident response team can revoke its access. Individual blob versioning is not the same protection.

C:

The feature records prior committed versions as writes occur. It would be appropriate to retrieve a previous content version after an authorized overwrite; this scenario instead needs to retain a recovery window when a compromised automation principal deletes individual blobs before the incident response team can revoke its access. It does not independently prevent malicious content writes.

Question 310

A cloud administrator is evaluating how to inspect supported outbound HTTPS content by decrypting and re-encrypting traffic through trusted certificates. Which Azure Firewall Premium feature provides the intended mechanism?

  1. URL filtering
  2. TLS inspection
  3. Web categories
  4. IDPS

Explanation

Correct Answer

B:

By design it enables deep inspection of encrypted application traffic; this is what enables administrators to inspect supported outbound HTTPS content by decrypting and re-encrypting traffic through trusted certificates. Clients need to trust the relevant inspection CA.

Incorrect Answers

A:

The option uses Premium URL-aware application filtering. It addresses how to restrict supported outbound web requests by URL path rather than only a hostname, rather than the specified outcome to inspect supported outbound HTTPS content by decrypting and re-encrypting traffic through trusted certificates. An FQDN-only rule cannot distinguish two paths on one host.

C:

The setting groups web destinations into classification-based rule criteria; it is useful if the objective is to enforce egress access policy based on predefined website content categories. This task instead requires the team to inspect supported outbound HTTPS content by decrypting and re-encrypting traffic through trusted certificates. Manual destination lists are less adaptive for broad categories.

D:

It inspects traffic patterns against threat signatures in the supported firewall tier, which can enable operators to identify or block network attacks using signature-based intrusion detection and prevention. That is not the intended way to inspect supported outbound HTTPS content by decrypting and re-encrypting traffic through trusted certificates. Simple IP filtering alone does not perform equivalent inspection.

Microsoft Azure Security Technologies (AZ-500) Practice Tests