Following quiz provides Multiple Choice Questions (MCQs) related to MVC Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - What are examples of hybrid applications using Windows Azure? (Choose all that apply.)
E.Part of the application is being run in the Windows Azure environment; the other part is being run in the corporate network environment.
Q 2 - You are creating a solution in which the majority of the application is dynamic, but some areas can be cached for a long time. What kind of approach would you take? (Choose all that apply.)
E.Donut hole caching provides the ability to cache parts of each page.Donut caching is another approach that gives the ability to cache parts of the application.
Q 3 - When you are creating a custom handler, what is the parameter being passed into the ProcessRequest method?
C.The ProcessRequest method takes the HttpContext parameter.
Q 4 - You are modifying an ASP.NET MVC web application for a client. The client requires that the application must be viewable on Android devices in a UI format native to the device. What should you do? (Choose all that apply.)
C. Text revealed by mouse-overs not being picked up by search engine crawlers indicates that content is being skipped
Q 5 - You are creating an ASP.NET MVC website and you want to replace a <h2>hello</h2>tag within the view with custom resources you have created. What should you use?
A.This is the correct way to insert resources into a view
Q 6 - You are working on a AJAX-heavy site, and your script files are separated in your solution by function. You have already implemented minification and bundling, but you are still getting reports of poor performance when users try to access your pages. You cannot replicate the problem locally. What additional steps can you take and still provide the same user experience?
C.This is an appropriate next step to try to compress the script and style files being sent to the client.
Q 7 - You will be deploying your application in Windows Azure. You know that you need to include logging, but you have some concerns. What diagnostic capabilities can Windows Azure support? (Choose all that apply.)
E.You can control the diagnostics setting through configuration within your Windows Azure–hosted application.Although the Windows Azure VMs get recycled when the role restarts, saving the logs to the Windows Azure storage system outside of your VM would ensure that they are available.You can treat the Windows Azure diagnostics system like a traditional logging tool by writing messages to the system.
Q 8 - What are digital signatures used for? (Choose all that apply.)
F.Authentication is a reason for digital signing because it uniquely defines the party signing the data. Non-repudiation is a reason for digital signing because it uniquely defines the party signing the data and shows that it had to be the original party that submitted the data.Authorization can be determined after the individual is uniquely defined.
Q 9 - Which of the following statement is false about MVC in .NET?
B.Makes Test Driven Development (TDD) very difficult
Q 10 - . How to return the JSON from action method in ASP.Net MVC?
A.JSON are used to return JSON result in MVC