You have an Azure App Service and an Azure SQL Database in the same subscription. You want the app to connect securely without exposing the database to the public internet. What is the behavior of the connection when you enable Private Endpoint on the SQL Database?
Think about how Private Endpoints route traffic inside Azure.
When Private Endpoint is enabled, the Azure SQL Database gets a private IP in your virtual network. The App Service connects through Azure's internal network to this private IP, avoiding exposure to the public internet.
You have an application running on-premises that needs to connect to Azure Blob Storage. You want to minimize latency and secure the connection without exposing storage to the public internet. Which architecture option achieves this?
Consider private, high-speed connections from on-premises to Azure.
ExpressRoute with private peering allows on-premises apps to connect privately and with low latency to Azure services like Blob Storage using private endpoints, avoiding the public internet.
You set the Azure SQL Database server firewall rule to allow all IP addresses (0.0.0.0 to 255.255.255.255). What is the security impact and connection behavior?
Think about what allowing all IPs means for access control.
Allowing all IP addresses disables IP-based firewall restrictions, making the database accessible from anywhere, which is a security risk.
You have an Azure Function and an Azure Cosmos DB account configured with a private endpoint in a virtual network. What is the best way for the function to connect securely to Cosmos DB?
Consider how Azure Functions can access resources inside a virtual network.
VNet integration allows the Azure Function to access resources inside the virtual network, including private endpoints, ensuring secure communication without exposing Cosmos DB publicly.
You enable the option 'Allow trusted Microsoft services to access this resource' on an Azure Storage account firewall. Which of the following describes the connection behavior?
Think about what 'trusted Microsoft services' means in Azure firewall context.
This setting allows specific Azure services, like Azure Backup or Azure DevOps, to access the storage account even if firewall rules restrict other traffic, without opening access to the public internet.