微软认证考试:模拟题(iis)
添加时间: 2007-4-8 0:01:17 作者: 微软认证参考 阅读次数:58 来源: http://www.d9soft.com
When you browse an ASP on a web site, you got an error message: ODBC Driver error "80004005" Data source name not found and no default driver specified.
ODBC driver not configured
Database name is not configured correctly
Data source name is not configured correctly
IIS computer cannot resolve the DNS name of the SQL server database
Answer : 3
A user tries to connect to a database via your company website and receives the error (don’t know this exactly)Microsoft OLE DB Provider for ODBC Drivers error ’80004005’
(the 3 start the same way and end like this):
LOGIN FAILURE
GENERAL NETWORK ERROR
Can not find Name Space and no driver defined.
Each question has the same answers:
the user has insufficient permissions to access the database.
the user has insufficient permissions to access RESOURCES in the database.
recent revisions of the database changed the connection method from named pipes to TCP/IP.
the database was recently moved to another server....
3 questions on SQL ODBC errors:
A user tries to connect to a database via your company website and receives the error "ODBC ..." LOGIN FAILURE ? The user has insufficient permissions to access the database...
A user tries to connect to a database via your company website and receives the error "ODBC ..." General Network Error ? Due to heavy use the database has been recently moved to another server......
A user tries to connect to a database via your company website and receives the error "ODBC ..." SOURCE NAME NOT FOUND OR NO DEFAULT DRIVER FOUND ? Incorrectly configured Data Source Name (DSN) .......
The choices were:
The user has insufficient permissions to access the database.
The user has insufficient permissions to access RESOURCES in the database.
Recent revisions of the database changed the connection method from named pipes to TCP/IP.
Due to heavy use the database was recently moved to another server....
Incorrectly configured Data Source Name (DSN) ....
ODBC stuff from Microsoft themselves
The following resources address 80004005 errors:
http://support.microsoft.com/support/kb/articles/q183/0/60.asp
and
http://support.microsoft.com/support/odbc/faq/faq3663.asp
Error Message ------------- Microsoft OLE DB Provider for ODBC Drivers error ’80004005’ [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
the most common cause is that the connection string is a session variable initialized in the Global.asa and Global.asa is not firing. You may check to see that the variable is being initialized correctly by adding the following code to the .asp page:
- If the Global.asa is not firing, check to make sure it is in an Application Root for IIS 4.0, or a Virtual Root with the "Execute" check box selected if running under IIS 3.0. Also, a bug detailed in the Microsoft Knowledge Base article Q173742, may prevent the Global.asa from being fired when Windows NT permissions have restricted access to the folder.
- The DSN name is not found. Check to make sure a ’User’ type DSN is not being used.
- If using a File or System DSN, try changing the connection string to "DSN=MySystemDSN" or "DBQ=MyFileDSN" as appropriate. Simplify!
- Check to make sure that the most current drivers are installed. If in doubt, download the latest MDAC (Microsoft Data Access Components) from the following Web site:
Error Message ------------- Microsoft OLE DB Provider for ODBC Drivers error ’80004005’ Microsoft][ODBC Microsoft SQL Driver] Logon Failed() Cause -----
-This error is generated by SQL server if it does not accept or recognize the logon account and/or password being submitted (if using Standard security) or if there is no Windows NT account to SQL account mapping (when using Integrated security).
-If you are using standard security, the SQL account name and password are incorrect. Try the system Admin account and password (UID= "SA" and NULL password). These must be defined on the connection string line. DSN’s do not store user names and passwords.
-If using Integrated security, check the Windows NT account that is calling the page, and find out what account (if any) it is mapped to.
-SQL does not allow an underscore in a SQL account name. If someone manually mapped the Windows NT IUSR_machinename account to a SQL account of the same name, it fails. Map any account that uses an underscore to an account name on SQL that does not use the underscore.
Error Message ------------- Microsoft OLE DB Provider for ODBC Drivers error ’80004005’ [Microsoft][ODBC SQL Server Driver][SQL Server] Login failed- User: Reason: Not defined as a valid user of a trusted SQL Server connection. Cause ----- -
-Integrated Security is turned on in the SQL Enterprise Manager, and the Windows NT account being used has not been mapped to a SQL account. –
-Try changing SQL to use Standard Security (In Enterprise Manager, select Server/ SQL Server/Configure[ASCII 133]/Security Options/Standard. - If running under IIS 4.0, turn off "Password Synchronization" for that project.
Error Message ------------- Microsoft OLE DB Provider for ODBC Drivers error ’80004005’ [Microsoft][ODBC SQL Server Driver][DBMSSOCN] General network error. Check your network document Cause -----
-This may occur when a SQL server computer is renamed. DSN’s that reference the old name fail when the computer name cannot be located
Which parameter listed below are store in metabase: (choose two)
IIS help file location
Virtual directory security settings
Web site home directory location
Microsoft Management Console Snap-In definitions.
Microsoft Site Server Express Content Analyzer Toolbar Positions
Answer:2,3
Key Metabase Entries
The metabase does not include all of the entries of the Windows NT registry, only those pertinent to Internet Information Server administration. For these settings, the metabase offers more advanced features including speed, scriptability, and remote administration. The following list describes the types of property settings stored in the metabase.
Computer and Web site properties. Properties configurable at the computer and Web site level.
Logging properties. Properties configurable for Web site activity logging.
FTP-specific properties. Properties configurable for FTP services only.
HTTP-specific properties. Properties configurable for Hypertext Transport Protocol (HTTP) services only.
Virtual directory and directory properties. Properties configurable at the virtual directory and directory level.
File properties. Properties configurable at the file level.
Filter properties. Properties configurable for filters.
SSL key properties. Properties configurable for Secure Sockets Layer (SSL) keys.
There are 100 web pages on a web site sharing common elements. If you are the administrator of this web site, and the web pages need to be updated three times every day, what is the most least administrative efforts way to maintain this web site?
Create common .idc filled for all HTML files
Create common .htx file for all HTML files
Rename all .htm files to .asp files
Use server-side include directives in the HTML file
Answer:4
The server-side include (SSI) directives component allows Internet Information Server to include text, graphics, or application information in a Hypertext Markup Language (HTML) page just before sending the HTML page to a user. SSI can be used to include, for example, a time or date stamp, a copyright notice, or a form for a customer to fill out and return to your organization. Using SSI to include a file is an easy way to incorporate text or graphics that will be repeated in many files. Rather than typing repeated information into every file, SSI allows you to use a statement to instruct the Web server to read from a single file instead.
The Web server processes SSI directives while it is processes the HTML page. When it reaches an SSI directive, the Web server inserts the contents of the included file directly into the HTML page. If the included file in turn contains an SSI directive, that file is also inserted.
You have three offices, each with an SMTP server connected via the internet. How do you secure them?
SSL
restrict by ip address
Answer:1
You want to publish the company newsletter to 500 users so that they can search the last six months by keyword. How?
NNTP
WWW and Index Server
Answer: 2 (use WWW to search the newsletter)
allow a range of IP addresses 192.168.0.96 - 192.168.0.127 deny all others.
192.168.0.0, 255.255.255.224
192.168.0.96, 255.255.255.192
192.168.0.96, 255.255.255.224
192.168.0.127, 255.255.255.192
Answer:3
Web Site configured to allow only a group of IP addresses to access it. The set-up was: 192.168.0.96 (Submask 255.255.255.224). What range of addresses allowed?
192.168.0.96 - 192.168.0.127
192.168.0.89 - 192.168.0.120
192.168.0.91 - 192.168.0.132
192.168.0.95 - 192.168.0.129
Answer: 1
You are behind a firewall and want to administer an IIS server with HTMLA, what port does the firewall have to let through.
HTMLA uses HTTP on a port chosen randomly at installation
HTTPS
SSL
RPC listener port
Answer: 1
When INSTALLING HTMLA it assigns itself a port number from 2000 to 9999, through which it connects the Administrative Web site EVERY time, and this port should be enabled in the firewall, RPC connection is nonsense. as the communication between the browser and the Administrative website is through purely through HTTP through this port number. from http://localhost/iishelp/iis/htm/core/iivsovr.htm#RemoteAdministration (IIS Server Documentation)
You want to decrease the amount of RAM that index server uses. Choose 2:
Increase number of Word Lists
Decrease number of Word Lists
Increase size of Word Lists
Decrease size of Word Lists
Answer 2,4
Word Lists: Word lists are small, in-memory indexes. Each word list contains data for a small number of documents. As soon as a document is filtered, its data is stored in a word list. Creation of a word list is very quick and does not require updating any on-disk data. It is used as a temporary staging area during indexing.
Once the number of word lists exceeds the MaxWordLists parameter, the word lists are merged into a shadow index. This merge process is called the shadow merge. Although the data in word lists is compressed to some extent, the compression is not very high because word lists are temporary structures. Because word lists are in-memory structures, documents in a word list must be refiltered whenever the Content Index service is restarted. The refiltering is automatically detected and performed by the Index Server engine.
MaxWordlistSize : Maximum amount of memory consumed by an individual word list. When this limit is reached, only the document being filtered will be added. Additional documents will be refiled and later placed in another word list. Each unit is 128 kilobytes (K) (for example, 20 = 2.5 megabytes).
MaxWordLists: Maximum number of word lists that can exist at one time.
reasons:
Stated in one of my reference materials (possibly the MS IIS Training Kit) was this phrase, "the ideal situation (for Index Server) is having a single Master Index with NO Shadow Indexes orWord Lists. Word lists reside only in the memory of the server and are merged into Shadow Indexes (stored on hard disk, but use more room than master indexes) when the number of Word Lists exceed the set parameter. While theoretically, increasing the number of Word Lists could result in a Shadow Merge, we of course can not assume (anything on an MS Certification test) the increase would trigger the Shadow merge. So fewer word lists and smaller word lists would obviously result in less memory since that is the only place word lists reside.
You are logging WWW with text logging and you want to know where to find the number of page hits?
in the log file
Event Viewer
Answer: 1
You configure multiple sites on a IIS 4.0 server. Both sites share the same IP address, Home Directory and TCP port. DNS entires have been setup that point each FQDN to the same IP address. However, when users try to go to the 2nd web site they open up t
Configure HOSTS files on the server
Configure HOSTS files on the clients
Configure the clients to use DNS
Configure Site 2 to use a Host Header
Answer: 4
You administer a NNTP server. How can you enable searching capabilities
Implement Index Server. Use .idq files.
Implement ODBC to SQL Server. Use SQL.
Instruct users to use the search features of their client newsreader
Nothing, newsgroups cannot be searched
Answer:1
You have 2 servers (NY and Ontario), what’s the easiest way to to change the IP ports on the 200 sites contained at those locations?
Use Inet Server Manager to change individual ports
Internet Server Manager HTML to change individual ports
write a VB script and run it on both sites
write a VB script and run it on one site
Answer: 3 (WSH cannot run remotely)
You set up three intranet web sites and set them to use headers. How do users find them.
Install modified Hosts file to the Server >Install modified Hosts file to all the clients
Install modified LMHosts file to all the clients
Modify the WINS server
Answer: 2
Your Domain name is currently set to one of you subsidiaries, How do you get SMTP mail to appear it is coming from your real companies domain?
Masquerade domain
Smart host header
Domain name change
Answer: 1 (Masquerade Domain entry for altering the outgoing SMTP domain value.)
The requirements for SMTP: (Choose 3)
NTFS
FAT
TCP/IP
Netbios name resolution
Host to Ip resolution (which is just another way of saying DNS)
Answer: 3,4,5 (why need netbios name resolution? because of the domain option)
You import 2 log files per day. You have > 900 users accessing your site. You want to reduce import time and resolution time. What should you do?
Increase cache period of IP lookups for importing log file
Decrease cache period of IP lookups for importing log files
Increase IP address timeout resolution time
Decrease IP address timeout resolution time
Answer: 1 (if two selections, then must select 4)
Cache IP resolutions times: This setting allows you to specify the duration of any IP lookup before the operation is repeated. The import module remembers the IP/host-name combination for the number of days specified. During the cache period, Usage Import automatically converts all IP references to the resolved host name. After the cache period, Import retries resolution. Longer cache settings will speed import and resolution but may miss intervening changes to IP/host-name combinations.
Timeout a resolution attempt times: Timeout establishes how long Usage Import will search before it enters an IP address as unresolved. Setting a higher timeout gives more complete resolution but slows completion of import. You can run IP resolution manually from the Tools menu.
What permissions must you give to a virtual directory containing IMAGES.GIF/JPEG?
Execute permissions
Read permissions
Do not change permissions
Something, something, something
Answer: 3
Graphics files don’t need to be executed- just read in the image. The default is Read & Script permissions so literally, you don’t need to change permissions. I didn’t get this question on the test but I listed the answer anyway.
You have a high number of not found errors on your web site. Why? (choose two)
Wrong virtual directory configuration
Wrong permission for anonymous account
Excessive traffic on network segment
Error on HTML codes on pages
Answere: 1,4
You want to configure a web site that integrates data and text files that are on a web site with data distribution on a Microsoft SQL server database. You want to index all of the data in the text files by using microsoft index server. You want to create a query the results of the text pages and publish the result on a single web page. What should you do?
Write a perl script that queries the index server to the SQL server database.
Write an ISAPI application that indexes the text files, queries the resulting Index, and then uses the SQL server to create a SQL Server database.
Write an ASP that uses Index server query language and that users SQL extentions to Index server to query SQL.
Write a CGI script that executes an Index server query and queries the SQL database.
Answer: 3
Performance Monitor and ISAPI which asks what can be done to decrease the active thread count value. How can you decrease the number of threads used by Web apps?
Add RAM to IIS computer.
Run all apps in a separate memory space. (but increase process count value)
Replace ISAPI apps with CGI scripts. (also increase process count value)
Install an ISAPI filter to validate users.
Answer: 2 (not very sure)
The chief difference between the CGI programming model and the ISAPI programming model is that CGI creates a unique process for every request, while ISAPI does not. With CGI, every time an HTTP server receives a request it must initiate a new process, which, along with maintaining processes, is very resource intensive.
In the ISAPI model, each request received by an HTTP server initiates the creation of a ECB data structure. Creating and maintaining a data structure is much easier and faster than initiating a new process. In addition, since the ECB and the extension are usually both running in the same process as IIS, the server can process requests faster and accommodate a higher volume of requests.
Finally, rather than using process isolation, the ISAPI model uses threads to isolate processing work items. Using multiple threads to synchronize work allows IIS to make more efficient use of system resources than is possible with the CGI model, or other models based on process isolation.
IIS 4.0 supports process isolation for ISAPI DLLs and scripts. IIS uses custom high speed methods to establish communication between the server process and the surrogate process housing the ISAPI DLLs thus providing robustness with high performance. Still, the ISAPI DLLs are only loaded once per isolated process. The application namespace boundary governs how the different processes are created and used.
You want to install IIS to support an Intranet Web Site for the sales, marketing and accounting department of your company. All client browsers support Host Headers.
The requirements for each department are:
Sales Accounting Marketing
unique name unique name unique name
secure directory secure directory secure directory
Install IIS on 3 NT Servers; implement NTFS security; seperate computer for each department
Install IIS on 1 NT Servers; implement NTFS security; implement Host Headers
Install IIS on 1 NT Workstations; implement NTFS security
Install IIS on 3 Win95 computers; implement share-level securtity
Answer: 2
You enabled DNS on all clients. Prior using DNS, all clients used HOSTS. You use Host headers. Some clients of problems
Change DNS entry for the IIS computer
Change DNS entry for each web site
Change HOSTS file on the IIS computer
Delete HOSTS file on the clients
Answer: 4
You have make all client computers to use DNS. Before they are using HOSTS file. After that, you change the IP address of the IIS server. Some clients then report that they cannot connect to the web server.
Add an entry of the IIS server to the DNS
Add an entry of the IIS server to the HOSTS file of the client
Remove the HOSTS file of all the client
Answer: 3
You have 3 Web sites, one IIS and 10 users will need to be able to access each site simultaneously. What do you install ?
Windows 95
Windows 3.1
Windows NT Server
Windows NT Workstation
Answer: 3 (only Windows NT Server support Multiple Web site hosting)
Users reports that it takes 48 hours to receive undeliverable message notifications. How to decrease time ?
Decrease retry interval to 30 minutes ( default settings was 60 minutes)
Increase max numbers of retries to 60
Implement DNS reverse lookup
Select LOCAL as the message queue type on the SMTP site tab.
Answer: 1
You’re running ISAPI & CGI scripts. You move these to a virtual directory and assign permissions. What must you do so those users can run both?
Stop & restart WWW.
Stop & restart MMC.
In Internet Service Manager (ISM) assign read permissions for the scripts virtual directory.
In ISM, assign execute permissions for wwwroot directory.
Answer: 4 (ISAPI is an DLL, it need execute permission, the CGI script only need script permission)
Trouble with slow access on IIS computer. Discover via performance monitor that the server has low processor usage and high network bandwidth usage. What should you do?
Add RAM
Add another network adapter
Increase size of paging file ·
Increase timeout connection for your web site.
Answer: 2
From monitoring SMTP, you find the average local retry queue length is 6, how would you improve performance for the SERVICE
Increase NTFS cache size
Increase connection timeout.
Decrease local retry queue interval
Decrease remote queue max hop count.
Answer:2.3 (not sure, I checked book that indicated it may be cause by none of driver space )
Local Retry Queue Length: The number of messages currently in the local retry queue.If the retry queues have high values, it indicates that messages cannot be delivered.
You are running NNTP. Server has a single home directory configuration on a single RAID5 array. Number of messages stored is increased and the server response slows. What should you do?
Configure multiple virtual directories on a single drive array
Configure multiple virtual directories on a multiple drive array
Move the virtual folder location onto a non RAID 5 disk
Enable directory logging in NNTP
Answer: 2
’I choose B because "the virtual directory is a directory on a local or remote disk drive that acts as the root of a portion of the newsgroup shierarchy. Virtual directories enable you to store newsgroup files on multiple disk drives.
The only place I could find any information on virtual directories in NNTP was in the MS IIS Training Kit(Chapter 8, page 134). In half a page it states that breaking the NNTP directory into multiple virtual directories will improve performance. However, it also states, "There is no advantage to creating virtual directories on the same physical disk at the home directory". Therefore, if you are going to create more virtual directories they should be created on separate physical disks.
Now RAID 5 (disk striping with parity) uses at least three physical disks, which act as one logical disk. My belief (read not sure about this) is that since everything gets striped across those 3+ disks at once then it probably acts the same as one physical disk for NNTP performance purposes.
The question specifies a single directory and a single array. To me this does not imply anything about other arrays being available or not, just that NNTP is presently on a single array. So I have no problem saying multiple arrays are possible. Here is the sticky part though. Performance should increase by doing answer A if the RAID 5 is not treated as one physical disk since it is presently in only one directory, but performance would increase even more by doing answer B regardless of the outcome of the RAID 5 status. Besides I just noticed the next question down supports this argument as well so I am sticking to it.
What is the advantage (or disadvantage) when your home directory is located on a RAID5 disk, multiple virtual directories are created on a single RAID5 disk, or that virtual directories are located among multiple RAID5 disks?
>when multiple virtual directories r distributed among RAID5 this will yield faster reading access to the directories ’
Your web site uses virtual directories on 4 servers. You want to create a summary of all images on your site. How?
Issue query using index server
Browse site using ISM
Search for image extensions in Explorer.
Generate images report from site server express.
Answer: 4
Your web site has a virtual directory which use UNC path to connect to a Netware server. You use IUSER_ComputerName to connect to it. Assign read permission to the virtual directory in MMC. But access being denied when try to connect. What to do?
UNC path should not be used
Create the same account in Netware as IUSER_ComputerName
Grant NTFS read permission to the sth...
Answer: 2
Your web site wasaccessed by some Internet and some Intranet user. Internet users using web browser which don’t support NT Challange/Password method. How to establish a secure access to both kind of users.
Use basic authentication for both kind of users
Use NT Challenge for Intranet user. Use SSL and give certificate to Internet users.
Use SSL for both kind of users.
Answer: 3
You want the browser to treat .htmlh file as html file. What to do?
Add MIME type for .htmlh
Change the application extension mappings.
Answer: 1
You want to build standard web site for several departments in your company. What is the most efficient way?
Use default web site to build the standard web sites.
Use scripting tools to develop scripts to genereate standard web sites.
Answer: 2 (use mkwebsrv.vbs)
You have put some images in the web site’s home directory c:home and some put in the c:homeimages directory. Some users report that some images can be loaded. It includes the "http://sitetest/images/image1.gif". The exhibit of MMC shows the below stuffs:
Sitetest
___ "images" (virtual directory linked to c:inetputwwwroot)
___ "xxxx" (another virtual directory)
What to do?
Assign read permissions to the wwwroot directory.
Remove the "images" virtual directory.
Answer: 2
You want to find all web pages over 32K. What is the best way to do this?
File manager search
Export report to excel and search
Site Content Analyzer report
Internet server manager listing
Answer: 3 (tools->quick search-> load size over 32k)
You want to enable logging of your web site. What option should you choose to allow the lowest processing overhead.
Normal Text Log
Compressed Normal Text Log
Logging to a SQL database
Logging to a remote SQL database
Answer: 1
Site server reports hourly on the web site, some IP’s are not logged, why?
上一篇文章: 微软认证考试:模拟题(tcpip) 下一篇文章: 微软认证考试:模拟题(nt企业)
相关文章:

