For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAzure Solutions Architect Expert (AZ-305)Azure Solutions Architect Expert AZ-305 Practice Exam 6Question 14
    Medium1 markMultiple Choice
    Domain 1.4: Application IdentitiesDomain 1.4Managed IdentityApp Service

    AZ-305 · Question 14 · Domain 1.4: Application Identities

    You are designing an architecture where an Azure App Service web app needs to securely access an Azure SQL Database. You want to eliminate the need for developers to manage credentials or connection strings. The identity used for access must be tied to the lifecycle of the App Service and deleted automatically if the App Service is deleted. What should you use?

    Answer options:

    A.

    A user-assigned managed identity.

    B.

    A system-assigned managed identity.

    C.

    An Azure AD Service Principal.

    D.

    Azure Key Vault secrets.

    How to approach this question

    Differentiate between system-assigned and user-assigned managed identities based on lifecycle.

    Full Answer

    B.A system-assigned managed identity.✓ Correct
    System-assigned managed identities are created in Microsoft Entra ID and are tied directly to the lifecycle of an Azure resource. When the resource is deleted, the identity is automatically deleted.

    Common mistakes

    Choosing user-assigned managed identity, which persists after resource deletion.
    Question 13All questionsQuestion 15

    Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 6

    55 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01Contoso Ltd is a global manufacturing company with 50,000 employees. They operate a mix of on-pre...MediumQ02A financial institution has 500 Windows Server VMs on-premises and 200 VMs in Azure. They need to...HardQ03An enterprise uses Azure Sentinel and Log Analytics. They ingest 500 GB of logs daily. The IT bud...HardQ04You are designing a monitoring strategy for a new Azure deployment consisting of App Service, Azu...EasyQ05A healthcare company uses Microsoft Entra ID (Azure AD). They need to implement a security policy...Medium
    View all 55 questions →