READ Free Dumps For Microsoft- 70-486
Question ID 14736 | You are developing a new ASP.NET MVC application that will be hosted on Microsoft
Azure. You need to implement caching.
The caching solution must support the following:
✑ The cache must be able to store out-of-process ASP.NET session state.
✑ The cache must be able to store a variety of data types.
✑ The cache must offer a large amount of space for cached content.
✑ You must be able to share output cache content across web server instances.
You need to select a cache solution.
Which caching solution should you choose?
|
Option A | ASP.NET Caching
|
Option B | Azure In-Role Cache
|
Option C | Azure Redis Cache
|
Option D | Azure Managed Cache Service
|
Correct Answer | C |
Explanation Reference: How to Use Azure Redis Cache https://azure.microsoft.com/sv-se/documentation/articles/cache-dotnet-how-to-use-azure- redis-cache/
Question ID 14737 | You are authoring unit tests.
The unit tests must test code that consumes sealed classes.
You need to create, maintain, and inject dependencies in the unit tests.
Which isolation method should you use?
|
Option A | T4 text templates and code generation
|
Option B | Stub types
|
Option C | Shim types
|
Option D | Hard-coded implementation
|
Correct Answer | C |
Explanation Explanation: http://msdn.microsoft.com/en-us/library/hh549176.aspx Shim types are one of two technologies that the Microsoft Fakes Framework uses to let you easily isolate components under test from the environment. Shims divert calls to specific methods to code that you write as part of your test. Many methods return different results dependent on external conditions, but a shim is under the control of your test and can return consistent results at every call. This makes your tests much easier to write.