网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()
A
<% if ( request.isUserInRole(SalesManager) ) { %> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> <% } %>
B
<jsp:if test=’request.isUserInRole(SalesManager)’> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> </jsp:if>
C
<% if ( request.isUserInRole(SalesManager) ) { %> . <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> . <% } %>
D
<jsp:if test=’request.isUserInRole(SalesManager)’> <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> </jsp:if>
参考答案
参考解析
解析:
暂无解析
更多 “单选题You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()A % if ( request.isUserInRole(SalesManager) ) { % %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % % } %B jsp:if test=’request.isUserInRole(SalesManager)’ %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % /jsp:ifC % if ( request.isUserInRole(SalesManager) ) { % . jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / . % } %D jsp:if test=’request.isUserInRole(SalesManager)’ jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / /jsp:if” 相关考题
考题
Your Web site uses custom Themes. Your Web site must support additional Themes based on the user‘s company name. The company name is set when a user logs on to the Web site. The company‘s Theme name is stored in a variable named ThemeName. You need to use this variable to dynamically set the Web site‘s Theme.What should you do?()A.B.C.D.
考题
YouarebuildingJSPpagesthathaveasetofmenusthatarevisiblebasedonauser’ssecurityrole.Thesemenusarehand-craftedbyyourwebdesignteam;forexample,theSalesManagerrolehasamenuinthefile/WEB-INF/html/sales-mgr-menu.html.WhichJSPcodesnippetshouldbeusedtomakethismenuvisibletotheuser?()A.%if(request.isUserInRole(SalesManager)){%%@includefile=’/WEB-INF/html/sales-mgr-menu.html’%%}%B.jsp:iftest=’request.isUserInRole(SalesManager)’%@includefile=’/WEB-INF/html/sales-mgr-menu.html’%/jsp:ifC.%if(request.isUserInRole(SalesManager)){%.jsp:includefile=’/WEB-INF/html/sales-mgr-menu.html’/.%}%D.jsp:iftest=’request.isUserInRole(SalesManager)’jsp:includefile=’/WEB-INF/html/sales-mgr-menu.html’//jsp:if
考题
Every page of your web site must include a common set of navigation menus at the top of the page. Thismenu is static HTML and changes frequently,so you have decided to use JSP’s static import mechanism. Which JSP code snippet accomplishes this goal?()A、%@ import file=’/common/menu.html’ %B、%@ page import=’/common/menu.html’ %C、%@ import page=’/common/menu.html’ %D、%@ include file=’/common/menu.html’ %E、%@ page include=’/common/menu.html’ %
考题
You established access to menu modules using roles. While testing the application, you need access to all the menus in the SALES form module for all the roles. Which method will override the Menu Module Roles property to allow you to access all the menu items?()A、Disable the values for the Menu Module Roles property. B、Set the Use Security value in the form module Property Palette to 'True'. C、Set the Use Security value in the form module Property Palette to 'False'. D、Set the Use Security value in the menu module Property Palette to 'True'. E、Set the Use Security value in the menu module Property Palette to 'False'.
考题
You are designing a Windows Azure application. The application includes two web roles and three instances of a worker role. The web roles will send requests to the worker role through one or more Windows Azure Queues. You have the following requirements: - Ensure that each request is processed exactly one time. - Minimize the idle time of each worker role instance. - Maximize the reliability of request processing. You need to recommend a queue design for sending requests to the worker role. What should you recommend?()A、 Create a single queue. Send requests on the single queue.B、 Create a queue for each web role. Send requests on all queues at the same time.C、 Create a queue for each workerrole instance. Send requests on each worker queue in a round robin.D、 Create a queue for each combination of web roles and worker role instances. Send requests to all worker role instances based on the sending web role.
考题
You are building your own layout mechanism by including dynamic content for the page’s header and footersections. The footer is always static, but the header generates the tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?() titleA、jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:includeB、jsp:import page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:importC、jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:includeD、jsp:import page=’/WEB-INF/jsp/header.jsp’. jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:import
考题
You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()A、% if ( request.isUserInRole("SalesManager") ) { % %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % % } %B、jsp:if test=’request.isUserInRole("SalesManager")’ %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % /jsp:ifC、% if ( request.isUserInRole("SalesManager") ) { % . jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / . % } %D、jsp:if test=’request.isUserInRole("SalesManager")’ jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / /jsp:if
考题
Your manager has informed you that only specific users can have access to the Preferred Members role, and that these users are restricted to the Preferred Members role. The Preferred Members role-mapping rule is currently set as the last rule in your role-mapping rules and is based on username. Currently all users are assigned to the Preferred Members role-mapping rule. Which three changes in the admin GUI will enforce your managers change request?()A、Move the Preferred Members role-mapping rule to the top of the list.B、Remove the Preferred Members role from the role-mapping rule.C、Edit the Preferred Members role-mapping rule so that the username is equal to *.D、Edit the Preferred Members role-mapping rule so that only the select users are assigned to the role-mapping rule.E、Edit the Preferred Members role-mapping rule and select "Stop processing rules when this rule matches".
考题
You established access to menu modules using roles. You have allowed the sales role to access the menu module, but prevented access to the Update menu item. Which item property would you alter to gray out the menu option for the role?()A、Item Roles. B、Menu Item Roles. C、Display without Privilege. D、Use Security. E、Command Type.
考题
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do? ()A、Set Page.MasterPageFile in the Page's Page_Init event.B、Set Page.MasterPageFile in the Page's OnInit event.C、Set Page.MasterPageFile in the Page's Page_Load event.D、Set Page.MasterPageFile in the Page's Page_PreInit event.
考题
You have a server that runs Windows Server 2008. The server has the Web Server (IIS) server role installed and all the Web Server role services installed. You need to provide a user the ability to administer a Web site. Which feature should you configure?()A、Net RolesB、Net UsersC、AuthenticationD、IIS Manager Permissions
考题
You have a Windows Server 2008 server that has the Web Server (IIS) server role installed. The server contains a Web site. You need to ensure that the cookies sent from the Web site are encrypted on users computers. Which Web site feature should you configure?()A、Authorization RulesB、Machine KeyC、Pages And ControlsD、SSL Settings
考题
You have a server that runs Windows Server 2008. The server has the Web Server (IIS) server role installed. The server contains a Web site that is configured to use only Windows Authentication. You have a security group named Group1 that contains several user accounts. You need to prevent the members of Group1 from accessing a Web site. You must not prevent other users from accessing the Web site. Which Web site feature should you configure?()A、AuthenticationB、Authorization RulesC、IIS Manager PermissionsD、SSL Settings
考题
You create a Web site that is for members only. The behavior of the Web site changes according to the role of the user. The Web site uses the ASP.NET Membership control for creation of user accounts. You need to find out whether a user is a member of a particular role. What should you do?()A、Pass the user names and passwords to Membership.ValidateUser.B、Pass the role names to User.IsInRole.C、Pass the role names to Roles.RoleExists.D、Pass the user names to Membership.GetUser.
考题
You have a Windows Server 2008 server that has the Web Server (IIS) server role installed. The servercontains a Web site. You need to ensure that the cookies sent from the Web site are encrypted on userscomputers. Which Web site feature should you configure?()A、Authorization RulesB、Machine KeyC、Pages And ControlsD、SSL Settings
考题
单选题You are building your own layout mechanism by including dynamic content for the page’s header and footersections. The footer is always static, but the header generates the tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?()A
jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:includeB
jsp:import page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:importC
jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:includeD
jsp:import page=’/WEB-INF/jsp/header.jsp’. jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:import
考题
单选题ABC Corp. is implementing 11i Oracle Applications. The company has two local administrators in separate locations. They need to ensure that only a relevant set of users is visible to each of these local administrators. Which action will meet the requirement?()A
create a separate role for each local administratorB
specify user administration privileges in Oracle User ManagementC
use Data Security to provide relevant access to each local administratorD
use Function Security to provide relevant access to each local administrator
考题
单选题You established access to menu modules using roles. You have allowed the sales role to access the menu module, but prevented access to the Update menu item. Which item property would you alter to gray out the menu option for the role?()A
Item Roles. B
Menu Item Roles. C
Display without Privilege. D
Use Security. E
Command Type.
考题
单选题You have a server that runs Windows Server 2008. The server has the Web Server (IIS) server role installed. The server contains a Web site that is configured to use only Windows Authentication. You have a security group named Group1 that contains several user accounts. You need to prevent the members of Group1 from accessing a Web site. You must not prevent other users from accessing the Web site. Which Web site feature should you configure?()A
AuthenticationB
Authorization RulesC
IIS Manager PermissionsD
SSL Settings
考题
单选题You create a Web site that is for members only. The behavior of the Web site changes according to the role of the user. The Web site uses the ASP.NET Membership control for creation of user accounts. You need to find out whether a user is a member of a particular role. What should you do? ()A
Pass the user names and passwords to Membership.ValidateUser.B
Pass the role names to User.IsInRole.C
Pass the role names to Roles.RoleExists.D
Pass the user names to Membership.GetUser.
考题
单选题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
AnonymousB
CertificateC
FormsD
Microsoft Windows Integrated Security
考题
单选题You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()A
% if ( request.isUserInRole(SalesManager) ) { % %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % % } %B
jsp:if test=’request.isUserInRole(SalesManager)’ %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % /jsp:ifC
% if ( request.isUserInRole(SalesManager) ) { % . jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / . % } %D
jsp:if test=’request.isUserInRole(SalesManager)’ jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / /jsp:if
考题
单选题You are the administrator of a Junos Pulse Access Control Service implementation. You must restrict authenticated users connected from the branch offices to a few specific resources within the data center. However, when the authenticated users are connected at the corporate office, they are allowed more access to the data center resources. You have created two roles with different levels of access and are trying to determine the best way of controlling when a user is mapped to a specific role. Having the user prompted to manually select their role is possible, but you want to automate the process. Which configuration solves this problem?()A
Implement a RADIUS request attribute policy to assist with realm selection and create different role-mapping rules for the user in each realm.B
Implement a directory/attribute server on the realm and set up this server to determine by group membership the proper role to which a user should be mapped.C
Reorder the role-mapping rules to allow for the more open role to be mapped first and then enable the stop processing rules when this rule matches function on this role.D
Implement a Host Checker policy on the realm that determines the geographic location of the device and restricts the user based on the results of the policy.
考题
单选题You have a server that runs Windows Server 2008. The server has the Web Server (IIS) server role installed and all the Web Server role services installed. You need to provide a user the ability to administer a Web site. Which feature should you configure?()A
Net RolesB
Net UsersC
AuthenticationD
IIS Manager Permissions
考题
单选题Every page of your web site must include a common set of navigation menus at the top of the page. Thismenu is static HTML and changes frequently,so you have decided to use JSP’s static import mechanism. Which JSP code snippet accomplishes this goal?()A
%@ import file=’/common/menu.html’ %B
%@ page import=’/common/menu.html’ %C
%@ import page=’/common/menu.html’ %D
%@ include file=’/common/menu.html’ %E
%@ page include=’/common/menu.html’ %
考题
单选题Your web application views all have the same header, which includes the tag in the elementof the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put itinto a single JSP called /WEB-INF/jsp/header.jsp. However, the title of each page is unique, so you havedecided to use a variable called pageTitle to parameterize this in the header JSP, like this: 10.${param.pageTitle} Which JSP code snippet should you use in your main view JSPs to insert the header and pass thepageTitle variable?()A
jsp:insert page=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:insertB
jsp:include page=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:includeC
jsp:include file=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:includeD
jsp:insert page=’/WEB-INF/jsp/header.jsp’. jsp:param name=’pageTitle’ value=’Welcome Page’ / . /jsp:insertE
jsp:include page=’/WEB-INF/jsp/header.jsp’. jsp:param name=’pageTitle’ value=’Welcome Page’ / . /jsp:include
考题
单选题You are designing a Windows Azure application. The application includes two web roles and three instances of a worker role. The web roles will send requests to the worker role through one or more Windows Azure Queues. You have the following requirements: - Ensure that each request is processed exactly one time. - Minimize the idle time of each worker role instance. - Maximize the reliability of request processing. You need to recommend a queue design for sending requests to the worker role. What should you recommend?()A
Create a single queue. Send requests on the single queue.B
Create a queue for each web role. Send requests on all queues at the same time.C
Create a queue for each workerrole instance. Send requests on each worker queue in a round robin.D
Create a queue for each combination of web roles and worker role instances. Send requests to all worker role instances based on the sending web role.
热门标签
最新试卷