Certification Practice Test Sample Questions For Developing ASP.NET MVC Web Applications (70-486)
QuickStart is now offering sample questions for Developing ASP.NET MVC Web Applications (70-486) Whether you are deciding which exam to sign up for, or simply want to practice the materials necessary to complete certification for this course, we have provided a practice test to better aid in certification. 100% of the questions are real test questions; from a recent version of the Developing ASP.NET MVC Web Applications (70-486) exam.
Building web apps with Angular and TypeScript (MS-55266)
Enroll now today and get 30% off using discount code PRACTICE30 at checkout.
Developing ASP.NET MVC Web Applications (70-486) Sample Exam Questions
Can you identify the code segment you would insert at like LY10 if you want List content to be embedded in the Layout page when the List page is displayed to the user?
- A. @Scripts. Render("List.cshtml")
-
Incorrect.
- B. @RenderBody()
-
Correct!
- C. @RenderSection("body") False
-
Incorrect.
- D. @RenderPage("List.cshtml", null);
-
Incorrect.
Which of the following would you use in order to to meet the technical requirement for unhandled exceptions?
- A. IntelliTrace
-
Incorrect.
- B. Health monitoring
-
Correct!
- C. Diagnostic tracing
-
Incorrect.
- D. Run the Install-ADDSDomain cmdlet.
-
Incorrect.
You are required to determine the minimum number of controllers and actions for an application. Choose from the following options one that reflects the correct amount controllers and actions you need.
- A. One controller with one action
-
Incorrect.
- B. One controller with two actions
-
Correct!
- C. Two controllers with one action each
-
Incorrect.
- D. Two controllers with two actions each
-
Incorrect.
You want the last watched movie to be saved in an application. Can you identify the correct code segment to use if the value of the movie ID to save is 100?
You work for an organization as a part of its development team, managing an ASP.NET Core web application that is hosted in Azure. There was a recent bug fix implemented which wasn’t published to Azure. You want to deploy the application with the bug fix to Azure. Unfortunately, at the time you want to do it, you only have Telnet access to the development server at your company and according to company's guidelines it is prohibited to download the application to your local computer. Can you identify the deployment method you would use?
You are required to design the user interface for a web application. You are using a responsive design. You are testing the app on a mobile browser. You realize that the content on the application is legible only when you zoom in manually. You are aware that the user experience will be far better if the content renders without having the user to manually adjust it. The user should still be allowed to adjust the content size for accessibility purposes. Identify the correct viewport meta tag you think must be added to your design.
- A. < meta name="viewport" content="user-scalable=yes">
-
Incorrect.
- D. < meta name="viewport" content="maximum-scale=1">
-
Incorrect.
You have to build a view in your application for which you use Razor syntax. The Preview property on the view model is a string that contains an HTML fragment. You need the HTML fragment to be rendered in the browser, from within the view, to have it displayed unencoded. Identify the two options you would use. Each correct answer presents a complete solution.
- A. @Html.Encode(Model.Preview).
-
Incorrect.
- B. @Html. Raw(Model. Preview)
- C. @(new HtmlString(Model.Preview))
-
Correct!
- D. @Model. Preview @(Model. Preview
-
Incorrect.
Your company has a Windows server that uses Internet Information Services (IIS). You are tasked to deploy an ASP.NET Core web application to that server. The default web host builder is used to host the application. The application must be tested from multiple client computers. The Windows server configuration needs to be done so that IIS can successfully run your application. What will be you step of action?
- C. Install the .NET Core Hosting Bundle.
-
Correct!
You work for a development team that has just completed the first iteration of an ASP.NET Core web application. The application uses Windows authentication. You want the application to be tested by four users for which you have to deploy it to a Windows 10 computer. According to your company’s IT security policy, Internet Information Services (IIS) cannot be installed on the computer. Separate computers will be used by users to browse the application. For users to successfully test the application, you will be required to configure the Windows 10 computer. Identify the best possible approach here.
There is application that is hosted on an Azure Web role. You are required to troubleshoot a problem in that application. You decide to use Remote Desktop Protocol (RDP) to connect directly to the services. Identify the two requirements necessary to establish an RDP connection to your service. (opt any TWO)
An MVC Web Application is created by your development team. It is planned to deploy it to an Azure Web App. The application has a chat feature implemented. While keeping the efforts and costs of configurations, you should be able to handle at least 500 Web Socket connections. Identify the Azure Web App configuration you would use.
- A. One Web App instance on a Basic App Service plan
-
Incorrect.
- D. Three Web App instances on a Shared App Service plan
-
Incorrect.
There is an ASP .NET web api application having the following code: public lActionResult About() { return Content(" This is an example."); } What would be your step of action if you want the About method to return data as JSON in the body of the HTTP response?
- A. Modify the implementation as follows: return new ContentResult { ContentType = 'son", Content = "This is an example." };
-
Incorrect.
- C. Apply the [JsonObject] attribute to the About method.
-
Incorrect.
You create a middleware class that implements IMiddleware to extend an ASP.NET MVC Core web application. You want this class to be added to the HTTP request pipeline. What would be your step of action?
- A. Call the Invoke method of the RouterMiddleware class.
-
Incorrect.
Your organization is running numerous databases. There is a web application that connects to all those databases. To prevent unauthorized access, the IT security policies require encrypted database connection strings. To make sure connection strings are protected, you have to encrypt the connectionStrings section in the web.config file. Identify the appropriate tool you would use.
- A. aspnet_regiis.exe
-
Correct!
- B. Sn.exe
-
Incorrect.
- C. caspol.exe
-
Incorrect.
- D. signtool.exe
-
Incorrect.
You are required to ensure that assistive technologies are supported by your HTML forms, as a part of your accessibility work. You want the assistive technologies to inform the user when a field is required for which you must add an ARIA attribute to the fields. Identify the attribute you would use.
- A. data-required="true"
-
Incorrect.
- B. aria-required="true"
-
Incorrect.
- C. aria-checked="true"
-
Incorrect.
- D. aria-required="true"data-required="true"
-
Correct!
Following is the markup contained by ASP.NET MVC razor application created by you: @model List< MeasureUp.Models.ExamModel> < tr> < th class="Number">Exam Number < th class="Title">Exam Title < th class="Description">Exam Description @foreach (MeasureUp.Models.ExamModel exam in Model) { < tr> < td class="Number">@Html.DisplayFor(model => exam.ExamNumber) < td class="Title">@Html.DisplayFor(model => exam.ExamTitle) } @Html.DisplayFor(model => exam.ExamDescription) You want to make sure that when you resize the browser to a width that is less than 400 pixels, the third header and data cells should neither be visible nor take up any space. Identify the CSS markup you must use?
The following markup is from an ASP.NET MVC 5 page: <%: Html.DropDownList("Location") %> <%: Html.TextBox("Name") %> <%: Html.TextBox("Comment") %> <%: Html.DropDownList("Group") %> If a user changes an item in one of the DropDownList controls or changes the text in one of the TextBox controls, a JavaScript function named Animate must be called. To accomplish this goal, jQuery will be used. Identify the code segment you must?
You work for a company where you are tasked to create an ASP.NET Core web application project. You zip the files in your project directory. The zipped file is called Billing.zip. The application is planned to be deployed to an Azure app service. The Azure app service is named Billing. The resource group is named WebApps. You would require Azure CLI to deploy the application. Identify the command you would use.
You are creating an ASP.NET MVC Core application. The application is named as WebAppDemo. Productlist.json is a text file used as a data source for the application. What would you use if you are required to make sure this file is available while testing the application locally with a debug build?
- B. Copy the file to the WebAppDemotin \Debug folder.
-
Incorrect.
You are tasked to create an ASP.NET MVC Core web application. Multiple users will be accessing the application. You have to encrypt the user-specific data by using the Data Protection APIs. You need to pass an argument to the CreateProtector method of the IDataProtectionProvider interface. Which of the following arguments would you pass?
- A. Constant value Protect
-
Incorrect.
- B. Fully-qualified class name of the Startup class
-
Incorrect.
- C. User's email address
-
Correct!
- D. User's security role
-
Incorrect.
There is an ASP.N ET Core web application named Finance. You are required to open the Kudu console to manage it. Identify the URL you would use.
- A. https://Finance.azurewebsites.net
-
Incorrect.
- B. https://Finance.scm.azurewebsites.net
-
Correct!
- C. https://Finance.blob.core.windows.net
-
Incorrect.
- D. https://Finance.onmicrosoft.com
-
Incorrect.
You want users to build a personal blog via an MVC 5 website. You are building that website and would want the URL structure defined in the following manner: https://domain.com/blogiusemamettitle. In the URL, blog remains static, user's unique identifier is used as username, and title is the name of the article. The Index action method on the BlogController should be receive all requests to this route. The signature for the action method is defined below: public ActionResult Index(string username, string title) { } What should you use to define the route in order for the requests to be routed properly?
Tell Us About You:
- Home
- Sample Question - Developing ASP.NET MVC Web Applications (70-486)
Sample Question - Developing ASP.NET MVC Web Applications (70-486)
More Information:
- Learning Style: On Demand
- Learning Style: Practice Exam
- Difficulty: Beginner
- Course Duration: 1 Hour
- Course Info: Download PDF
- Certificate: See Sample
Contact a Learning Consultant
Need Training for 5 or More People?
Customized to your team's need:
- Annual Subscriptions
- Private Training
- Flexible Pricing
- Enterprise LMS
- Dedicated Customer Success Manager
Course Information