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

Question 30

A deployment team needs a supported way to locate exposed storage accounts rather than virtual machines in a large multicloud security inventory. Identify the best Defender inventory filter.

  1. Subscription scope filter
  2. AWS permission diagnostics
  3. Unhealthy resource filter
  4. Resource type filter

Explanation

Correct Answer

D:

It groups assets by their underlying workload category. That is the relevant Azure behavior for a plan to locate exposed storage accounts rather than virtual machines in a large multicloud security inventory. Findings must still be examined on each resource.

Incorrect Answers

A:

It narrows inventory context to selected cloud scopes. A situation requiring administrators to review security posture only for a newly acquired business unit's connected Azure subscription would benefit, while this case asks to locate exposed storage accounts rather than virtual machines in a large multicloud security inventory. Other connected subscriptions are not represented in that view.

B:

In normal use it checks the AWS-side authorizations required for the chosen Defender features. That helps to investigate why Defender cannot assess an AWS account after connector setup, whereas the request is to locate exposed storage accounts rather than virtual machines in a large multicloud security inventory. The Azure subscription Owner role alone does not grant AWS access.

C:

It filters the cloud inventory by assessed unhealthy state, which can enable operators to find protected assets with open Defender recommendations that require remediation. That is not the intended way to locate exposed storage accounts rather than virtual machines in a large multicloud security inventory. Not every healthy asset is immune to new threats.

Question 31

An Azure security engineer must decide how to provide a revocation-friendly permission boundary for compatible service SAS tokens. Which SAS type choice is designed for that job?

  1. Stored access policy
  2. Regenerate a compromised account key
  3. Account SAS
  4. User delegation SAS

Explanation

Correct Answer

A:

It defines identifiers and constraints that supported service SAS signatures may reference. That is the relevant Azure behavior for a plan to provide a revocation-friendly permission boundary for compatible service SAS tokens. It does not apply to every SAS type.

Incorrect Answers

B:

The setting replaces the account secret and invalidates signatures dependent on the old key; it is useful if the objective is to invalidate requests signed by a storage key known to have leaked. This task instead requires the team to provide a revocation-friendly permission boundary for compatible service SAS tokens. Clients using that key require new credentials.

C:

This choice can authorize configured services resource types and permissions. Its proper role is to grant a maintenance client specified service-level operations across selected storage services using one token. In the question, the goal is to provide a revocation-friendly permission boundary for compatible service SAS tokens; it is signed using the account key rather than an Entra user delegation key.

D:

This choice uses a user delegation key and blob SAS permissions. Its proper role is to let an Entra-authenticated web tier issue narrow blob download links without exposing the storage account key. In the question, the goal is to provide a revocation-friendly permission boundary for compatible service SAS tokens; this approach cannot sign Azure Files access.

Question 32

To meet a documented security control, an Azure operator must grant read access to selected registry repositories under an RBAC-plus-ABAC repository configuration. Which ACR access role should be used?

  1. Image vulnerability scanning
  2. AcrDelete
  3. Container Registry Repository Reader
  4. AcrPush

Explanation

Correct Answer

C:

This control supports repository-scoped access by eligible role-assignment conditions. That is the action required to grant read access to selected registry repositories under an RBAC-plus-ABAC repository configuration. It belongs to a different authorization model than legacy AcrPull.

Incorrect Answers

A:

It analyzes image components against known vulnerability findings, which can enable operators to find known vulnerable operating-system packages in images before deployment. That is not the intended way to grant read access to selected registry repositories under an RBAC-plus-ABAC repository configuration. Scanning alone does not block deployment automatically.

B:

This choice provides deletion permissions for relevant registry artifacts. Its proper role is to authorize a maintenance job to remove outdated artifacts from a registry using the traditional permission model. In the question, the goal is to grant read access to selected registry repositories under an RBAC-plus-ABAC repository configuration. It should be separated from routine read-only deployment access.

D:

It grants push capabilities along with relevant pull operations in the traditional model. That controls the ability to give a trusted build identity permission to publish images into a traditionally RBAC-protected registry; the described requirement is to grant read access to selected registry repositories under an RBAC-plus-ABAC repository configuration. Scope control depends on the registry permission model.

Question 33

During a migration to a more controlled Azure environment, the goal is to customize an allowed-location list without copying the policy rule for every environment. Choose the correct Azure Policy management object.

  1. Policy assignment parameter update
  2. Policy definition
  3. Policy parameter
  4. Initiative definition

Explanation

Correct Answer

C:

It exposes values supplied when a definition or initiative is assigned. This directly supports the requirement to customize an allowed-location list without copying the policy rule for every environment. The parameter is not a separate enforcement engine.

Incorrect Answers

A:

It updates evaluation criteria for the existing assignment, which can enable operators to change the allowed values a previously assigned policy uses at its scope. That is not the intended way to customize an allowed-location list without copying the policy rule for every environment. This changes requirements rather than modifying every resource immediately.

B:

The feature contains conditions and an effect evaluated by Azure Policy. It would be appropriate to express a reusable rule that checks whether a resource matches organizational requirements; this scenario instead needs to customize an allowed-location list without copying the policy rule for every environment. The rule is not applied until it receives an assignment.

D:

The setting groups multiple policy definitions into a single policy-set construct; it is useful if the objective is to bundle several related security policies under one compliance objective. This task instead requires the team to customize an allowed-location list without copying the policy rule for every environment. It does not replace individual rule conditions.

Question 34

For a protected Azure environment, an engineer wants to connect a service connection to Azure without storing a service-principal secret. Which identity in deployment pipelines provides the required behavior?

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

Explanation

Correct Answer

B:

Under the chosen configuration, it trusts a pipeline-provided token for an Entra identity exchange. That serves the request to connect a service connection to Azure without storing a service-principal secret. Federation subject and issuer configuration must be correct.

Incorrect Answers

A:

It establishes federated trust with GitHub's workload token issuer. That controls the ability to let a GitHub workflow authenticate to Azure using short-lived identity tokens; the described requirement is to connect a service connection to Azure without storing a service-principal secret. Storing long-lived Azure client secrets is avoidable.

C:

The mechanism maps a Kubernetes service account identity to a supported Azure workload principal. That solves the different need to allow a Kubernetes service account to access Azure resources using federated Entra tokens, not the need to connect a service connection to Azure without storing a service-principal secret. A pod does not inherit node privileges automatically.

D:

In normal use it uses the VM's platform-managed principal for token issuance. That helps to give a hosted build runner on an Azure VM access without manually configured client credentials, whereas the request is to connect a service connection to Azure without storing a service-principal secret. It depends on the executing workload actually running on that Azure VM.

Question 35

A security review identifies a need to evaluate a policy's compliance without applying its deny or modify enforcement during rollout. Which Azure Policy scope behavior should the team choose?

  1. Policy mode Indexed
  2. Policy exemption
  3. Policy assignment
  4. Enforcement mode DoNotEnforce

Explanation

Correct Answer

D:

It lets configured assignment evaluation proceed without active enforcement for applicable effects. That is the relevant Azure behavior for a plan to evaluate a policy's compliance without applying its deny or modify enforcement during rollout. The policy remains assigned.

Incorrect Answers

A:

It targets common ARM resources that support indexed properties. A situation requiring administrators to restrict policy evaluation to resource types supporting tags and location when that narrower mode is intended would benefit, while this case asks to evaluate a policy's compliance without applying its deny or modify enforcement during rollout. It is inappropriate for every possible resource type.

B:

This alternative removes identified resources from specified policy compliance evaluation according to the exemption. Its purpose is to record a time-limited formally approved exception with a documented exemption category, rather than to evaluate a policy's compliance without applying its deny or modify enforcement during rollout. Exceptions need governance and review.

C:

The feature binds the definition to a chosen scope with parameters and settings. It would be appropriate to enforce a policy or initiative at a subscription or resource-group scope; this scenario instead needs to evaluate a policy's compliance without applying its deny or modify enforcement during rollout. The definition alone does not target resources.

Question 36

To meet a documented security control, an Azure operator must use Azure-managed encryption key lifecycle without provisioning a customer Key Vault key. Which storage encryption setting should be used?

  1. Service-managed key
  2. Encryption in transit
  3. System-assigned identity for CMK
  4. Infrastructure encryption

Explanation

Correct Answer

A:

Under the chosen configuration, it provides default encryption at rest using keys controlled by the platform. That serves the request to use Azure-managed encryption key lifecycle without provisioning a customer Key Vault key. Customer key revocation control is not available.

Incorrect Answers

B:

The feature uses secure transport such as TLS and supported SMB encryption. It would be appropriate to protect files and blobs against interception while they cross client-to-service network paths; this scenario instead needs to use Azure-managed encryption key lifecycle without provisioning a customer Key Vault key. It is independent of at-rest encryption key custody.

C:

It supplies an Azure workload principal to authenticate key operations; this addresses a goal to authorize a supported storage account identity to use an external encryption key in Key Vault; the expected outcome in the question is to use Azure-managed encryption key lifecycle without provisioning a customer Key Vault key. Network and key permissions must also allow access.

D:

It applies additional platform infrastructure encryption where the account supports it. This helps when a team needs to require a second independent at-rest encryption layer beneath normal storage service encryption, but the requirement here is to use Azure-managed encryption key lifecycle without provisioning a customer Key Vault key. It differs from selecting a customer-managed key for the main layer.

Question 37

The security operations team has been asked to detect unusual behavior by comparing entity activity against learned baselines and peer behavior. Select the most direct Sentinel enrichment facility.

  1. Incident comments
  2. UEBA insights
  3. Scheduled analytics rule
  4. Watchlist

Explanation

Correct Answer

B:

The mechanism provides user and entity behavior analytics where enabled, which addresses the specific need to detect unusual behavior by comparing entity activity against learned baselines and peer behavior. A static IP allowlist cannot perform equivalent behavioral analysis.

Incorrect Answers

A:

The feature preserves collaboration context during incident handling. It would be appropriate to capture analyst decisions and supporting reasoning in a specific security case record; this scenario instead needs to detect unusual behavior by comparing entity activity against learned baselines and peer behavior. Comments are not a replacement for automated evidence ingestion.

C:

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 detect unusual behavior by comparing entity activity against learned baselines and peer behavior. Query lookback and run frequency affect detections.

D:

It makes a reference dataset available for Sentinel KQL queries; this addresses a goal to enrich sign-in analysis with an approved CSV list of high-value corporate accounts. The expected outcome in the question is to detect unusual behavior by comparing entity activity against learned baselines and peer behavior; it does not automatically block those accounts.

Question 38

A department must mount a shared Azure Files SMB share but receive read-only share access and an additional filesystem ACL that hides a restricted folder. Which TWO independent authorization layers are needed? Choose TWO.

  1. Default share-level permission
  2. Storage File Data SMB Share Reader
  3. NTFS ACL
  4. Storage File Data SMB Share Contributor

Explanation

Correct Answers

B:

It grants a read-oriented SMB share data permission at an Azure scope. That is the relevant Azure behavior for a plan to give a domain user read-only share-level authorization through Azure Files SMB. NTFS ACLs can further restrict access. The other keyed control separately covers the need to restrict a specific subfolder to one team after a share-level role permits access.

C:

It enforces directory and file permissions within an SMB share. This directly supports the requirement to restrict a specific subfolder to one team after a share-level role permits access. A share-level Azure role alone does not define each folder's permissions. The other keyed control separately covers the need to give a domain user read-only share-level authorization through Azure Files SMB.

Incorrect Answers

A:

It configures a fallback share-level authorization for eligible authenticated identities. A situation requiring administrators to provide an organization-defined baseline share role for certain identity-based Azure Files access designs would benefit, while this case asks to give a domain user read-only share-level authorization through Azure Files SMB and restrict a specific subfolder to one team after a share-level role permits access. It does not override restrictive NTFS file ACLs.

D:

The setting provides write-capable SMB share-level authorization; it is useful if the objective is to let a department modify files through an SMB share without granting elevated share management. This task instead requires the team to give a domain user read-only share-level authorization through Azure Files SMB and restrict a specific subfolder to one team after a share-level role permits access. File-system ACLs are still evaluated.

Question 39

A workload owner needs to let API Management retrieve a secret or reach an Azure backend without storing a client secret while keeping unrelated functionality unchanged. Which API Management perimeter feature is the best fit?

  1. Validate JWT policy
  2. APIM IP filtering policy
  3. APIM client certificate authentication
  4. APIM managed identity

Explanation

Correct Answer

D:

Under the chosen configuration, it uses its managed identity to acquire target-service access tokens. That serves the request to let API Management retrieve a secret or reach an Azure backend without storing a client secret. Backend authorizations are still required.

Incorrect Answers

A:

It checks token authenticity and permitted claims at the API gateway; this addresses a goal to reject API requests whose bearer tokens fail configured issuer audience or claim checks. The expected outcome in the question is to let API Management retrieve a secret or reach an Azure backend without storing a client secret. It does not create a Microsoft Entra identity.

B:

The option matches inbound caller IP information at the gateway. It addresses how to reject calls from source address ranges that are not approved by the organization's API policy, rather than the specified outcome to let API Management retrieve a secret or reach an Azure backend without storing a client secret. Proxy forwarding and trusted upstream network design can affect source visibility.

C:

By itself it allows gateway policies to inspect and validate client certificate information. That is relevant for an intention to require partner clients to present trusted certificates to the API gateway, not the separate decision to let API Management retrieve a secret or reach an Azure backend without storing a client secret. A server TLS certificate alone authenticates only the server.

Question 40

The infrastructure team is planning how to use an organization-controlled Key Vault key for SQL's transparent encryption protector. What TDE key custody option is the appropriate choice?

  1. Customer-managed TDE protector
  2. TDE geo-replication key planning
  3. Service-managed TDE protector
  4. Transparent Data Encryption

Explanation

Correct Answer

A:

This control brings key custody and rotation controls to the database encryption key hierarchy. That is the action required to use an organization-controlled Key Vault key for SQL's transparent encryption protector. Key availability is essential for operations.

Incorrect Answers

B:

This alternative ensures key availability in the relevant regions for protected replicas. Its purpose is to make sure a secondary-region SQL database can use the required customer key during failover, rather than to use an organization-controlled Key Vault key for SQL's transparent encryption protector. Without accessible key material a secondary may be unavailable.

C:

By itself it lets the platform manage the TDE protector under the supported service design. That is relevant for an intention to use Azure-managed encryption key lifecycle for database at-rest encryption, not the separate decision to use an organization-controlled Key Vault key for SQL's transparent encryption protector. Tenant key rotation is not required.

D:

This choice protects stored database pages without changing ordinary query values. Its proper role is to encrypt SQL database data files and backups at rest with database encryption keys. In the question, the goal is to use an organization-controlled Key Vault key for SQL's transparent encryption protector. An authorized reader still sees plaintext query results.

Microsoft Azure Security Technologies (AZ-500) Practice Tests