试题四(共15分)
  阅读以下说明,回答问题1至问题3,将解答填入答题纸对应的解答栏内。
【说明】
  某公司的网络结构如图4-1所示,所有PC机共享公网IP地址211.156.168.5接入Internet,另外有2台服务器提供Web服务和FTP服务,服务器的内网和公网地址如表4-1所示。

 

【问题1】(3分)
  参照图4-1中各个设备的IP地址,完成表4-2中防火墙各个端口的IP地址和掩码设置。

 

1)~(3)备选答案:
  A.192.168.1.1   B.10.1.1.1
  C.210.156.169.1  D.211.156.168.8
  E.255.255.255.0  F.255.255.255.248
标准答案:
  (1)A,(2)F,(3)B

【问题2】(6分)
  完成表4-3所示防火墙上的NAT转换规则,以满足防火墙部署要求。
 

试题解析:

  因为“所有PC机共享公网IP地址211.156.168.5接入Internet”,内网192.168.1.10是内网PC,所以(4)的答案应为211.156.168.5。

  至于(5)和(6)的答案,请参看表4-1。

标准答案:
  (4)211.156.168.5,(5)10.1.1.2,(6)10.1.1.3

 

【问题3】(6分)
  表4-4所示为防火墙中定义的过滤规则,过滤规则的优先级由规则编号决定,规则编号越小优先级越高。请定义规则4,使得来自Internet的请求能访问FTP服务并尽可能少的带来***风险。
 

 

注:*代表任意防火墙的任意一个接口
标准答案:
  (7)e1→e2,(5)ftp,(6)允许

 

试题五(共15分)
  阅读下列说明,根据网页显示的效果图,回答问题1至问题2。
【说明】
  某电子商务网站如图5-1所示。
 

 

 

图5-1
【index.html文档的内容】
    <html>
    <head>
    <title>网上商城<</title>
    <lhead>
    <frameset   (1) =" 15 %,70%,15%" noresize="noresize" border=1>
    <frame src="frame-top.html" name="top">
    <frameset   (2)  =" 20%,80%">
    <frame src="frame_left.html" name="left">
    <frame src="frame_right.html" name="right">
    </frameset>
    <frame src="count.asp" name="bottom">
    </frameset>
    </html>
【frame left.html文档的内容】
    <html>
    省略部分代码……
      <center>
    <table border="1" bordercolor="blue">
      <tr>
    <td><a href="content l .html"  (3)="right">
            <img src="img/l.gif'” width="100" height="30" border="0"></a></td>
    </tr>
    省略部分代码……
    </table>
      </center>
  省略部分代码……
  </html>
【count.asp文档的内容】
  <html>
  <head>
  <title>计数器</title>
  <body>
  <%
      Set corm=Server.CreateObject("ADODB.Connection")
      Set rs=Server.CreateObject("ADODB.  (4)  " )
      conn.ConnectionString=" (5) ={Microsoft Access Driver (*.mdb)}; Uid=; Pwd=; DBQ= " & Server.  (6)  ("database/count.mdb")
    conn.open()
    (7)  sql
    sql="  (8)  count set hit=hit+1”
    corm.  ( 9 )  (sql)%>
    sql“"select*from count"
    set rs=conn.execute(sql)
  %>
  <%
      lasthitzs. fields("lasthit")
      tdate=year(Now())&”-”&month(Now())&”-”&day(Now())
      sql="update count set lasthit="' &tdate&"' where ID="&rs.fields("id")
      conn.execute(sql)
  %>
  <%
      sql="select * from count"
      set rs=conn.execute(sql)
  %>
  <table bgcolor=blue><tr><td width="100%" align=center>总访问<%=rs(“hit")%>次,最后访问日期<%rs("lasthit")%></td></tr></table>
  <%
      rs.close()
  %>
  </bedy>
  </html>
【问题1】(6分)
  为程序中(1)~(3)处空缺选择正确答案,并填入答题纸对应的解答栏内。
  (1)~(3)备选答案:
    A.src         B.cols        C.rows        D.target        E.link
标准答案:
  (1)C  (2)B  (3)D

 

【问题2】(9分)
  为程序中(4)~(9)处空缺选择正确答案。
  (4)~(9)备选答案:
    A.connection B.close  C.recordset  D.command
    E.Open  F.Driver  G.execute  H.Dim
    I.MapPath  J.movefirst  K.eof   L.update
标准答案:
  (4)C  (5)F  (6)I
  (7)H  (8)L  (9)G