23.  Topic 3, City Power & Light 
Case study
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
To start the case study
Background
Current environment
API Management and Azure Function App functions are used to process and store data in Azure Database for PostgreSQL. API Management is used to broker communications to the Azure Function app functions for Logic app integration. Logic apps are used to orchestrate the data processing while Service Bus and Event Grid handle messaging and events. 
The solution uses Application Insights, Azure Monitor, and Azure Key Vault. 
Architecture diagram
User authentication
Requirements
Azure Database for PostgreSQL
The connection information is updated frequently. The application must always use the latest information to connect to the database. 
Azure Service Bus and Azure Event Grid
Security
Compliance
Issues
Function app
The same error message displays when you test the function in an Azure development environment when you run the following Kusto query: FunctionAppLogs
Logic app
Code
Function app
HOTSPOT