Question 30 A technology company uses Azure Network Manager to enforce network segmentation between departments. A new department's VNet does not receive the policy. Which action most directly addresses the requirement? Review dynamic/static network group membership and deployment assignments Deploy supported security admin deny rules to the relevant network groups Permit app-specific NSG rules only within the centrally allowed traffic envelope Let each VNet owner opt out of mandatory segmentation by adding an NSG allow with higher priority Explanation Correct Answer A:Network group targeting determines which VNets receive configurations. Incorrect Answers B:Central admin rules can impose segmentation across managed networks. Here, a new department's VNet does not receive the policy. C:Although local NSGs can add granularity without overriding centrally denied flows, this alternative serves 'department teams need local allows for routine app traffic' rather than the stated need 'a new department's VNet does not receive the policy', so 'Review dynamic/static network group membership and deployment assignments' is the direct action. D:Local NSG allow rules cannot supersede an enforced central security admin deny. Here, a new department's VNet does not receive the policy.
Question 31 A university deploys an AI research assistant with access to approved departmental data. Security wants to verify the agent behaves safely on new model versions. What is the most appropriate security implementation? Permit students to query an administrator's indexed files and rely on the model to hide answers Re-run representative adversarial and permission tests before promoting an agent update Configure supported prompt-injection detection and hard authorization on connected tools Assign appropriate Foundry or APIM AI Gateway token quota to the project Explanation Correct Answer B:Tool and output behavior can change after models or guardrails are modified. Incorrect Answers A:Unauthorized retrieval is a security breach even if the final response appears restrained. Here, security wants to verify the agent behaves safely on new model versions. C:The choice can help with 'untrusted websites sometimes include instructions to reveal internal prompts' because retrieved text must remain data rather than become control instructions; it does not directly meet 'security wants to verify the agent behaves safely on new model versions', whereas 'Re-run representative adversarial and permission tests before promoting an agent update' does. D:To handle 'a research agent should not consume unlimited shared model capacity', resource limits control runaway consumption and cross-team contention; here the distinct need is 'security wants to verify the agent behaves safely on new model versions', addressed by 'Re-run representative adversarial and permission tests before promoting an agent update'.
Question 32 A technology company requires secure access to a production Linux VM pool. Management SSH must open only for approved sessions. Which approach should the engineer choose first? Assign narrowly scoped monitoring or Reader RBAC instead of VM Contributor Use one shared root credential across the VM pool for convenience Configure supported JIT VM access with appropriate source and duration restrictions Review NSG/network diagnostics and appropriate host authentication logs Explanation Correct Answer C:Just-in-time access reduces permanently exposed SSH surfaces. Source-address and expiry checks keep a disabled SSH rule from becoming permanently reachable between operations. Incorrect Answers A:Although platform access can be separated by task rather than granted broadly, this alternative serves 'an engineer needs read-only visibility but no server-management rights' rather than the stated need 'management SSH must open only for approved sessions', so 'Configure supported JIT VM access with appropriate source and duration restrictions' is the direct action. B:Shared high-privilege credentials undermine attribution and increase lateral movement risk. Here, management SSH must open only for approved sessions. D:For a different operational need, 'security needs evidence of unauthorized SSH connection attempts', network and guest records together clarify access attempts; that does not directly address 'management SSH must open only for approved sessions', for which 'Configure supported JIT VM access with appropriate source and duration restrictions' is appropriate.
Question 33 A financial institution stores application images in Azure Container Registry. Developers must not overwrite production images unintentionally. Which option best meets this stated control objective? Separate write privileges and enforce reviewed immutable release tagging policies Turn on registry admin-user credentials and put them in every build manifest Grant the required registry pull permission to the cluster's supported identity Apply supported ACR private endpoint and network restrictions where the tier permits Explanation Correct Answer A:Controlling push rights and image lifecycle protects deployment provenance. Incorrect Answers B:Shared administrator credentials destroy per-pipeline privilege boundaries and rotation control. Here, developers must not overwrite production images unintentionally. C:For a different operational need, 'aKS must pull images without embedding registry administrator credentials in pods', identity-based pulls avoid sharing a broadly privileged registry password; that does not directly address 'developers must not overwrite production images unintentionally', for which 'Separate write privileges and enforce reviewed immutable release tagging policies' is appropriate. D:Network admission narrows registry exposure independently of user permissions. Here, developers must not overwrite production images unintentionally.
Question 34 A university SOC is measuring how remediation affects Defender for Cloud secure score. A remediated control shows no immediate score increase. Which response correctly resolves this security requirement? Report verified fixes and residual high-risk exposures with score trends Inspect recommendation details and affected resources alongside score contribution Review assessment refresh, eligibility and remaining noncompliant resources Disable the least convenient recommendations and count the resulting quiet dashboard as security gain Explanation Correct Answer C:Aggregate scoring may depend on more than one resource and delayed evaluation. Incorrect Answers A:To handle 'a committee wants to present improvement honestly', transparent residual-risk reporting is more meaningful than a single aggregate percentage; here the distinct need is 'a remediated control shows no immediate score increase', addressed by 'Review assessment refresh, eligibility and remaining noncompliant resources'. B:For a different operational need, 'analysts must identify the highest-impact controllable recommendations', secure score changes as verified security improvements change assessed controls; that does not directly address 'a remediated control shows no immediate score increase', for which 'Review assessment refresh, eligibility and remaining noncompliant resources' is appropriate. D:Hiding findings does not improve the real configuration of the environment. Here, a remediated control shows no immediate score increase.
Question 35 A manufacturing company needs Linux Syslog authentication events in Microsoft Sentinel. Investigators expect the records in a recognizable destination table. Which solution is the most defensible for this scenario? Configure Azure Monitor Agent and the Syslog via AMA data connector Query the Syslog table and validate host, process, facility and severity fields Configure an appropriate data collection rule for the supported Syslog sources Assume every CEF appliance event is stored in the Syslog table without checking its connector Explanation Correct Answer B:Plain Syslog and CEF have different supported table representations. Incorrect Answers A:For a different operational need, 'linux servers must send Syslog events to the security workspace', aMA can collect supported Syslog facilities and severities into Log Analytics; that does not directly address 'investigators expect the records in a recognizable destination table', for which 'Query the Syslog table and validate host, process, facility and severity fields' is appropriate. C:Although dCR collection settings determine the admitted event categories, this alternative serves 'engineers need to specify which facilities and severities are collected' rather than the stated need 'investigators expect the records in a recognizable destination table', so 'Query the Syslog table and validate host, process, facility and severity fields' is the direct action. D:CEF parsing typically maps to CommonSecurityLog when the supported connector is used. Here, investigators expect the records in a recognizable destination table.
Question 36 A bank is considering a partner-built Security Copilot agent from Security Store. The pilot ends unsuccessfully and the agent is removed. Which action most directly addresses the requirement? Acquire and configure the agent through supported Security Store governance with scoped availability Decommission the agent and revoke any remaining partner credentials or grants Approve any partner agent solely because it appears in Security Store Use approved secret management and minimum API permissions with an accountable owner Explanation Correct Answer B:Removing a user-facing agent does not necessarily invalidate external authorizations. Incorrect Answers A:Staged deployment limits the impact of unexpected behavior. Here, the pilot ends unsuccessfully and the agent is removed. C:Marketplace presence is not equivalent to organizational risk acceptance. Here, the pilot ends unsuccessfully and the agent is removed. D:To handle 'the agent requests a new third-party API credential', partner integration should not require broad permanent tenant administrator secrets; here the distinct need is 'the pilot ends unsuccessfully and the agent is removed', addressed by 'Decommission the agent and revoke any remaining partner credentials or grants'.
Question 37 A finance system uses Microsoft Entra app registration and confidential backend APIs. A background batch process must call an API without employee interaction. What is the most appropriate security implementation? Accept any signed Entra token regardless of its audience and roles Check the audience and effective roles or scopes enforced by the API Define exposed API scopes or app roles and validate the access-token audience Use client credentials with an approved application permission for the protected API Explanation Correct Answer D:Noninteractive services require app-only authorization, not simulated user consent. Incorrect Answers A:Token validity alone is insufficient to authorize access to a different application. Here, a background batch process must call an API without employee interaction. B:The choice can help with 'a token is validly signed but the API still rejects the operation' because a signature does not establish that the token carries the needed authorization; it does not directly meet 'a background batch process must call an API without employee interaction', whereas 'Use client credentials with an approved application permission for the protected API' does. C:To handle 'aPI callers should request permissions for the actual protected resource', each access token is intended for a specific resource and should not be reused indiscriminately; here the distinct need is 'a background batch process must call an API without employee interaction', addressed by 'Use client credentials with an approved application permission for the protected API'.
Question 38 A public-sector app uses encryption keys stored in Azure Key Vault and backed by audit requirements. Security asks for a controlled replacement when a key reaches its rotation date. Which approach should the engineer choose first? Use one perpetual plaintext encryption key in application settings to avoid version complexity Assign an appropriate cryptographic role rather than unrestricted vault administrator Configure soft delete and purge protection consistent with required retention Use supported key rotation and record version transitions for dependent applications Explanation Correct Answer D:Rotation requires compatible consumers and a traceable key history. Incorrect Answers A:Unmanaged long-lived keys defeat rotation, least privilege and recoverability controls. Here, security asks for a controlled replacement when a key reaches its rotation date. B:To handle 'operators need to permit encryption but restrict broad key-management capabilities', distinct key permissions reduce the blast radius of a compromised workload; here the distinct need is 'security asks for a controlled replacement when a key reaches its rotation date', addressed by 'Use supported key rotation and record version transitions for dependent applications'. C:For a different operational need, 'a key must remain recoverable after an accidental administrator delete', recovery safeguards protect cryptographic continuity while preserving audit evidence; that does not directly address 'security asks for a controlled replacement when a key reaches its rotation date', for which 'Use supported key rotation and record version transitions for dependent applications' is appropriate.
Question 39 An Azure security team is reviewing authorization for production Kubernetes infrastructure. Operators require a task not represented by any built-in role. Which option best meets this stated control objective? Define a narrowly scoped custom role with required actions and appropriate assignable scopes Assign a suitable least-privileged Azure role at the intended resource scope Review Azure RBAC role assignments and effective access at that resource group Use a broad wildcard custom role because testing is inconvenient Explanation Correct Answer A:Custom Azure roles should specify needed operations rather than copying Owner rights. Incorrect Answers B:For a different operational need, 'developers need to inspect deployments without modifying cluster resources', azure control-plane RBAC limits who can change the managed resource; that does not directly address 'operators require a task not represented by any built-in role', for which 'Define a narrowly scoped custom role with required actions and appropriate assignable scopes' is appropriate. C:Parent-scope assignments may grant access even when local assignments are absent. Here, operators require a task not represented by any built-in role. D:Wildcard privileges make the role difficult to bound and risk excessive access. Here, operators require a task not represented by any built-in role.
Question 40 An industrial company is responding to suspected storage account key compromise. Some services can authenticate without shared account keys. Which response correctly resolves this security requirement? Publish the replacement key to a developer chat so all consumers update quickly Use secret-scanning controls and minimize storage-key distribution and retention Plan a staged rotation of the account keys with dependent application updates Migrate supported consumers to managed identity and data-plane Azure RBAC Explanation Correct Answer D:Eliminating shared-key use reduces future credential-theft impact. Identity-based data-plane authorization can be narrowed and revoked without distributing one account-wide credential to all services. Incorrect Answers A:Informal broad distribution recreates the same compromise pathway. Here, some services can authenticate without shared account keys. B:Security controls should reduce future exposure, not only rotate the current credential. Here, some services can authenticate without shared account keys. C:Although rotating one key at a time can preserve continuity while invalidating compromised credentials, this alternative serves 'it must reduce access using the stolen key without interrupting every system simultaneously' rather than the stated need 'some services can authenticate without shared account keys', so 'Migrate supported consumers to managed identity and data-plane Azure RBAC' is the direct action.