Microsoft Developing Microsoft Azure and Web Services - 70-487무료 덤프문제 풀어보기

You updating an existing multitenant ASP.NET MVC application for medical clinics. The application
aggressively uses output caching to improve performance by caching content for 36 hours. The application
uses a query string parameter named "clinicID" that contains the clinic that the user is currently viewing.
Users report that they are occasionally seeing data for the wrong clinic. Users also report that the application
seems to take a long time to return data for a specific clinic even if they have viewed it recently.
You need to configure web.config to resolve the reported problems.
You have the following markup:

Which markup segments should you include in Target 1, Target 2 and Target 3 to complete the markup? (To
answer, select the correct markup segment from each drop-down list in the answer area.)
정답:

Explanation

Target 1: noStore="false"
The page that has the OutputCacheProfile.NoStore property set to true issues a response specifying in its
header to prevent secondary storage of sensitive information.
Target 2: VaryByParam ="clinicID"
The VaryByParam is a semicolon-delimited set of parameters used to vary the cached output. It allows varying
the cached output by GET query string or form POST parameters. For instance, you can vary the user-control
output to the cache by specifying the user-control name along with either a query string or a form POST
parameter.
Incorrect: Not varyByControl="ClinicID"
The VaryByControl is a semicolon-delimited set of IDs of controls to be cached.
Target 3: duration=129600"
The Duration represents the time in seconds that the page or user control is cached. Setting this property
establishes an expiration policy for HTTP responses from the page or control to which it applies and will
automatically cause the caching of their output.
129600 seconds is 36 hours (60*60*36).
References:
https://msdn.microsoft.com/en-us/library/system.web.configuration.outputcacheprofile(v=vs.110).aspx
You are developing a WCF service. The service will stream messages to clients on the internal network.
You must use Windows Authentication, and all messages must be binary encoded.
You need to configure the service.
What should you do? (To answer, drag the appropriate elements to the correct location or locations in the
answer area. Each element 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.)
정답:

Explanation
You are developing an Internet-based ASP.NET Web API application that manages pet data.
You install an SSL certificate on the web server to encrypt calls to the API. You create a class named
PetAuthorization, which inherits from a type named AuthorizeAttribute, and implements the
OnAuthorization() method.
You need to implement basic authentication for the API.
What should you do? (To answer, drag the appropriate words to the correct targets in the answer area. Words
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)
정답:

Explanation
You create the following Windows Communication Foundation (WCF) service.

The
service is accessible at the URL of http://Service1/EmployeeService.svc.
You need to add the endpoint for the WCF service to the Web.config file.
How should you complete the markup? To answer, select the appropriate options in the answer area.
정답:

Explanation

Box 1: address
Box 2: "http://Service1/EmployeeService.svc"
In WCF, an EndpointAddress models an endpoint reference (EPR) as defined in the WS-Addressing standard.
The address URI for most transports has four parts. For example, this URI, "
http://www.fabrikam.com:322/mathservice.svc/secureEndpoint" has the following four parts:
Scheme: http:
Machine: www.fabrikam.com
(Optional) Port: 322
Path: /mathservice.svc/secureEndpoint
Box 3:
The names and namespaces of the .NET types in the definition of contracts and operations are significant
when contracts are converted into WSDL and when contract messages are created and sent. Therefore, it is
strongly recommended that service contract names and namespaces are explicitly set using the Name and
Namespace properties of all supporting contract attributes such as the ServiceContractAttribute,
OperationContractAttribute, DataContractAttribute, DataMemberAttribute, and other contract attributes.
References: https://docs.microsoft.com/en-us/dotnet/framework/wcf/specifying-an-endpoint-address
https://docs.microsoft.com/en-us/dotnet/framework/wcf/designing-service-contracts
You are developing a ASP.NET Core MVC web application that processes sensitive data.
Users in an Azure Active Directory (Azure AD) group named DataAdmins must be able to see all data in
human readable form. Sensitive data must be masked from all other users that handle the data store.
You need to implement storage for the application.
What should you implement?

정답: A
설명: (Fast2test 회원만 볼 수 있음)
Errors occasionally occur when saving data using the FlightInfoContext ADO.NET Entity Framework context.
Updates to the data are being lost when an error occurs.
You need to ensure that data is still saved when an error occurs by retrying the operation. No more than five
retries should be performed.
With which code segment should you replace the body of the SaveChanges() method in the
FlightInfoContext.es file?

정답: A
설명: (Fast2test 회원만 볼 수 있음)
You plan to create several .NET applications that will read from Microsoft SQL Server 2014 databases by
using Microsoft ADO.NET.
The relevant requirements for the applications are described in the following table.

Typically, the applications will read thousands of rows of data at a time.
You need to identify which object to use to retrieve data for each application. The solution must minimize the
amount of memory used on the application server.
What should you identify? To answer, select the appropriate options in the answer area.
정답:

Explanation

App1: DataReader
App2: DataReader
App3: DataAdapter
Need to use a DataAdapter since the data could be modified.
Note:
You can use the ADO.NET DataReader to retrieve a read-only, forward-only stream of data from a database.
Results are returned as the query executes, and are stored in the network buffer on the client until you request
them using the Read method of the DataReader. Using the DataReader can increase application performance
both by retrieving data as soon as it is available, and (by default) storing only one row at a time in memory,
reducing system overhead.
A DataAdapter is used to retrieve data from a data source and populate tables within a DataSet. The
DataAdapter also resolves changes made to the DataSet back to the data source. The DataAdapter uses the
Connection object of the .NET Framework data provider to connect to a data source, and it uses Command
objects to retrieve data from and resolve changes to the data source.
References: https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/dataadapters-and-datareaders
You need to modify the ExecuteCommandProcedure() method to meet the technical requirements.
Which code segment should you use?

정답: C
You develop an application. You are using the ServiceModel Metadata Utility Tool (svcutil.exe) to generate
service bindings.
The service bindings must use stringent security and require full control over the Windows Communication
Foundation (WCF) messaging stack.
You need to configure the service bindings.
Which values should you use? To answer, configure the appropriate options in the dialog box in the answer
area.
NOTE: Each correct selection is worth one point.
정답:

Explanation

Box 1: WSHttpBinding
A secure and interoperable binding that is suitable for non-duplex service contracts.
Incorrect: Always select a binding that includes security. By default, all bindings except the
<basicHttpBinding> element have security enabled.
Box 2: Sign
Sign. The protected part is digitally signed. This ensures detection of any tampering with the protected
message part.
Box 3: <wsHttpBing>
References:
https://docs.microsoft.com/en-us/dotnet/framework/wcf/system-provided-bindings
https://docs.microsoft.com/en-us/dotnet/framework/wcf/understanding-protection-level

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기 

English Deutsch 繁体中文 日本語