CertKeen

Azure AI Cloud Developer (AI-200) · Free practice question 7 of 12

Entra ID connection to Azure Managed Redis

A Python service at Juniper Grove connects to an Azure Managed Redis instance where access keys are disabled. The instance uses the default port. How should the client connect?

  1. A.Use TLS on port 10000 with an Entra token for the app's managed identity
  2. B.Use plain TCP on port 6379 with the primary access key
  3. C.Use TLS on port 6380 and authenticate with the storage account key
  4. D.Use port 10000 without TLS and with no authentication because keys are disabled
Show answer and explanation

Correct answer: A. Use TLS on port 10000 with an Entra token for the app's managed identity

Why: Azure Managed Redis endpoints listen on port 10000 with TLS. When access keys are disabled, clients authenticate with Microsoft Entra ID tokens (scope https://redis.azure.com/.default) for an identity that has been added as a Redis user on the cache's Microsoft Entra Authentication page; such users get full access by default unless custom data access permissions are configured. Ports 6379 and 6380 belong to the older Azure Cache for Redis service, access keys are disabled here, and turning keys off doesn't allow unauthenticated access.

More free Azure AI Cloud Developer (AI-200) questions