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

Question 10

A security engineer needs to enforce a platform-created restriction that can block an operation even when a role permits it. Which RBAC authorization concept best addresses the requirement?

  1. Inherited role assignment
  2. Deny assignment
  3. Effective permissions
  4. Azure Policy deny effect

Explanation

Correct Answer

B:

Under the chosen configuration, it takes precedence over allowed RBAC operations for targeted principals and scopes. That serves the request to enforce a platform-created restriction that can block an operation even when a role permits it. Ordinary custom roles cannot simply override this restriction.

Incorrect Answers

A:

This control lets permissions flow downward from parent management scopes. That would fit a case asking to explain why a user can manage a VM despite no direct role assignment on that VM. Here the team must enforce a platform-created restriction that can block an operation even when a role permits it. Resource-level inspection alone can miss an inherited grant.

C:

The mechanism reflects applicable grants together with relevant deny assignments and conditions. That solves the different need to analyze a user's combined access from multiple roles and different scopes, not the need to enforce a platform-created restriction that can block an operation even when a role permits it. Looking at a single role definition cannot reveal the whole outcome.

D:

The feature blocks noncompliant resource operations during Azure Policy evaluation. It would be appropriate to reject resource changes that violate a defined governance policy; this scenario instead needs to enforce a platform-created restriction that can block an operation even when a role permits it. Policy denial and an Azure RBAC deny assignment are separate mechanisms.

Question 11

An organization's security baseline calls for a way to mount an Azure Files SMB share with a shared account credential in a legacy process. Which Azure Files identity mode fits this case?

  1. Microsoft Entra Kerberos
  2. On-premises AD DS authentication
  3. Default share-level permission
  4. Storage account key SMB access
  5. Blob OAuth authorization

Explanation

Correct Answer

D:

It authenticates using a broadly privileged storage key. For the defined security outcome, the team needs to mount an Azure Files SMB share with a shared account credential in a legacy process. It lacks per-user identity-based audit and least privilege.

Incorrect Answers

A:

By itself it uses a cloud-backed Kerberos ticket flow for supported Azure Files scenarios. That is relevant for an intention to let supported hybrid identities authenticate to Azure Files SMB using Entra Kerberos integration, not the separate decision to mount an Azure Files SMB share with a shared account credential in a legacy process. Client and identity prerequisites still apply.

B:

By itself it integrates SMB authentication with on-premises Active Directory Domain Services. That is relevant for an intention to attribute Azure Files SMB access to individual existing corporate domain identities instead of a shared account key in a hybrid Windows environment, not the separate decision to mount an Azure Files SMB share with a shared account credential in a legacy process. The data-access boundary still combines share-level authorization with filesystem ACLs.

C:

It configures a fallback share-level authorization for eligible authenticated identities, which can enable operators to provide an organization-defined baseline share role for certain identity-based Azure Files access designs. That is not the intended way to mount an Azure Files SMB share with a shared account credential in a legacy process. It does not override restrictive NTFS file ACLs.

E:

This choice supports blob data-plane RBAC and OAuth access to blob objects. Its proper role is to authorize an application to use object blobs through Entra tokens. In the question, the goal is to mount an Azure Files SMB share with a shared account credential in a legacy process. It does not directly provide identity-based SMB share authentication.

Question 12

A deployment team needs a supported way to let an employee laptop join a private Azure address space before using ordinary management tools. Identify the best secure VM remote access mechanism.

  1. ACR firewall allowlist
  2. Just-in-time VM access
  3. Point-to-site VPN
  4. Azure Bastion

Explanation

Correct Answer

C:

This feature creates an encrypted tunnel from an individual client to a VPN gateway; the result supports the task to let an employee laptop join a private Azure address space before using ordinary management tools. VM network rules and identity checks still apply.

Incorrect Answers

A:

The option configures network restrictions on an otherwise public registry. It addresses how to permit registry access from only specified public client address ranges while retaining a public endpoint, rather than the specified outcome to let an employee laptop join a private Azure address space before using ordinary management tools. This does not create a private interface.

B:

This alternative temporarily changes the permitted inbound management exposure of eligible VMs. Its purpose is to open an inbound management port only for an approved short period after an operator requests access, rather than to let an employee laptop join a private Azure address space before using ordinary management tools. It is not a substitute for authenticated remote access.

D:

By itself it provides managed browser-based or supported native-client access over private VM addresses. That is relevant for an intention to allow an administrator to open RDP sessions to private Azure VMs without assigning each VM a public IP, not the separate decision to let an employee laptop join a private Azure address space before using ordinary management tools. A correctly configured Bastion subnet and permissions are required.

Question 13

For a protected Azure environment, an engineer wants to establish the runtime connection from a supported on-premises server to Azure Arc. Which hybrid machine security connection provides the required behavior?

  1. Endpoint integration
  2. Azure Policy for Arc machines
  3. Azure Arc-enabled Servers
  4. Azure Connected Machine agent

Explanation

Correct Answer

D:

It runs the agent responsible for Arc server connectivity. That is a match for the precise goal to establish the runtime connection from a supported on-premises server to Azure Arc. Defender plans are configured separately.

Incorrect Answers

A:

It integrates supported server EDR capabilities with the server protection plan. This helps when a team needs to connect eligible server endpoint telemetry and threat detections into Microsoft Defender security operations, but the requirement here is to establish the runtime connection from a supported on-premises server to Azure Arc. Cloud posture assessment alone is not endpoint detection.

B:

The setting targets Arc resource types with policy assignments and guest assessments; it is useful if the objective is to assess supported configuration standards across enrolled on-premises machines. This task instead requires the team to establish the runtime connection from a supported on-premises server to Azure Arc. The Azure policy does not convert on-prem machines into Azure VMs.

C:

It projects a non-Azure machine into Azure resource management. That controls the ability to register an on-premises Windows server as a manageable Azure resource for security governance; the described requirement is to establish the runtime connection from a supported on-premises server to Azure Arc. The connected machine still resides outside Azure infrastructure.

Question 14

To meet a documented security control, an Azure operator must focus developers on actionable high-risk findings produced by supported pipeline or repo assessment. Which GitHub DevOps security task should be used?

  1. Code security findings triage
  2. GitHub organization connector
  3. GitLab secrets discovery
  4. Infrastructure as code misconfiguration scan

Explanation

Correct Answer

A:

In this case it aggregates reported development security issues for review, allowing the team to focus developers on actionable high-risk findings produced by supported pipeline or repo assessment. Finding visibility does not automatically merge a code fix.

Incorrect Answers

B:

By itself it connects the chosen GitHub organization with Defender DevOps security capabilities. That is relevant for an intention to onboard an enterprise's GitHub repositories for cloud DevOps security assessment, not the separate decision to focus developers on actionable high-risk findings produced by supported pipeline or repo assessment. Organization-level authorization is required.

C:

It uses source-code security scanning to identify exposed secrets. That controls the ability to find a hard-coded access credential in a supported GitLab source repository; the described requirement is to focus developers on actionable high-risk findings produced by supported pipeline or repo assessment. A secret committed to history may need revocation.

D:

The setting assesses IaC files for risky cloud provisioning patterns; it is useful if the objective is to find an insecure public storage definition before its Terraform configuration is deployed. This task instead requires the team to focus developers on actionable high-risk findings produced by supported pipeline or repo assessment. Scanning deployed VMs is a different stage.

Question 15

During a migration to a more controlled Azure environment, the goal is to ensure an accepted regulatory policy exception is revisited after a fixed review period. Choose the correct policy-governance edge case.

  1. Compliance noncompliant reason
  2. Policy assignment identity permission
  3. Initiative definition
  4. Policy exemption expiration

Explanation

Correct Answer

D:

This feature sets a time boundary for a documented exemption; the result supports the task to ensure an accepted regulatory policy exception is revisited after a fixed review period. An open-ended exclusion lacks the same expiration control.

Incorrect Answers

A:

It uses detailed compliance evaluation and policy state information, which can enable operators to identify which policy condition caused an ARM resource to fail a specific assignment. That is not the intended way to ensure an accepted regulatory policy exception is revisited after a fixed review period. The overall secure score cannot replace an individual policy evaluation.

B:

This choice grants appropriate deployment roles to the assignment's managed identity. Its proper role is to repair an automated deployment policy failing because its principal cannot create the dependent resource. In the question, the goal is to ensure an accepted regulatory policy exception is revisited after a fixed review period. Correct evaluation logic cannot compensate for missing permissions.

C:

This control groups multiple policy definitions into a single policy-set construct. That would fit a case asking to bundle several related security policies under one compliance objective. Here the team must ensure an accepted regulatory policy exception is revisited after a fixed review period. It does not replace individual rule conditions.

Question 16

A security team has been asked to enable cloud workload threat protection and supported vulnerability assessment capabilities for servers. Which VM operational security control directly supports this requirement?

  1. Microsoft Defender for Servers
  2. Azure Update Manager
  3. Azure Bastion
  4. Azure Policy guest configuration

Explanation

Correct Answer

A:

This feature provides server-focused Defender security features according to the selected plan; the result supports the task to enable cloud workload threat protection and supported vulnerability assessment capabilities for servers. Underlying server onboarding and feature settings matter.

Incorrect Answers

B:

This choice coordinates update compliance and patch installation workflows. Its proper role is to schedule and assess supported operating-system patching across cloud and Arc-connected servers. In the question, the goal is to enable cloud workload threat protection and supported vulnerability assessment capabilities for servers; it is not a replacement for vulnerability prioritization.

C:

This control provides managed browser-based or supported native-client access over private VM addresses. That would fit a case asking to allow an administrator to open RDP sessions to private Azure VMs without assigning each VM a public IP. Here the team must enable cloud workload threat protection and supported vulnerability assessment capabilities for servers. A correctly configured Bastion subnet and permissions are required.

D:

This choice evaluates guest settings against assigned configuration requirements. Its proper role is to audit supported operating-system configuration compliance inside monitored virtual machines. In the question, the goal is to enable cloud workload threat protection and supported vulnerability assessment capabilities for servers; resource tags alone cannot inspect in-guest state.

Question 17

A workload owner needs to have an Azure VM get a token for Key Vault without placing an app password on disk while keeping unrelated functionality unchanged. Which application authentication method is the best fit?

  1. GitHub Actions OIDC federation
  2. Client secret
  3. Managed identity authentication
  4. Certificate credential

Explanation

Correct Answer

C:

It lets the hosted workload request tokens using Azure-managed identity infrastructure. That is a match for the precise goal to have an Azure VM get a token for Key Vault without placing an app password on disk. The target resource still requires appropriate access rights.

Incorrect Answers

A:

It establishes federated trust with GitHub's workload token issuer, which can enable operators to let a GitHub workflow authenticate to Azure using short-lived identity tokens. That is not the intended way to have an Azure VM get a token for Key Vault without placing an app password on disk. Storing long-lived Azure client secrets is avoidable.

B:

It uses a stored secret in the client credential authentication process. That controls the ability to supply a confidential application with a time-limited shared credential where other mechanisms cannot be used; the described requirement is to have an Azure VM get a token for Key Vault without placing an app password on disk. Secret storage and rotation become operational obligations.

D:

It uses asymmetric proof of possession for an application registration. This helps when a team needs to authenticate a confidential client with a private key rather than a shared text secret, but the requirement here is to have an Azure VM get a token for Key Vault without placing an app password on disk. Private-key custody and certificate renewal remain required.

Question 18

An AKS security design requires that administrators never expose the Kubernetes API server publicly and that production pods communicate only with explicitly approved pod peers. Which TWO controls satisfy those separate restrictions? Choose TWO.

  1. AKS authorized IP ranges
  2. Kubernetes NetworkPolicy
  3. AKS outbound type with UDR
  4. Private AKS cluster

Explanation

Correct Answers

B:

It enforces supported pod-level network communication rules with a compatible dataplane. That is a match for the precise goal to deny direct pod-to-pod traffic except explicitly authorized namespace and port flows. A subnet NSG does not express Kubernetes pod labels. The other keyed control separately covers the need to keep the Kubernetes API server endpoint off the public Internet in a supported cluster design.

D:

Under the chosen configuration, it uses a private API endpoint accessible through private network paths. That serves the request to keep the Kubernetes API server endpoint off the public Internet in a supported cluster design. Node egress still needs its own security controls. The other keyed control separately covers the need to deny direct pod-to-pod traffic except explicitly authorized namespace and port flows.

Incorrect Answers

A:

This control filters the public control-plane entry path by permitted IP ranges. That would fit a case asking to limit access to a public Kubernetes API endpoint to approved administrator source addresses. Here the team must deny direct pod-to-pod traffic except explicitly authorized namespace and port flows and keep the Kubernetes API server endpoint off the public Internet in a supported cluster design. It does not make the API endpoint private.

C:

The feature configures supported outbound routing for cluster nodes through custom routes. It would be appropriate to send node egress through an existing centrally inspected appliance path; this scenario instead needs to deny direct pod-to-pod traffic except explicitly authorized namespace and port flows and keep the Kubernetes API server endpoint off the public Internet in a supported cluster design. Required AKS dependencies must remain reachable.

Question 19

In a production security design, the requirement is to preserve supported deleted backup items for a recovery interval before irreversible loss. Which Azure Backup security layer most precisely meets it?

  1. Azure Backup storage redundancy
  2. Backup vault immutability
  3. Backup vault soft delete
  4. Managed identity on backup vault

Explanation

Correct Answer

C:

This feature provides a safety window against accidental or malicious deletion; the result supports the task to preserve supported deleted backup items for a recovery interval before irreversible loss. It is distinct from immutable backup configuration.

Incorrect Answers

A:

This control controls eligible backup storage replication choices. That would fit a case asking to choose how backup data is replicated between storage fault domains and regions. Here the team must preserve supported deleted backup items for a recovery interval before irreversible loss. Replication by itself does not protect recently deleted backup items from purge.

B:

The feature applies immutability controls to qualifying backup operations. It would be appropriate to prevent unauthorized reduction of protected backup retention or deletion of recovery points in a supported immutable vault design; this scenario instead needs to preserve supported deleted backup items for a recovery interval before irreversible loss. Locking the configuration increases resistance to reversal.

D:

It provides a workload principal for required data access, which can enable operators to allow a vault to authenticate to dependent protected resources without storing service credentials. That is not the intended way to preserve supported deleted backup items for a recovery interval before irreversible loss. Corresponding roles must still be assigned.

Question 20

A security engineer needs to control the encryption key protecting supported Azure managed disks via a customer Key Vault key. Which disk security feature best addresses the requirement?

  1. Disk encryption set with customer-managed key
  2. Azure Disk Encryption
  3. Encryption at host
  4. Confidential VM
  5. Storage service encryption

Explanation

Correct Answer

A:

It links disk encryption to a customer-managed key referenced by an encryption set. That is the relevant Azure behavior for a plan to control the encryption key protecting supported Azure managed disks via a customer Key Vault key. Key availability and permissions affect disk access.

Incorrect Answers

B:

It integrates BitLocker or dm-crypt with Azure Key Vault-based key protection. That controls the ability to identify guest-level BitLocker or dm-crypt encryption on an existing legacy Azure virtual machine; the described requirement is to control the encryption key protecting supported Azure managed disks via a customer Key Vault key. ADE retires September 15 2028 and encryption at host is preferred for new virtual machines.

C:

It encrypts temporary disks and disk caches at the host where enabled, which can enable operators to protect VM data between host and storage using encryption on the Azure host for supported VMs. That is not the intended way to control the encryption key protecting supported Azure managed disks via a customer Key Vault key. It is configured at the VM level and is distinct from guest ADE.

D:

This alternative uses confidential VM memory protection mechanisms supported by the SKU. Its purpose is to protect sensitive data during processing using supported hardware-backed confidential-computing isolation, rather than to control the encryption key protecting supported Azure managed disks via a customer Key Vault key. It addresses runtime confidentiality beyond ordinary boot integrity.

E:

The mechanism protects supported persistent data at rest in the Azure storage subsystem. That solves the different need to encrypt Azure managed storage data by default at the platform service layer, not the need to control the encryption key protecting supported Azure managed disks via a customer Key Vault key. It does not select guest disk encryption or confidential VM features.

Microsoft Azure Security Technologies (AZ-500) Practice Tests