Courseiva

CCNA Security Apps Data Solutions Questions

23 questions · Security Apps Data Solutions topic · All types, answers revealed

1
MCQmedium

You are designing an API management solution using Azure API Management. The security team requires that all API calls must be authenticated using OAuth 2.0 and that only specific Azure AD applications can access the APIs. Additionally, the solution must support rate limiting and IP filtering. What should you configure?

A.Set up client certificate authentication and map certificates to Azure AD apps
B.Enable API key authentication and restrict access using subscription keys
C.Use OAuth 2.0 with Azure AD and configure inbound policies to validate JWTs
D.Configure OAuth 2.0 in Azure API Management, use validate-jwt policy to restrict to specific Azure AD apps, and add rate-limit and ip-filter policies
AnswerD

This combination meets all requirements.

Why this answer

It fully addresses all requirements: it uses OAuth 2.0 with Azure AD for authentication, the 'validate-jwt' policy restricts access to specific Azure AD applications, and the 'rate-limit' and 'ip-filter' policies satisfy the rate limiting and IP filtering requirements. Option A is incorrect because client certificate authentication is not OAuth 2.0. Option B is incorrect because API key authentication is less secure and does not allow restricting to specific Azure AD apps.

Option C is incorrect because while it uses OAuth 2.0 and validate-jwt, it does not include the required rate limiting and IP filtering policies.

2
MCQmedium

Your organization uses Microsoft Entra ID and plans to implement a custom line-of-business application that accesses Microsoft Graph APIs. The application will be used by employees and external partners. You need to ensure that the application can authenticate users and obtain appropriate permissions without exposing the client secret. What should you implement?

A.Use a system-assigned managed identity to authenticate to Microsoft Graph.
B.Implement OAuth 2.0 authorization code flow with PKCE.
C.Store the client secret in Azure Key Vault and retrieve it at runtime.
D.Register the application as a public client and use the implicit grant flow.
AnswerB

The OAuth 2.0 authorization code flow with PKCE (Proof Key for Code Exchange) is the recommended approach for native, mobile, and single-page applications that need to call Microsoft Graph. It first obtains an authorization code, which is then exchanged for tokens, and PKCE adds a cryptographically random code verifier that prevents authorization code interception or replay attacks. This flow eliminates the need for a client secret, making it secure for public clients while providing full support for refresh tokens and user consent.

Why this answer

The application is a line-of-business app used by employees and external partners, which implies it may be a public client (e.g., mobile or desktop) that cannot securely store a client secret. OAuth 2.0 authorization code flow with PKCE (Proof Key for Code Exchange) is the recommended authentication pattern for such clients because it eliminates the need for a client secret by using a dynamically generated code verifier. This ensures the client secret is never exposed.

Option B is correct. Option A (system-assigned managed identity) is only suitable for Azure-hosted services, not client applications. Option C (storing client secret in Key Vault) still requires secret retrieval at runtime, which can be insecure for public clients.

Option D (implicit grant flow) is outdated and less secure than authorization code flow with PKCE.

3
MCQmedium

A company is designing a secure API for a customer-facing application that will handle sensitive personal data. They need to ensure that only authorized client applications can call the API and that the identity of the end-user is verified. Which of the following should they implement?

A.HTTP Basic Authentication
B.OAuth 2.0 with client credentials and OpenID Connect
C.JWT bearer tokens
D.API keys
AnswerB

OAuth 2.0 with client credentials grant authenticates the client application, and OpenID Connect adds user authentication, ensuring both the client app and the end-user are verified.

Why this answer

OAuth 2.0 with client credentials grant authenticates the client application, while OpenID Connect extends OAuth 2.0 to verify the end-user's identity. Together, they satisfy both requirements: only authorized clients can call the API and the end-user's identity is confirmed. Option A (HTTP Basic Authentication) transmits credentials in plaintext and does not support user identity verification beyond the client.

Option C (JWT bearer tokens) is a token format, not a full authentication protocol; it lacks client authentication and user verification on its own. Option D (API keys) only authenticate the client, not the user, and are typically used for simple access control.

4
Multi-Selectmedium

Your company uses Microsoft Defender for Cloud Apps to protect its SaaS environment. You need to configure settings to detect and block risky user activities. Which TWO actions should you take? (Choose TWO.)

Select 2 answers
A.Block all third-party app access.
B.Define IP address ranges for trusted locations.
C.Configure anomaly detection policies.
D.Configure app discovery policies.
E.Enable session monitoring for critical applications.
AnswersC, E

Anomaly detection policies in Defender for Cloud Apps apply machine learning and user entity behavior analytics (UEBA) to establish baseline activity for each user and then flag deviations such as mass downloads, impossible travel, failed sign-ins, or unusual admin operations. These policies are purpose-built to detect risky behaviors, including compromised users and insider threats, and can trigger automated remediation through integration with Microsoft 365. Because the scenario asks for protecting user activities by detecting suspicious actions, this is the most directly relevant configuration.

Why this answer

Options C and E are correct. Configuring anomaly detection policies (Option C) helps identify unusual user behaviors that may indicate a security threat. Enabling session monitoring for critical applications (Option E) allows real-time monitoring and control of user activities, which can block risky actions as they occur.

Option A is incorrect because blocking all third-party app access is overly restrictive and not a targeted measure for detecting risky user activities. Option B is incorrect because defining IP address ranges for trusted locations is for location-based policies, not for detecting risky behaviors. Option D is incorrect because app discovery policies are used to discover shadow IT, not to monitor or block risky user activities.

5
MCQhard

A government agency, Northwind, is deploying a sensitive application on Azure App Service Environment (ASE) v3. The application handles classified data and must meet FedRAMP High requirements. You need to design a security solution that includes: (1) encryption at rest for the app's content and configuration, (2) encryption in transit with TLS 1.2 or higher, (3) network isolation using VNet integration and private endpoints, (4) identity-based access to Azure SQL Database using managed identity, and (5) certificate management for custom domains using Azure Key Vault. Which of the following designs meets all requirements?

A.Deploy the app on a multi-tenant App Service plan, enforce HTTPS only with TLS 1.2, use a system-assigned managed identity to access Azure SQL Database, and configure TLS/SSL certificates from Azure Key Vault.
B.Deploy the app on an ASE v3 in a VNet, enforce HTTPS only with TLS 1.2, use a system-assigned managed identity to access Azure SQL Database, and configure TLS/SSL certificates from Azure Key Vault.
C.Deploy the app on an ASE v3 in a VNet, enforce HTTPS only with TLS 1.2, use a user-assigned managed identity to access Azure SQL Database, and configure TLS/SSL certificates from App Service certificates.
D.Deploy the app on an ASE v3 in a VNet, enforce HTTPS only with TLS 1.2, use a service principal to access Azure SQL Database, and configure TLS/SSL certificates from Azure Key Vault.
AnswerB

ASE v3 provides network isolation, managed identity provides secure database access, and Key Vault handles certificates.

Why this answer

ASE v3 is deployed in a VNet, providing network isolation. Enforcing HTTPS only with TLS 1.2 ensures encryption in transit. Using system-assigned managed identity allows identity-based access to Azure SQL Database.

TLS/SSL certificates from Azure Key Vault support certificate management. Option A is wrong because a multi-tenant App Service plan does not provide network isolation, failing the VNet integration requirement. Option C is wrong because App Service certificates are not managed via Key Vault, failing the certificate management requirement.

Option D is wrong because service principal is less secure than managed identity and does not meet the identity-based access requirement.

6
MCQhard

Contoso, a healthcare provider, is deploying a new patient portal on Azure App Service that stores electronic health records (EHR) in Azure Cosmos DB for NoSQL. The solution must comply with HIPAA and HITRUST. You need to ensure that data is encrypted at rest and in transit, and that access is restricted based on user roles. Cosmos DB must be configured with a private endpoint to prevent public internet access. You plan to use Azure Key Vault to manage encryption keys. Additionally, the application will access Cosmos DB using a system-assigned managed identity. Which of the following is the most complete and secure design?

A.Enable encryption at rest using service-managed keys, enforce TLS 1.2, configure a service endpoint for Cosmos DB, and grant the managed identity access using Cosmos DB built-in roles (e.g., Cosmos DB Built-in Data Contributor).
B.Disable encryption at rest to improve performance, enforce TLS 1.2, configure a private endpoint, and use the managed identity with a read-write key in Azure Key Vault.
C.Enable encryption at rest using service-managed keys, enforce TLS 1.2, configure a firewall to allow only the App Service outbound IP, and use read-write keys in application settings.
D.Enable encryption at rest using a customer-managed key in Azure Key Vault, enforce TLS 1.2, configure a private endpoint for Cosmos DB, and grant the managed identity access via Azure RBAC with a custom role that allows read/write to specific containers.
AnswerD

CMK provides key control, private endpoint isolates network, managed identity eliminates key management, and RBAC provides fine-grained access.

Why this answer

It provides the most comprehensive security for HIPAA/HITRUST compliance. Customer-managed keys in Azure Key Vault give Contoso control over encryption keys, which is required by HIPAA. TLS 1.2 ensures encryption in transit.

A private endpoint for Cosmos DB prevents public internet access, offering better isolation than service endpoints or firewall rules. Finally, granting the managed identity access via Azure RBAC with a custom role allows granular, least-privilege access to specific containers, which is more secure than using built-in roles or connection strings. Option A is wrong because service-managed keys do not provide the key control required for HIPAA, and service endpoints are less secure than private endpoints.

Option B is wrong because disabling encryption at rest is a security risk and contrary to compliance requirements; also, storing a read-write key in Key Vault (to be retrieved by the app) is less secure than using managed identity with RBAC. Option C is wrong because firewall rules are less secure than private endpoints, and storing read-write keys in application settings is a security risk.

7
Multi-Selecteasy

A company uses Microsoft Defender for Cloud to secure their Azure workloads. They need to ensure that all Azure SQL databases have threat detection enabled. Which TWO actions should they take? (Choose two.)

Select 2 answers
A.Enable Microsoft Defender for Cloud's 'SQL servers on machines' plan
B.Enable Azure Defender for SQL at the subscription level
C.Configure SQL Vulnerability Assessment
D.Enable Advanced Threat Protection on each SQL server individually
E.Configure SQL auditing on each database
AnswersB, D

Enabling Azure Defender for SQL at the subscription level automatically enables Advanced Threat Protection for all Azure SQL databases in the subscription, ensuring threat detection across all databases.

Why this answer

The 'SQL servers on machines' plan applies to SQL Server instances on Azure VMs (IaaS), not to Azure SQL Database (PaaS). Option B is correct: enabling Azure Defender for SQL at the subscription level automatically enables threat detection for all Azure SQL databases in that subscription. Option C is incorrect: SQL Vulnerability Assessment identifies vulnerabilities but does not enable threat detection.

Option D is correct: enabling Advanced Threat Protection on each SQL server individually also ensures threat detection for all databases on that server, though it is less efficient than subscription-level enablement. Option E is incorrect: SQL auditing is for compliance and auditing, not threat detection.

Exam trap

Candidates may incorrectly select Option A, thinking it covers Azure SQL Database, or Option C, confusing vulnerability assessment with threat detection. The correct approaches are subscription-level (B) or server-level (D) enablement.

8
Multi-Selectmedium

Your organization is designing a security solution for a new web application that will be deployed on Azure App Service. The application will access an Azure SQL Database and an Azure Storage account. The security requirements include: (1) use managed identities for authentication, (2) encrypt data at rest and in transit, (3) restrict network access to the database and storage account to only the App Service, and (4) use Azure Key Vault for secrets management. Which TWO of the following should you implement?

Select 2 answers
A.Configure the App Service to use a connection string with a storage account access key.
B.Configure private endpoints for the SQL Database and Storage account.
C.Configure the App Service to use a system-assigned managed identity.
D.Use shared access signatures (SAS) for the App Service to access the Storage account.
E.Configure service endpoints for the SQL Database and Storage account.
AnswersB, C

Private endpoints for Azure SQL Database and Azure Storage assign each resource a private IP address from your virtual network, ensuring that all traffic to these PaaS services traverses the Microsoft backbone network and never the public internet. This provides strong network-level isolation because the service endpoint is only reachable from your VNet, and you can disable public access entirely, eliminating exposure to internet-based attacks. Private endpoints also support Azure Private Link, which integrates with network security groups, route tables, and on-premises connectivity via VPN or ExpressRoute. Unlike service endpoints, private endpoints give you granular control over which specific resource instances can be accessed, not just the service as a whole.

Why this answer

(Configure private endpoints) ensures that network traffic to the SQL Database and Storage account is isolated to the virtual network, meeting the requirement to restrict network access to only the App Service. Option C (system-assigned managed identity) enables the App Service to authenticate to Azure SQL Database and Storage without storing credentials, aligning with the managed identity and Key Vault requirements. Option A is incorrect because using a connection string with a storage account access key introduces a secret and bypasses managed identity.

Option D is incorrect because SAS tokens are also secrets and less secure than managed identities. Option E is incorrect because service endpoints do not provide the same level of private network isolation as private endpoints and rely on public endpoints with network rules.

9
MCQmedium

Your company, Fabrikam, is a global financial services firm that handles sensitive customer data. You are designing a security solution for a new customer-facing web application that processes credit card transactions. The application will be deployed on Azure Kubernetes Service (AKS) and will use Azure SQL Database for data storage. Compliance requirements include PCI DSS and GDPR. You need to ensure that data at rest and in transit is encrypted, and that access to the database is tightly controlled. You plan to use Azure Key Vault for managing encryption keys. Which combination of actions should you implement?

A.Enable TDE with a customer-managed key in Azure Key Vault, use Always Encrypted for sensitive columns, enforce TLS 1.2, and use Azure AD managed identities for authentication with a firewall rule to allow only the AKS cluster's outbound IP.
B.Enable TDE with a customer-managed key stored in the application's configuration file, enforce TLS 1.2, and use Azure AD authentication.
C.Implement application-level encryption for credit card data, enforce TLS 1.2, and use Azure AD managed identities with no database firewall rules.
D.Enable Transparent Data Encryption (TDE) with a service-managed key, enforce TLS 1.0, and use SQL authentication.
AnswerA

This provides encryption at rest (TDE and Always Encrypted), encryption in transit (TLS 1.2), and secure access with managed identities and IP restrictions.

Why this answer

It provides comprehensive encryption: TDE with a customer-managed key in Azure Key Vault encrypts data at rest, Always Encrypted protects sensitive columns (e.g., credit card numbers) with column-level encryption, TLS 1.2 secures data in transit, and Azure AD managed identities with a firewall rule restricted to the AKS cluster's outbound IP ensure secure authentication and access control. This combination meets PCI DSS and GDPR requirements.

Option B is incorrect because storing the customer-managed key in the application's configuration file is insecure and violates best practices for key management; keys must be stored in a secure vault like Azure Key Vault.

Option C is incorrect because application-level encryption alone does not guarantee data-at-rest encryption within Azure SQL Database, and disabling firewall rules (using no firewall) exposes the database to unauthorized access.

Option D is incorrect because it uses a service-managed key (less control), TLS 1.0 (not PCI DSS compliant), and SQL authentication (less secure than Azure AD managed identities).

10
MCQeasy

Your company uses Microsoft Defender for Cloud to secure Azure workloads. You need to ensure that all storage accounts have the 'Secure transfer required' setting enabled. What should you use?

A.Azure role-based access control (RBAC)
B.Azure Blueprints
C.Microsoft Defender for Cloud regulatory compliance dashboard
D.Azure Policy
AnswerD

Azure Policy can audit or enforce the 'Secure transfer required' property on storage accounts.

Why this answer

Azure Policy can audit and enforce the 'Secure transfer required' setting across all storage accounts. Option A (RBAC) is incorrect because RBAC controls access permissions, not resource configuration. Option B (Azure Blueprints) is deprecated and not the direct solution for this requirement.

Option C (Microsoft Defender for Cloud regulatory compliance dashboard) provides visibility but does not enforce settings.

11
Multi-Selecthard

A financial services company uses Microsoft Sentinel for SIEM. They need to detect potential data exfiltration from their Azure SQL Database. Which THREE data sources should they connect to Sentinel to achieve this? (Choose THREE.)

Select 3 answers
A.Microsoft Defender for Cloud alerts
B.Azure AD sign-in logs
C.Azure Network Watcher NSG flow logs
D.Azure SQL Database audit logs
E.Azure Activity Logs
AnswersC, D, E

Provide network traffic data to detect unusual data transfers.

Why this answer

Azure SQL Database audit logs (Option D) capture detailed information about database queries and operations, which can help detect unauthorized data access. Azure Activity Logs (Option E) provide visibility into management-plane events such as changes to database configurations or firewall rules. Network Security Group (NSG) flow logs (Option C) show network traffic patterns to and from Azure SQL Database, enabling the detection of abnormal data transfer volume or patterns indicative of exfiltration.

Options A and B are incorrect: Microsoft Defender for Cloud alerts provide security recommendations and alerts but not raw data exfiltration details; Azure AD sign-in logs focus on user authentication events, not database operations.

12
Multi-Selectmedium

A company is designing a data classification strategy using Microsoft Purview. They need to automatically classify and protect sensitive data stored in Azure Blob Storage. Which TWO capabilities should they use? (Choose TWO.)

Select 2 answers
A.Sensitivity labels
B.Data Loss Prevention (DLP) policies
C.Information Barriers
D.Microsoft Purview Data Map
E.Azure Policy
AnswersA, D

Sensitivity labels are a correct part of a Microsoft Purview classification strategy because they allow you to tag files and emails with classification, and optionally apply encryption or watermarks. They can be auto-applied through content inspection of sensitive information types and can extend to other workloads, yet they mark the content rather than maintain a centralized data map. In an Azure-centric design, they complement, rather than replace, Purview Data Map's asset-level classification.

Why this answer

The correct options are A and D. Sensitivity labels (A) can be applied to automatically classify and protect sensitive data, including in Azure Blob Storage. Microsoft Purview Data Map (D) provides auto-discovery and classification of data assets.

Option B (DLP policies) is primarily for endpoint and Microsoft 365 workloads, not for Azure Blob. Option C (Information Barriers) is for restricting communication, not data classification. Option E (Azure Policy) is for governance, not data classification or protection.

13
MCQhard

Your company uses Microsoft Entra ID for identity management. You need to implement a solution that allows external partners to access a specific application using their own identity providers, while ensuring that their accounts are automatically deprovisioned when removed from their home organization. Which feature should you use?

A.B2B direct federation
B.Entitlement management with connected organizations
C.Self-service sign-up
D.Identity Governance access reviews
AnswerB

Correct. Entitlement management with connected organizations automates the lifecycle of external identities, including deprovisioning when the user is removed from the partner's identity provider.

Why this answer

Entitlement management with connected organizations allows automatic provisioning and deprovisioning of external users based on their lifecycle in the partner organization. Option A is wrong because B2B direct federation only enables authentication without automatic deprovisioning. Option C is wrong because self-service sign-up does not manage deprovisioning.

Option D is wrong because Identity Governance access reviews are periodic and do not automatically deprovision based on removal from the home organization.

14
Multi-Selecthard

You are designing a secure access strategy for Azure App Service web applications. The requirements are: use Azure AD for authentication, restrict access to specific IP ranges, and require multi-factor authentication (MFA) for all users. Which two components should you configure? (Choose two.)

Select 2 answers
A.Apply a network security group (NSG) to the App Service subnet
B.Configure Azure App Service authentication with Microsoft Entra ID
C.Create a Conditional Access policy in Microsoft Entra ID that requires MFA and restricts IP ranges
D.Deploy Azure Firewall to filter inbound traffic
E.Register the application in Microsoft Entra ID
AnswersB, C

Azure App Service authentication can be configured to use Microsoft Entra ID, which is required for user authentication.

Why this answer

Options B and C are correct. Azure App Service authentication can be configured to use Microsoft Entra ID for user authentication, and a Conditional Access policy can enforce MFA and restrict IP ranges. Option A is incorrect because applying an NSG to the App Service subnet is not the direct method for IP restriction; IP restrictions can be configured directly in the App Service settings.

Option D is incorrect because Azure Firewall is a network-level firewall and does not handle user authentication or application-level access control. Option E is incorrect because registering the application is a prerequisite but not a component that directly enforces access rules.

15
Multi-Selectmedium

You are designing a solution to protect a web application hosted on Azure App Service. The application uses Azure SQL Database and stores sensitive customer data. You need to ensure that the data is encrypted at rest and in transit, and that the application is protected from common web attacks. Which TWO of the following should you implement?

Select 2 answers
A.Azure Private Link for App Service
B.Enforce TLS for Azure SQL Database connections
C.Network Security Groups (NSGs) on the subnet
D.Azure Web Application Firewall (WAF) on Azure Front Door
E.Azure DDoS Protection Standard
AnswersB, D

Enforcing TLS encrypts data in transit between App Service and SQL Database; TDE encrypts at rest.

Why this answer

Enforce TLS for Azure SQL Database connections ensures data in transit is encrypted, meeting the encryption requirement. Option D: Azure Web Application Firewall (WAF) on Azure Front Door protects against common web attacks like SQL injection and XSS. Option A is incorrect because Azure Private Link provides private connectivity but does not directly protect against web attacks or encrypt data in transit.

Option C is incorrect because Network Security Groups (NSGs) filter network traffic but do not provide encryption or web application protection. Option E is incorrect because Azure DDoS Protection Standard protects against network-layer attacks, not specifically web application attacks.

16
Multi-Selecthard

Your organization is implementing a secure DevOps pipeline for Azure. You need to ensure that secrets (e.g., API keys) are not stored in source code and that access to production resources is controlled. Which THREE practices should you implement?

Select 3 answers
A.Store secrets in Azure DevOps pipeline variables with encryption enabled
B.Use Azure Key Vault to store secrets and retrieve them at deployment time
C.Use Azure DevOps variable groups linked to Azure Key Vault
D.Store secrets in a configuration file in a private Git repository
E.Use managed identities for Azure resources to authenticate to Key Vault
AnswersB, C, E

Azure Key Vault is the centralized, hardware-backed secret store that offers fine-grained access policies, automated certificate/secret rotation, and comprehensive audit logs. Retrieving secrets at deployment time—via tasks like the Azure Key Vault task or by referencing Key Vault in ARM templates—ensures releases always use the current secret version and never hardcode credentials in code or config files. This pattern also enables legitimate emergency credential rollover without pipeline modifications.

Why this answer

The correct answers are B, C, and E. Azure Key Vault is the recommended service for storing secrets securely. Using Azure DevOps variable groups linked to Key Vault allows secrets to be referenced without exposing them in pipeline code.

Managed identities provide a secure way for Azure resources to authenticate to Key Vault without storing credentials. Option A is incorrect because storing secrets in Azure DevOps pipeline variables with encryption is less secure than using Key Vault, as secrets may still be exposed in logs or exportable. Option D is incorrect because storing secrets in a configuration file in a private Git repository is insecure; even if encrypted, the key management is challenging and secrets can be accidentally exposed.

17
MCQmedium

Your organization is deploying a new line-of-business application on Azure App Service. The app must authenticate users from Microsoft Entra ID and also access a downstream API that requires a client secret. You need to recommend the most secure method for managing the client secret. What should you use?

A.Store the secret in the Azure AD app registration manifest.
B.Store the secret in an App Service application setting.
C.Store the secret in Azure Key Vault and use a Key Vault reference in App Service.
D.Store the secret in the application code as a constant.
AnswerC

Correct. Azure Key Vault provides secure, centralized storage for secrets with encryption and access auditing. App Service can reference Key Vault secrets via Key Vault references, using a managed identity to authenticate without exposing the secret.

Why this answer

Azure Key Vault provides secure storage for secrets and certificates, and App Service can reference them via managed identity or Key Vault references. Option A is wrong because the Azure AD app registration manifest is for application configuration and should not be used to store secrets; instead, use the 'Certificates & secrets' section. Option B is wrong because App Service application settings are less secure and can be accessed through the portal, lacking the fine-grained access control and auditing of Key Vault.

Option D is wrong because storing the secret in code exposes it to source control and accidental disclosure.

18
MCQhard

Wide World Importers is deploying a critical line-of-business application on Azure Kubernetes Service (AKS). The application processes financial transactions and must meet SOX compliance. You need to design a security solution that includes: encryption of secrets (e.g., database connection strings) using Azure Key Vault, automatic certificate rotation for TLS termination, network isolation of the AKS cluster, and audit logging of all access to secrets. The solution should use a managed identity for the AKS cluster to access Key Vault. Which of the following designs meets the requirements?

A.Enable managed identity for the AKS cluster, integrate Key Vault with AKS using the Secrets Store CSI driver, deploy the cluster as a private cluster, and enable diagnostic settings on Key Vault to send logs to a Log Analytics workspace.
B.Use a service principal for AKS to access Key Vault, store secrets as Kubernetes secrets, configure a private cluster, and enable audit logging on Key Vault.
C.Enable managed identity for the AKS cluster, store secrets in the cluster's native Kubernetes secrets, use a private endpoint for the AKS API server, and enable Azure Monitor for containers.
D.Use a service principal to access Key Vault, store secrets as encrypted Kubernetes secrets with a customer-managed key, deploy a public cluster with network policies, and enable Key Vault logging.
AnswerA

Managed identity eliminates long-lived service principal credentials by providing an Azure AD-backed identity automatically rotated, which AKS uses to authenticate to Key Vault. The Secrets Store CSI driver mounts selected Key Vault items directly into pods as ephemeral volumes, so secret material never persists in etcd and supports rotation without pod restarts. Deploying AKS as a private cluster ensures the Kubernetes API server receives only private IP addresses, preventing exposure to the public internet. Enabling diagnostic settings on Key Vault streams audit event logs to Log Analytics, giving the security operations team a centralized, queryable trail of access and modifications.

Why this answer

It uses managed identity for secure secret access, integrates Key Vault with AKS using the Secrets Store CSI driver for automatic secret rotation and encryption, deploys the cluster as a private cluster for network isolation, and enables diagnostic settings on Key Vault for audit logging. Option B is wrong because it uses a service principal (less secure than managed identity) and stores secrets as Kubernetes secrets (not encrypted at rest by default). Option C is wrong because it stores secrets in native Kubernetes secrets instead of Key Vault, and uses a private endpoint only for the API server, not full cluster isolation.

Option D is wrong because it uses a service principal and stores secrets as encrypted Kubernetes secrets with a customer-managed key, which is not as secure as Key Vault integration, and uses a public cluster.

Exam trap

Candidates may think that using a service principal is acceptable, but managed identity is more secure and recommended. Also, they might assume that storing secrets as Kubernetes Secrets with encryption is equivalent to using Key Vault, but Key Vault provides centralized management, automatic rotation, and independent audit logging.

19
MCQhard

A company is migrating a legacy on-premises application to Azure. The application currently uses Windows Integrated Authentication (Kerberos) and requires access to a SQL Server database on the same network. In Azure, the application will run on Azure Virtual Machines and the database will be migrated to Azure SQL Managed Instance. You need to ensure the application can authenticate to the database without storing credentials. What should you implement?

A.Store the database credentials in Azure Key Vault and retrieve them at runtime.
B.Use SQL authentication with a contained database user.
C.Join the virtual machine to an Azure AD Domain Services domain and configure the application to use Azure AD Kerberos authentication.
D.Create a service principal in Azure AD and grant it access to the database.
AnswerC

This enables Windows Integrated Authentication to Azure SQL Managed Instance without credentials.

Why this answer

Azure SQL Managed Instance supports Azure AD authentication. By joining the VM to an Azure AD Domain Services domain and using Azure AD Kerberos authentication, the application can use Windows Integrated Authentication to connect to the managed instance without storing credentials. This preserves the existing Kerberos-based authentication flow.

Option C is correct. Key Vault is unnecessary because credentials are not stored. SQL authentication requires explicit credentials.

Service principal authentication is not compatible with Kerberos integrated authentication.

20
Multi-Selecthard

Your organization uses Azure DevOps for CI/CD. You need to ensure that secrets (e.g., API keys) used in pipeline tasks are securely stored and accessed. The security requirements are: secrets must be encrypted at rest, access must be audited, and secrets must be automatically rotated. Which THREE services or features should you use? (Choose three.)

Select 3 answers
A.Azure Key Vault access policy to grant permissions.
B.Azure DevOps Variable Groups to store secrets.
C.Azure Key Vault to store secrets.
D.Azure Active Directory service principal to access secrets.
E.Azure Key Vault key rotation policy.
AnswersA, C, E

Access policies control who can read secrets, with auditing.

Why this answer

Azure Key Vault (C) securely stores secrets with encryption at rest and supports auditing via access logs. Access policies (A) grant granular permissions to users or applications, enabling audited access. Key rotation policy (E) allows automatic rotation of secrets, meeting the rotation requirement.

While Azure DevOps Variable Groups can store secrets, they lack built-in encryption at rest and rotation capabilities, so B is incorrect. Azure AD service principals are identities, not a secret store, so D is incorrect. Therefore, the three correct choices are A, C, and E.

21
MCQhard

A financial services company is deploying a new application on Azure Kubernetes Service (AKS). The application must meet PCI DSS compliance requirements, which mandate encryption of data at rest and in transit, as well as network segmentation. The application will use Azure SQL Database. What is the MOST secure approach to meet these requirements?

A.Deploy the application in an Azure App Service Environment (ASE) with a private endpoint and enable SQL Server encryption.
B.Use Azure Service Endpoints for the AKS cluster and enable Transparent Data Encryption (TDE) on Azure SQL Database.
C.Deploy Azure Firewall in front of the AKS cluster and enable SSL/TLS termination at the firewall for all incoming traffic.
D.Use Azure Policy to enforce encryption and network policies in AKS, and enable TDE and Always Encrypted for Azure SQL Database.
AnswerD

Azure Policy enforces encryption and network policies in AKS, ensuring data encryption and network segmentation. Enabling TDE and Always Encrypted on Azure SQL Database encrypts data at rest and in use, meeting PCI DSS requirements comprehensively.

Why this answer

It leverages Azure Policy to enforce encryption and network policies at the cluster level, while Azure SQL Database's TDE and Always Encrypted provide encryption at rest and in transit. This combination meets PCI DSS requirements for data encryption and network segmentation in AKS. Option A is wrong because App Service Environment is not used for AKS; the question specifies AKS.

Option B is wrong because Service Endpoints do not encrypt traffic and provide limited segmentation compared to private endpoints. Option C is wrong because Azure Firewall is a network firewall and does not enforce encryption or network policies within the AKS cluster.

22
MCQmedium

A company is implementing Microsoft Priva to manage subject rights requests. Users submit requests to access their personal data stored in Exchange Online, SharePoint, and Teams. The privacy team needs to automate the retrieval of data from these sources. Which Priva capability should they use?

A.Subject Rights Requests
B.Consent Management
C.Data Inventory
D.Data Breach Notifications
AnswerA

Subject Rights Requests in Microsoft Priva is the automated workflow that locates, retrieves, and packages personal data stored across Microsoft 365 services to fulfill data subject requests such as access, export, and deletion. It uses data profiles and content search to identify relevant records, then facilitates review in a centralized case management experience, making it the correct module for managing subject rights requests.

Why this answer

Priva Subject Rights Requests includes built-in data retrieval from Microsoft 365 sources to fulfill subject rights requests. Option C is incorrect because Data Inventory scans and maps personal data but does not retrieve data for requests. Option B is incorrect because Consent Management handles consent records, not data retrieval.

Option D is incorrect because Data Breach Notifications are for incident response, not subject rights requests.

23
MCQmedium

A healthcare organization is using Microsoft Purview to govern its data estate. They have multiple Azure Data Lake Storage accounts and Azure SQL Databases. They need to classify sensitive data such as patient health information (PHI) and apply protection automatically when data is exported from these sources to an external location. The organization also wants to prevent unauthorized users from accessing sensitive data in Azure SQL Database by using built-in security features. The compliance team requires that any access to sensitive data be logged and auditable. You need to design a solution that meets these requirements. What should you implement?

A.Use Microsoft Purview to scan and classify data. Auto-apply sensitivity labels. Implement Azure AD authentication and row-level security in Azure SQL Database. Enable auditing and send to Log Analytics.
B.Use Microsoft Purview to scan and classify data. Apply sensitivity labels manually. Configure Azure SQL Database firewall to block all but admin. Use Azure SQL auditing.
C.Use Microsoft Defender for Cloud to identify sensitive data. Implement Azure SQL Database always encrypted. Use Azure Monitor to log queries.
D.Use Microsoft Purview to classify data. Apply data masking in Azure SQL Database for PHI columns. Use Azure SQL Database threat detection.
AnswerA

This option is correct because it combines Purview's scanning with auto-applied sensitivity labels, ensuring consistent classification without manual effort. Azure AD authentication replaces SQL logins with identity-based access, and row-level security (RLS) filters PHI at the query level so authorized users only see rows they are permitted to access. Enabling auditing to Log Analytics creates an immutable, queryable record of all data access and label changes, satisfying auditability requirements that are essential for healthcare compliance.

Why this answer

Microsoft Purview can scan data sources like Azure Data Lake Storage and Azure SQL Database, classify sensitive data such as PHI, and auto-apply sensitivity labels. Azure SQL Database supports Azure AD authentication and row-level security (RLS) to restrict access to sensitive data based on user identity. Auditing logs can be sent to Log Analytics for compliance.

Option B is incorrect because it requires manual labeling and does not use row-level security. Option C uses Defender for Cloud (not Purview) and Always Encrypted (which does not prevent access to authorized users). Option D uses data masking (obfuscation) rather than access control and lacks auto-labeling and auditing integration.

Ready to test yourself?

Try a timed practice session using only Security Apps Data Solutions questions.