Question 26

The system has the following requirements for subscriptions
You need to implement filtering and maximize throughput while evaluating filters.
Which filter types should you implement? To answer, drag the appropriate filter types to the correct subscriptions. Each filter type 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.
Question 27
For an application Nea as developer needs to Create a Dockerfile.
The application will be based on ASP.Net core. The application has the following requirements:
- Ensure that the application whizlabsApp.dll runs at the startup of
the docker container
- Run a powershell script called whizlabscsript.ps1 in the Docker
container
The tptApp.dll and the tptcsript.ps1 are in the same location as the DockerFile.
Which of the following commands wouldNea place in the DockerFile?
1.) FROM Microsoft/dotnet:2.2-aspnetcore-runtime
2.) EXPOSE tptApp.dll ,tptcsript.ps1
3.) ENTRYPOINT ["dotnet", " MySingleContainerWebApp.dll
4.) ENTRYPOINT ["tptApp.dll" ,"tptcsript.ps1"]
Question 28
Drag and Drop Question
Contoso, Ltd. provides an API to customers by using Azure API Management (APIM). The API authorizes users with a JWT token.
You must implement response caching for the APIM gateway. The caching mechanism must detect the user ID of the client that accesses data for a given location and cache the response for that user ID.
You need to add the following policies to the policies file:
- a set-variable policy to store the detected user identity
- a cache-lookup-value policy
- a cache-store-value policy
- a find-and-replace policy to update the response body with the user
profile information
To which policy section should you add the policies? To answer, drag the appropriate sections to the correct policies. Each section 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.
Question 29
You are developing an ASP.NET Core app that includes feature flags which are managed by Azure App Configuration. You create an Azure App Configuration store named AppFeatureFlagStore that contains a feature flag named Export.
You need to update the app to meet the following requirements:
* Use the Export feature in the app without requiring a restart of the app.
* Validate users before users are allowed access to secure resources.
* Permit users to access secure resources.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Question 30
In the Azure Search service a team 'XPN' has created an Index. Ryan has toupload data into the Index. He proposed the following steps to carryout from his .Net program:
- Create a SearchServiceClient object to connect to the search index.
- Create a DataContainer that contains the documents which must be
added.
- Create a DataSource instance and set its Container property to the
DataContainer.
- Set the DataSource property of the SearchServiceCIientState
Whether the requirement is being fulfilled by the listed steps?




