Which two actions protect a resource file from direct HTTP access within a web application?()A、Placing it in the /secure directoryB、Placing it in the /WEB-INF directoryC、Placing it in the /META-INF/secure directoryD、Creating a  element within the deployme

题目

Which two actions protect a resource file from direct HTTP access within a web application?()

  • A、Placing it in the /secure directory
  • B、Placing it in the /WEB-INF directory
  • C、Placing it in the /META-INF/secure directory
  • D、Creating a  element within the deployment descriptor

相似考题
更多“Which two actions protect a resource file from direct HTTP access within a web application?()A、Placing it in the /secure directoryB、Placing it in the /WEB-INF directoryC、Placing it in the /META-INF/secure directoryD、Creating a  element within the deployme”相关问题
  • 第1题:

    A developer wants a web application to be notified when the application is about to be shut down. Which two actions are necessary to accomplish this goal?()

    • A、Include a listener directive in a JSP page
    • B、configure a listener in the TLD file using the  element
    • C、Include a  element in the web application deployment descriptor
    • D、configure a listener in the application deployment descriptor, using the  element
    • E、Include a class implementing ServletContextListener as part of the web application deploymen

    正确答案:D,E

  • 第2题:

    Which two of these are advantages of placing the VPN device in the DMZ on the firewall?()

    • A、fewer devices to manage
    • B、moderate-to-high scalability
    • C、stateful inspection of decrypted VPN traffic
    • D、increased bandwidth with additional interfaces
    • E、decreased complexity as traffic is filtered from the firewall

    正确答案:B,C

  • 第3题:

    Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()

    • A、 /conf/web.xml
    • B、 /WEB-INF/web.xml
    • C、 /conf/server.xml
    • D、 /META-INF/web.xml
    • E、 /WEB-INF/rules.xml
    • F、 /META-INF/server. Xml

    正确答案:B

  • 第4题:

    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

  • 第5题:

    Which path is required to be present within a WAR file?()  

    • A、 /classes
    • B、 /index.html
    • C、 /MANIFEST-INF
    • D、 /WEB-INF/web.xml
    • E、 /WEB-INF/classes
    • F、 /WEB-INF/index.html
    • G、 /META-INF/index.xml

    正确答案:E

  • 第6题:

    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

  • 第7题:

    单选题
    To shore up the main deck for the stowage of deck cargo means to().
    A

    weld pad eyes on deck in proper position to secure the cargo

    B

    strengthen the main deck by placing pillars underneath it in the tween-decks

    C

    distribute the weight of the cargo by placing fore-and-aft planks on the main deck

    D

    package the cargo in wooden crates so it will not damage the deck


    正确答案: A
    解析: 暂无解析

  • 第8题:

    多选题
    You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar. Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()
    A

    The TLD must be located within the WEB-INF directory of the JAR file.

    B

    The TLD must be located within the META-INF directory of the JAR file.

    C

    The TLD must be located within the META-INF/tld/ directory of the JAR file.

    D

    The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.

    E

    The TLD must be located within a subdirectory of META-INF directory of the JAR file.


    正确答案: D,B
    解析: 暂无解析

  • 第9题:

    多选题
    In which two web application directories can dependent classes and libraries be located? ()
    A

    /WEB-INF/lib as a JAR file

    B

    /META-INF/lib as a JAR file

    C

    /classes as compiled class files

    D

    /WEB-INF/lib as compiled class files

    E

    /WEB-INF/classes as compiled class files

    F

    /META-INF/classes as compiled class files


    正确答案: A,E
    解析: 暂无解析

  • 第10题:

    单选题
    Which path is required to be present within a WAR file?()
    A

     /classes

    B

     /index.html

    C

     /MANIFEST-INF

    D

     /WEB-INF/web.xml

    E

     /WEB-INF/classes

    F

     /WEB-INF/index.html

    G

     /META-INF/index.xml


    正确答案: A
    解析: 暂无解析

  • 第11题:

    多选题
    In which three directories, relative to a web application’s root, may a tag library descriptor file reside whendeployed 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,D
    解析: 暂无解析

  • 第12题:

    多选题
    Which two actions protect a resource file from direct HTTP access within a web application?()
    A

    Placing it in the /secure directory

    B

    Placing it in the /WEB-INF directory

    C

    Placing it in the /META-INF/secure directory

    D

    Creating a  element within the deployment descriptor


    正确答案: C,B
    解析: 暂无解析

  • 第13题:

    You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar. Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()

    • A、The TLD must be located within the WEB-INF directory of the JAR file.
    • B、The TLD must be located within the META-INF directory of the JAR file.
    • C、The TLD must be located within the META-INF/tld/ directory of the JAR file.
    • D、The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.
    • E、The TLD must be located within a subdirectory of META-INF directory of the JAR file.

    正确答案:B,E

  • 第14题:

    Which path is required to be present within a WAR file?()

    • A、/classes
    • B、/index.html
    • C、/MANIFEST-INF
    • D、/WEB-INF/web.xml
    • E、/WEB-INF/classes

    正确答案:D

  • 第15题:

    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

  • 第16题:

    In which two web application directories can dependent classes and libraries be located? ()

    • A、 /WEB-INF/lib as a JAR file
    • B、 /META-INF/lib as a JAR file
    • C、 /classes as compiled class files
    • D、 /WEB-INF/lib as compiled class files
    • E、 /WEB-INF/classes as compiled class files
    • F、 /META-INF/classes as compiled class files

    正确答案:A,E

  • 第17题:

    Which two secure remote access methods are available on the WX platforms?() (Choose two.)

    • A、SSL
    • B、SSH
    • C、Telnet
    • D、HTTP

    正确答案:A,B

  • 第18题:

    You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.if (Page.User.Identity.Name != @"CONTOSO/Administrator") { the page, you are redirected to Login.aspx. You discover that the User.Identity.Name property is not being correctly populated. You need to ensure that you can access the page when you are logged on as Administrator. Which two actions should you perform? ()

    • A、In the Web.config file, enable impersonation.
    • B、In IIS, enable anonymous access.
    • C、In IIS, disable anonymous access.
    • D、In the Web.config file, set the authentication mode to Windows.

    正确答案:C,D

  • 第19题:

    单选题
    Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
    A

     /conf/web.xml

    B

     /WEB-INF/web.xml

    C

     /conf/server.xml

    D

     /META-INF/web.xml

    E

     /WEB-INF/rules.xml

    F

     /META-INF/server. Xml


    正确答案: D
    解析: 暂无解析

  • 第20题:

    多选题
    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


    正确答案: E,C
    解析: 暂无解析

  • 第21题:

    单选题
    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
    解析: 暂无解析

  • 第22题:

    多选题
    Which two of these are advantages of placing the VPN device in the DMZ on the firewall?()
    A

    fewer devices to manage

    B

    moderate-to-high scalability

    C

    stateful inspection of decrypted VPN traffic

    D

    increased bandwidth with additional interfaces

    E

    decreased complexity as traffic is filtered from the firewall


    正确答案: C,D
    解析: 暂无解析

  • 第23题:

    单选题
    Which path is required to be present within a WAR file?()
    A

    /classes

    B

    /index.html

    C

    /MANIFEST-INF

    D

    /WEB-INF/web.xml

    E

    /WEB-INF/classes


    正确答案: E
    解析: 暂无解析