- (Exam Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are developing an ASP.NET Core MVC web application.
The application must be exposed to external users over ports 80 and 443 and must meet the following requirements:
• Handle more than 1024 simultaneous connections.
• Support Windows authentication.
• Support HTTP/2 over TLS.
• Include response caching.
• Protect against denial-of-service attacks.
You need to deploy the application to an on-premises web server. Solution: You deploy the application to Kestrel with an US reverse proxy.
Does the solution meet the goal?
Correct Answer:
B
- (Exam Topic 4)
HOTSPOT
You are developing an ASP.NET MVC application. The application includes the following code. Line numbers are included for reference only.
< ><>>< ><>>
Solution:
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 4)
DRAG DROP
You are developing an ASP.NET MVC application that authenticates a user by using claims-based authentication.
The application must:
< ><>>>< >
Solution:
Box 1: IClaimsIdent
Box 2: ClaimType
Box 3: ClaimTypes
Box 4: ClaimType Similar example:
For Box 1, see line 15.
For Box 2, see line 22.
For Box 3, see line 22.
For Box 4, see line 26.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Web;
5 using Microsoft.IdentityModel.Claims;
06
7 namespace MVC3MixedAuthenticationSample.Models
8 {
9 public class IdentityClaim 10 {
11 private string _identityProvider; 12 private string _identityValue;
13 public const string ACSProviderClaim ="
http://schemas.microsoft.com/accesscontrolservice/2010/07/claims/identityprovider";
14
15 public IdentityClaim(IClaimsIdentity identity) 16 {
17
18 if (identity != null) 19 {
20 foreach (var claim in identity.Claims) 21 {
22 if (claim.ClaimType == ClaimTypes.NameIdentifier)
23 {
24 _identityValue = claim.Value; 25 }
26 if (claim.ClaimType == ACSProviderClaim) 27 {
28 _identityProvider = claim.Value; 29 }
30
31 }
32 }
33
34 }
Does this meet the goal?
Correct Answer:
A
You need to implement the map of the runners' paths.
How should you build the video viewer? (To answer, select the appropriate options in the answer area.)
< ><>< >
Solution:
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 4)
You are implementing a website redesign of an existing website that provides historical weather condition maps.
The current layout resembles the graphic in the exhibit. (Click the Exhibit button.)
< ><>>>>< >
Correct Answer:
D
HTML5 slider contains min and max properties:
* min Minimum value of the range. Default minimum value is 0.
* maxMaximum value of the range. Default maximum value is 100. Incorrect:
Not A: HTML5 slider contains "range" property, but it used for enabling and configuring range selection in slider, not for setting min and max possible values.
References:
http://www.html5tutorial.info/html5-range.php