单项选择题
You install the Web Server (IIS) role on a server that runs Windows Server 2008. Your companys human resources department has a Web site named www.contoso.com/hr.
You need to create a virtual directory on the company Web site for the HR department.
Which command should you run on the Web server?()
A.appcmd add app /app.name:contoso /path:/hr /physicalPath:c:\websites\hr
B.appcmd add site /name:hr /physicalPath:c:\websites\hr
C.appcmd add vdir /app.name:contoso /path:/hr /physicalPath:c:\websites\hr
D.appcmd set vdir /vdir.name:hr /path:/hr /physicalPath:c:\websites\hr
相关考题
-
单项选择题
You have a Windows Server 2008 server that has the Web Server (IIS) server role installed. The server hosts multiple Web sites. You need to configure the server to automatically release memory for a single Web site. You must achievethis goal without affecting the other Web sites. What should you do?()
A.Create a new Web site and edit the bindings for the Web site.
B.Create a new application pool and associate the Web site to the application pool.
C.Create a new virtual directory and modify the Physical Path Credentials on the virtual directory.
D.From the Application Pool Defaults, modify the Recycling options. -
单项选择题
Your network contains a Windows Server 2008 server that has the Web Server (IIS) server role installed. You have a Web application that uses a custom application pool. The application pool is set to recycle every 1,440 minutes. The Web application does not support multiple worker processes. You need to configure the application pool to ensure that users can access the Web application after the application pool is recycled. What should you do?()
A.Set the Shutdown Executable option to True.
B.Set the Process Orphaning Enabled option to True.
C.Set the Disable Overlapped Recycling option to True.
D.Set the Disable Recycling for Configuration Changes option to True. -
单项选择题
You have the Web Server (IIS) role installed on a server that runs Windows Server 2008. You make changes to the configuration of an application named APP1. Users report that the application fails. You examine the event log and discover the following error message: 503 Service Unavailable. You need to ensure that users are able to connect to APP1. Which command should you run at the command prompt on the server?()
A.appcmd set config
B.appcmd stop apppool
C.appcmd start apppool
D.appcmd set apppool
