单选题You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application's root directory. Users must not be able to navigate directly to th

题目
单选题
You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application's root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class. Which form of authentication should you use?()
A

 Anonymous

B

 Certificate

C

 Forms

D

Microsoft Windows Integrated Security

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which two about WAR files are true?()

  • A、WAR files must be located in the web application library directory.
  • B、WAR files must contain the web application deployment descriptor.
  • C、WAR files must be created by using archive tools designed specifically for that purpose.
  • D、The web container must serve the content of any META-INF directory located in a WAR file.
  • E、The web container must allow access to resources in JARs in the web application library directory.

正确答案:B,E

第2题:

You want to create a valid directory structure for your Java EE web application, and your application usestag files and a JAR file. Which three must be located directly in your WEB-INF directory(NOT in asubdirectory of WEB-INF)?()

  • A、The JAR file
  • B、A directory called lib
  • C、A directory called tags
  • D、A directory called TLDs
  • E、A directory called classes
  • F、A directory called META-INF

正确答案:B,C,E

第3题:

You create a Web application for your company‘s intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time.Which two code segments should you use?()

A.

B.

C.

D.


参考答案:B, C

第4题:

You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2). You create a new virtual directory named App1. App1 contains a Web application. Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application. You need to ensure that users can access the Web application when they connect to http://app1. What should you do? ()

  • A、Move the content of the Web application to C:/App1. Change the home directory for App1.
  • B、Move the content of the Web application to C:/App1. Change the application pool for App1.
  • C、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use port 8080. In DNS, create a Host record for App1.
  • D、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use a host header of App1. In DNS, create a Host record for App1.

正确答案:D

第5题:

Which the two about WAR files are true?()

  • A、 WAR files must be located in the web application library directory.
  • B、 WAR files must contain the web application deployment descriptor.
  • C、 WAR files must be created by using archive tools to designed specifically for that purpose. 
  • D、 The web container must serve the content of any META-INF directory located in a WAR file.
  • E、 The web container must allow access to resources in JARs in the web application library directory

正确答案:B,E

第6题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message:  Server Application Unavailable  The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request.  You view the Application event log and discover the following message:  It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process.  To ensure productivity you need to solve this problem as quick as possible.  What should you do?()

  • A、You should change the IIS isolation mode.
  • B、You should assign the application to another application pool.
  • C、You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.
  • D、You should run the Aspnet_regiis.exe Tool.
  • E、You should restart the application pool that hosts the application.

正确答案:B,C

第7题:

In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()

  • A、 /WEB-INF
  • B、 /META-INF
  • C、 /WEB-INF/tlds
  • D、 /META-INF/tlds
  • E、 WEB-INF/resources
  • F、 /META-INF/resources

正确答案:A,C,E

第8题:

You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2).You create a new virtual directory named App1. App1 contains a Web application.Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application.You need to ensure that users can access the Web application when they connect to http://app1.What should you do? ()

A. Move the content of the Web application to C:\App1. Change the home directory for App1.

B. Move the content of the Web application to C:\App1. Change the application pool for App1.

C. Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use port 8080. In DNS, create a Host record for App1.

D. Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use a host header of App1. In DNS, create a Host record for App1.


参考答案:D

第9题:

A web application is bound to the context named "/webapp" and the client uses the browser and  makes a request to the resource http://server:port/webapp/ctxl/resource.    Where do you place this resource inside the web application structure?()

  • A、in the subdirectory /WEB-INF/ctxl
  • B、in the subdirectory /META-INF/ctxl
  • C、in the subdirectory /ctxl in the root of the archive
  • D、in the subdirectory /ctxl/resource in the root of the archive
  • E、in the root of the archive

正确答案:C

第10题:

You want to enable users of a Web application to modify the Web application's UI and behavior. These modifications must be maintained at the user level so that when users return to the Web application, the changes are still in effect. You need to achieve this goal by using the minimum amount of custom code. What should you do?()

  • A、Persist control data by using view state.
  • B、Use Web Part controls.
  • C、Maintain a profile for each user.
  • D、Enable session state on the Web application.

正确答案:B

更多相关问题