You have an app named App1 that uses Application Insights to monitor application performance.You need to analyze how often a page in App1 is accessed.Which pane in Application Insights should you use?
Answer(s): A
SIMULATIONYou need to write a KQL query that will count the number of inbound requests for each source IP address, for any connection made during the last three months of 2021.On Azure Data Explorer by using the following link:https://dataexplorer.azure.corn/clusters/help/databases/SecurityLogsThe requests are contained in a table named InboundBrowsing in the SecurityLogs connection.The query must return two columns named NumberOfRequests and SourceIP.Export the query result to C:\Samples.
See explanation below.Task l: Add connectionAzure Data Explorer, To add a new cluster connection, do the following:Step 1: On the left menu, select Query.Step 2: In the upper left pane, select Add connection.Step 3: In the Add connection dialog box, enter the cluster Connection URI and Display name.[Enter; https://dataexplorer.azure.corn/clusters/help/databases/SecurityLogs]Step 4: Select Add to add the connection.Tasks 2: Build and run a queryRun queriesTo run a query, you must select the database on which you want to run the query in order to set the query context.Step 5: In the Cluster connection pane, under the help cluster, select the SecurityLogs database [if it is not already selected].Step 6: Enter the following query into the query windows:InboundBrowsingProject NumberOfRequests SourceIPStep 7: Click RunSample query output:Task 3: Download/export query resutlTo download a KQL file of the query, follow these steps:Step 8: In the query window, select the query that you want to download.Step 9: Select Export > Download.
https://learn.microsoft.com/en-us/azure/data-explorer/web-query-data https://learn.microsoft.com/en-us/azure/data-explorer/web-share-queries
You have an Azure App Service app named App1.You need to identify when App1 was offline. The solution must minimize administrative effort.Which troubleshooting category in App Service diagnostics should you use?
The tiles or the Troubleshoot link show the available diagnostics for the category. If you were interested in investigating Availability and performance the following diagnostics are offered:Overview*-> Web App DownWeb App SlowHigh CPU AnalysisMemory AnalysisWeb App RestartedApplication Change (Preview)Application CrashesHTTP 4xx ErrorsSNAT Failed Connection EndpointsSWAP Effects on AvailabilityTCP ConnectionsTesting in ProductionWebJob Details
https://learn.microsoft.com/en-us/azure/app-service/overview-diagnostics
HOTSPOT (Drag and Drop is not supported)You have an Azure DevOps organization that contains multiple projects.You have the query shown in the Query exhibit. (Click the Query tab.)For each of the following statements, select Yes if the statement is true. Otherwise, select No.Note: Each correct selection is worth one point.Hot Area:
Box 1: NoA query that returns closed items would have a clause WHERE [System.State] = 'Closed'.Here we see that it instead has any system state.Box 2: YesThe @MyRecentActivity macro dynamically targets work items that you have viewed, created, or modified within the last 30 days. This naturally captures your viewing history for the current rolling month without requiring hardcoded date parameters.Box 3: YesThere is no reference to System.TeamProject in the query, so all projects will be included.Note: To query work items across all projects within an Azure DevOps organization, you must use Work Item Query Language (WIQL) without specifying a project context, or simply omit the [System.TeamProject] restriction from your query logic.By default, WIQL queries are scoped to the specific project you are in unless you explicitly structure them to search the entire collection or check the "Query across projects" option in the web interface.
https://learn.microsoft.com/en-us/azure/devops/boards/queries/using-queries?view=azure-devops https://learn.microsoft.com/en-us/azure/devops/boards/queries/query-by-date-or-current-iteration https://learn.microsoft.com/en-us/azure/devops/project/work-across-projects-faqs?view=azure-devops
You have an Azure subscription that contains a Log Analytics workspace named WS1 and a virtual machine named VM1.You need to install the Microsoft Enterprise Cloud Monitoring extension on VM1.Which two values are required to configure the extension? Each correct answer presents part of the solution.Note: Each correct answer is worth one point.
Answer(s): A,D
To install the Microsoft Enterprise Cloud Monitoring extension on a virtual machine Log Analytics workspace, you can either use the Azure portal or the Azure CLI. The extension, also known as the Log Analytics VM extension, automatically installs and configures the agent, allowing the virtual machine to send data to the Log Analytics workspace.You can use the Azure CLI to deploy the Log Analytics VM extension to an existing virtual machine. The command az vm extension set is used to deploy the extension, with parameters like workspaceId [A] and workspaceKey [D] required. You can find these values in your Log Analytics workspace within the Azure portal.
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/oms-windows
Post your Comments and Discuss Microsoft AZ-400 exam prep with other Community members: