nerdexam
Microsoft

AZ-204 · Question #15

Case Study 7 - Proseware, Inc Background You are a developer for Proseware, Inc. You are developing an application that applies a set of governance policies for Proseware's internal services…

This question appears to be a drag-and-drop case study item from an Azure developer certification exam (likely AZ-204), but the options and correct arrangement data are missing from the provided content. Based on the case study context, the correct solution would involve…

Submitted by minji_kr· Mar 30, 2026Implement Azure security and monitoring solutions, including configuring Application Insights telemetry, autoscaling policies, and Azure Blob Storage log retention for Azure App Service Web Apps - typically covered under 'Monitor, troubleshoot, and optimize Azure solutions' and 'Connect to and consume Azure services and third-party services' in the AZ-204 certification.

Question

Case Study 7 - Proseware, Inc Background You are a developer for Proseware, Inc. You are developing an application that applies a set of governance policies for Proseware's internal services, external services, and applications. The application will also provide a shared library for common functionality. Requirements Policy service You develop and deploy a stateful ASP.NET Core 2.1 web application named Policy service to an Azure App Service Web App. The application reacts to events from Azure Event Grid and performs policy actions based on those events. The application must include the Event Grid Event ID field in all Application Insights telemetry. Policy service must use Application Insights to automatically scale with the number of policy actions that it is performing. Policies Log Policy All Azure App Service Web Apps must write logs to Azure Blob storage. All log files should be saved to a container named logdrop. Logs must remain in the container for 15 days. Authentication events Authentication events are used to monitor users signing in and signing out. All authentication events must be processed by Policy service. Sign outs must be processed as quickly as possible. PolicyLib You have a shared library named PolicyLib that contains functionality common to all ASP.NET Core web services and applications. The PolicyLib library must: Exclude non-user actions from Application Insights telemetry. Provide methods that allow a web service to scale itself Ensure that scaling actions do not disrupt application usage Other Anomaly detection service You have an anomaly detection service that analyzes log information for anomalies. It is implemented as an Azure Machine Learning model. The model is deployed as a web service. If an anomaly is detected, an Azure Function that emails administrators is called by using an HTTP WebHook. Health monitoring All web applications and services have health monitoring at the /health service endpoint. Policy loss When you deploy Policy service, policies may not be applied if they were in the process of being applied during the deployment. Performance issue When under heavy load, the anomaly detection service undergoes slowdowns and rejects connections. Notification latency Users report that anomaly detection emails can sometimes arrive several minutes after an anomaly is detected. Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong. Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong. Drag and Drop Question You need to implement the Log policy. How should you complete the Azure Event Grid subscription? To answer, drag the appropriate JSON segments to the correct locations. Each JSON segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-204 question #15 exhibit

Answer Area

Explanation

This question appears to be a drag-and-drop case study item from an Azure developer certification exam (likely AZ-204), but the options and correct arrangement data are missing from the provided content. Based on the case study context, the correct solution would involve configuring Application Insights with a custom TelemetryInitializer to include the Event Grid Event ID in all telemetry, setting up autoscale rules based on Application Insights metrics, configuring Azure Blob Storage lifecycle management policies to retain logs for 15 days in a container named 'logdrop', and enabling diagnostic logging on the App Service to write to Azure Blob Storage. These approaches align with Azure best practices for telemetry enrichment, scaling, and log management.

Topics

#Azure Application Insights#Azure Event Grid#Azure App Service#Azure Blob Storage Lifecycle Management

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice