CCNA考試題目分析
CCNA考試題目分析,CCNA-OSI參考模型問(wèn)題:
Which layer of the 7 layer model provides services to the application layer over the Session layer connection?
A.Network B.Transport C.Session D.Presentation E.Application F.Datalink
Select the 1 best answer(選擇一個(gè)最佳答案)
在7層OSI模型中為應(yīng)用層連接會(huì)話層及提供服務(wù)的是那一層?
解答:
在7層模型中分部情況是:物理層-數(shù)據(jù)鏈路層-網(wǎng)絡(luò)層-傳輸層-會(huì)話層-表示層-應(yīng)用層,在會(huì)話層和應(yīng)用層之間是表示層,表示層提供的服務(wù)是:為異種機(jī)通信提供一種公共語(yǔ)言,以便能進(jìn)行互操作。這種類型的服務(wù)之所以需要,是因?yàn)椴煌挠?jì)算機(jī)體系結(jié)構(gòu)使用的數(shù)據(jù)表示法不同。對(duì)于用戶數(shù)據(jù)來(lái)說(shuō),可以從兩個(gè)側(cè)面來(lái)分析:一個(gè)是數(shù)據(jù)含義被稱為語(yǔ)義同,另一個(gè)是數(shù)據(jù)的表示形式,稱做語(yǔ)法,像文字,圖形,聲音,文種,壓縮,加密等都屬于語(yǔ)法范疇。
例如:ASCⅡ,EBCDIC,JPEG,GIF,PICT,MIDI,MPEG
本題是講在會(huì)話層和應(yīng)用層之間的層是什么層:就是表示層。
記憶7層模型的方法:物-數(shù)-網(wǎng)絡(luò)-傳-會(huì)-表-應(yīng)。
正確答案:D
參考資料:
Sybex CCNA 4.0 - Chapter 1 :Internetworking - The OSI Reference Model
The Presentation Layer
The Presentation layer gets its name from its purpose: It presents data to the Application layer and is responsible for data translation and code formatting.
This layer is essentially a translator and provides coding and conversion functions. A successful data-transfer technique is to adapt the data into a standard format before transmission. Computers are configured to receive this generically formatted data and then convert the data back into its native format for actual reading (for example, EBCDIC to ASCII)。 By providing translation services, the Presentation layer ensures that data transferred from the Application layer of one system can be read by the Application layer of another one.
The OSI has protocol standards that define how standard data should be formatted. Tasks like data compression, decompression, encryption, and decryption are associated with this layer. Some Presentation layer standards are involved in multimedia operations too. The following serve to direct graphic and visual image presentation:
PICT A picture format used by Macintosh programs for transferring QuickDraw graphics.
TIFF Tagged Image File Format; a standard graphics format for high-resolution, bitmapped images.
JPEG Photo standards brought to us by The Joint Photographic Experts Group.
Other standards guide movies and sound:
MIDI Musical Instrument Digital Interface (sometimes called Musical Instrument Device Interface), used for digitized music.
MPEG Increasingly popular Moving Picture Experts Group standard for the compression and coding of motion vdeo for CDs. It provides digital storage and bit rates up to 1.5Mbps.
QuickTime For use with Macintosh programs; manages audio and video applications.
RTF Rich Text Format, a file format that lets you exchange text files between different word processors, even in different operating systems.
#p#
CCNA考試題目分析,交換機(jī)轉(zhuǎn)發(fā)時(shí)延原因簡(jiǎn)析
問(wèn)題:
What type of switching creates variable latency through the switch?
A.Layer 4 B.Store and Forward C.Cut-through D.Inverted E.Multiplexed F.Modified Cut-through
Select the 1 best answer
在交換機(jī)中什么交換方式,會(huì)引起時(shí)延。
解答:
因?yàn)樵诖鎯?chǔ)轉(zhuǎn)發(fā)中,交換機(jī)必須先把整個(gè)幀在轉(zhuǎn)發(fā)出去的時(shí)候都讀出來(lái),讀取大的數(shù)據(jù)幀比小的數(shù)據(jù)幀用時(shí)要多的多。所以在讀取時(shí)會(huì)引起時(shí)延。
正確答案:B
參考資料:
Sybex CCNA 4.0 Chapter 1 —— Internetworking The OSI Reference Model - The Data Link layer
虛擬局域網(wǎng)
問(wèn)題:
The switches in the diagram are each installed on a different floor.Each PC has a dedicated switch port.PCs 1,2,3,4 and 5 each belong to users in the sales department.What would be the most effective solution that will limit the propagation of broadcasts from these hosts and secure their communications.The solution should allow for ease of management,troubleshooting and scalability.
A.Create a Sales VLAN on each of the switches and assign the ports connected to PCs 1,2,3,4 and 5 to that VLAN
B. Create a Sales VPN and use VTP across the trunk links of the switches to propagate membership to PCs 1,2,3,4 and 5
C. Move PCs 1,2,3,4 and 5 to the 3rd floor,and disconnect the 3rd floor switch from the rest of the LAN
D. Replace the switches with routers and use ACLs to control traffic between hosts
![]() |
Select the 1 best answer
在交換機(jī)的圖表中,每個(gè)交換機(jī)都不在同一層,每臺(tái)PC機(jī)都連接在交換機(jī)的端口上面,如圖PC機(jī)1。2。3。4。5都是銷售部門的電腦,有什么解決方案可以隔離廣播和提高網(wǎng)絡(luò)通訊安全,這個(gè)解決方案要有容易管理,排錯(cuò)和較高的可行性。
解答:
在如上的四種方法中最好的方法是利用vlan技術(shù)。如果在交換機(jī)中使用vlan技術(shù),不需要改變網(wǎng)絡(luò)的拓?fù)浣Y(jié)構(gòu)和交換設(shè)備,也可以達(dá)到隔離廣播和提高網(wǎng)絡(luò)通訊安全的要求,同時(shí)也有很高的可行性。所以選擇A。
vlan的介紹:英文Virtual Local Area Network的縮寫(xiě),中文名為"虛擬局域網(wǎng)".
VLAN是一種將局域網(wǎng)(LAN)設(shè)備從邏輯上劃分(注意,不是從物理上劃分)成一個(gè)個(gè)網(wǎng)段(或者說(shuō)是更小的局域網(wǎng)LAN),從而實(shí)現(xiàn)虛擬工作組(單元)的數(shù)據(jù)交換技術(shù)。
VLAN的好處主要有三個(gè):
(1)端口的分隔。即便在同一個(gè)交換機(jī)上,處于不同VLAN的端口也是不能通信的。這樣一個(gè)物理的交換機(jī)可以當(dāng)作多個(gè)邏輯的交換機(jī)使用。
(2)網(wǎng)絡(luò)的安全。不同VLAN不能直接通信,杜絕了廣播信息的不安全性。
(3)靈活的管理。更改用戶所屬的網(wǎng)絡(luò)不必?fù)Q端口和連線,只更改軟件配置就可以了。
VLAN在交換機(jī)上的實(shí)現(xiàn)方法,可以大致劃分為六類:
1. 基于端口的VLAN
這是最常應(yīng)用的一種VLAN劃分方法,應(yīng)用也最為廣泛、最有效,目前絕大多數(shù)VLAN協(xié)議的交換機(jī)都提供這種VLAN配置方法。這種劃分VLAN的方法是根據(jù)以太網(wǎng)交換機(jī)的交換端口來(lái)劃分的,它是將VLAN交換機(jī)上的物理端口和VLAN交換機(jī)內(nèi)部的PVC(永久虛電路)端口分成若干個(gè)組,每個(gè)組構(gòu)成一個(gè)虛擬網(wǎng),相當(dāng)于一個(gè)獨(dú)立的VLAN交換機(jī)。
2. 基于MAC地址的VLAN
這種劃分VLAN的方法是根據(jù)每個(gè)主機(jī)的MAC地址來(lái)劃分,即對(duì)每個(gè)MAC地址的主機(jī)都配置他屬于哪個(gè)組,它實(shí)現(xiàn)的機(jī)制就是每一塊網(wǎng)卡都對(duì)應(yīng)唯一的MAC地址,VLAN交換機(jī)跟蹤屬于VLAN MAC的地址。這種方式的VLAN允許網(wǎng)絡(luò)用戶從一個(gè)物理位置移動(dòng)到另一個(gè)物理位置時(shí),自動(dòng)保留其所屬VLAN的成員身份。
3. 基于網(wǎng)絡(luò)層協(xié)議的VLAN
VLAN按網(wǎng)絡(luò)層協(xié)議來(lái)劃分,可分為IP、IPX、DECnet、AppleTalk、Banyan等VLAN網(wǎng)絡(luò)。這種按網(wǎng)絡(luò)層協(xié)議來(lái)組成的VLAN,可使廣播域跨越多個(gè)VLAN交換機(jī)。這對(duì)于希望針對(duì)具體應(yīng)用和服務(wù)來(lái)組織用戶的網(wǎng)絡(luò)管理員來(lái)說(shuō)是非常具有吸引力的。而且,用戶可以在網(wǎng)絡(luò)內(nèi)部自由移動(dòng),但其VLAN成員身份仍然保留不變。
4. 根據(jù)IP組播的VLAN
IP 組播實(shí)際上也是一種VLAN的定義,即認(rèn)為一個(gè)IP組播組就是一個(gè)VLAN。這種劃分的方法將VLAN擴(kuò)大到了廣域網(wǎng),因此這種方法具有更大的靈活性,而且也很容易通過(guò)路由器進(jìn)行擴(kuò)展,主要適合于不在同一地理范圍的局域網(wǎng)用戶組成一個(gè)VLAN,不適合局域網(wǎng),主要是效率不高。
5. 按策略劃分的VLAN
基于策略組成的VLAN能實(shí)現(xiàn)多種分配方法,包括VLAN交換機(jī)端口、MAC地址、IP地址、網(wǎng)絡(luò)層協(xié)議等。網(wǎng)絡(luò)管理人員可根據(jù)自己的管理模式和本單位的需求來(lái)決定選擇哪種類型的VLAN 。
6. 按用戶定義、非用戶授權(quán)劃分的VLAN
基于用戶定義、非用戶授權(quán)劃分VLAN,是指為了適應(yīng)特別的VLAN網(wǎng)絡(luò),根據(jù)具體的網(wǎng)絡(luò)用戶的特別要求來(lái)定義和設(shè)計(jì)VLAN,而且可以讓非VLAN群體用戶訪問(wèn)VLAN,但是需要提供用戶密碼,在得到VLAN管理的認(rèn)證后才可以加入一個(gè)VLAN。
正確答案:A
#p#
CCNA考試題目分析,UDP考題分析
問(wèn)題:
What does the User Datagram Protocol(UDP)provide?
A. Flow control and error checking B. Name resolution C. Path discovery D. FECN&BECN E. Connctionless datagram service
Select the 1 best answer(選擇一個(gè)最佳答案)
上述如何描述UDP才是正確的?
解答:
用戶數(shù)據(jù)報(bào)協(xié)議(UDP)提供了一種無(wú)連接、盡力傳送的報(bào)文轉(zhuǎn)發(fā)服務(wù),詳見(jiàn)RFC768. UDP協(xié)議不提供不可靠的數(shù)據(jù)傳輸服務(wù),沒(méi)有錯(cuò)誤檢測(cè)功能。
UDP協(xié)議是英文UserDatagramProtocol的縮寫(xiě),即用戶數(shù)據(jù)報(bào)協(xié)議,主要用來(lái)支持那些需要在計(jì)算機(jī)之間傳輸數(shù)據(jù)的網(wǎng)絡(luò)應(yīng)用。包括網(wǎng)絡(luò)視頻會(huì)議系統(tǒng)在內(nèi)的眾多的客戶/服務(wù)器模式的網(wǎng)絡(luò)應(yīng)用都需要使用UDP協(xié)議。
正確答案:E
UDP報(bào)頭由4個(gè)域組成,其中每個(gè)域各占用2個(gè)字節(jié),具體如下:
源端口號(hào)目標(biāo)端口號(hào)數(shù)據(jù)報(bào)長(zhǎng)度校驗(yàn)值
選項(xiàng)D選中解釋:
前向顯示擁塞指示:幀中繼網(wǎng)絡(luò)中,當(dāng)DTE接收到具有FECN位的數(shù)據(jù)幀后,便知道正在接收幀的DTE從源目的地的路徑已經(jīng)發(fā)生了擁塞。這時(shí),要請(qǐng)求上層協(xié)議進(jìn)行適當(dāng)?shù)牧髁靠刂啤?/P>
后向顯示擁塞控制:當(dāng)在幀中繼的網(wǎng)絡(luò)里,某條路徑阻塞時(shí),會(huì)在網(wǎng)絡(luò)中設(shè)置BECN位并向反向發(fā)出。DTE在接收到BECN位的設(shè)置時(shí),會(huì)對(duì)鏈路進(jìn)行適當(dāng)?shù)牧髁靠刂啤?/P>
參考資料:
Sybex CCNA 4.0 —— Chapter 1 Internetworking —— The OSI Reference Model —— Transport Layer
OSPF協(xié)議
問(wèn)題:
Which of the following factors determines the OSPF router ID when configuring a router with both physical and logical interfaces?
A. The lowest network number of any interface. B. The highest network number of any interface. C. The highest IP address of any logical interface. D. The middle IP address of any logical interface. E. The lowest IP address of any physical interface. F. The highest IP address of any physical interface. G. The lowest IP address of any logical interface.
Select the 1 best answer
當(dāng)使用物理及邏輯接口配置路由器時(shí),上述哪一個(gè)決定OSPF路由器ID?
解答:
OSPF拓?fù)鋽?shù)據(jù)庫(kù)包含路由器和子網(wǎng)或鏈路以及附加在它們上面的信息,在鄰居列表數(shù)據(jù)庫(kù)中識(shí)別路由器,OSPF在每個(gè)路由器上使用路由器ID(RID)。
當(dāng)OSPF啟動(dòng)運(yùn)行時(shí),在物理接口上的路由器的OSPF RID為最高IP地址。
注意:OSPF路由器ID是一個(gè)在OSPF處理起始時(shí)選擇的32位的IP 地址。在路由器上配置的最高IP地址即為路由器ID.如果配置了一個(gè)環(huán)回地址,那它就是這個(gè)路由器的ID,在多環(huán)回地址的示例中,最高的環(huán)回地址就是這個(gè)路由器的ID,被選中的路由器ID是不可更改的,除非移除該IP地址或重新啟動(dòng)OSPF.
正確答案:F參考:CCNA Self-Study CCNA ICND exam certification Guide(Ciscopress,ISBN 1-58720-083-x)Page 208
#p#
CCNA考試題目分析,驗(yàn)證主機(jī)聯(lián)通性
問(wèn)題
Which command can verify Application Layer connectivity between 2 hosts?
A. arp B. ping C. telnet D traceroute E. plp
題目意思:以下命令當(dāng)中那個(gè)是在應(yīng)用層驗(yàn)證兩個(gè)主機(jī)的聯(lián)通性的命令?
Telnet tests the Application layer, ping test the Network layer.Telnet is an application used to remotely configure a device. If telnet is succesfful you know that full 7 layer stack on the sending and receiving host are configured correctly and are in working order
因?yàn)閠elnet命令是工作在應(yīng)用層,ping命令是工作在網(wǎng)絡(luò)層的,telnet是應(yīng)用于遠(yuǎn)程控制設(shè)備的,所以如果能telnet成功的話,這就證明了兩臺(tái)主機(jī)或設(shè)備已經(jīng)聯(lián)通了,在聯(lián)通性上面已經(jīng)沒(méi)有問(wèn)題了。
該題目主要考學(xué)員命令工作的層面,和OSI七層的關(guān)系。
正確答案:C
路由可信度考題分析
問(wèn)題:
Which of the following routes will be used to forward data in a situation where a routing table contains static,RIP,and IGRP routes destined to the same network with each set to its default administrative distance?
A.The RIP route B.The static route C.The IGRP route D.All three will load balance.
Select the best 1 answer.
當(dāng)路由表中包含靜態(tài)、RIP、IGRP時(shí),比較它們的默認(rèn)管理距離,會(huì)選擇哪一個(gè)用來(lái)轉(zhuǎn)發(fā)數(shù)據(jù)?
題解:
路由器的IOS使用一個(gè)叫作“管理距離(Administrative Distance)”的概念來(lái)決定使用何種路由,管理距離是一個(gè)表示某個(gè)單獨(dú)路由器中全部路由協(xié)議的可信度的數(shù)字,這個(gè)數(shù)字越低越好,或者說(shuō)這個(gè)路由協(xié)議越值得信賴。
類型 管理距離staic 1 IGRP 100 RIP 120
由此表可以看出,表態(tài)路由的可信度最高。
正確答案:B
參考資料:
CCNA Self-Study CCNA ICND exam certification Guide(Ciscopress,ISBN 1-58720-083-x)-Page 177
路由協(xié)議考題分析
問(wèn)題:
The acronym BGP stands for which protocol?
A.Backgroud Gateway Protocol B.Backdoor Gateway Protocol C.Border Gateway Protocol D.Basic Gateway Protocol
Select the 1 best answer
題目的意思:BGP是下面那個(gè)協(xié)議的縮寫(xiě)?
正確答案:C
題解:
BGP is an acronym for Border Gateway protocol
BGP:邊界網(wǎng)關(guān)協(xié)議。它是取代了EGP的一種域間路由選擇協(xié)議。BGP與其他BGP系統(tǒng)交換可達(dá)性信息。它在PFC1163中進(jìn)行了定義。
BGP—4:BGP版本4.這是在internet上主要的域間路由選擇協(xié)議的第4版本。BGP-4支持CIDR,并且使用路由聚合機(jī)制來(lái)減少路由表的大小。
#p#
CCNA考試題目分析,保存路由器配置文件
問(wèn)題:
Which command will copy the routers configuration script from RAM to NVRAM?
A. copy running-config startup-config B.NVRAM is read-only,so this is not possible. C. copy all D. save ram E. save ram nvram
Select the 1 best answer
題目大意:
那個(gè)命令是將路由器的配置文件從RAM中拷貝到NVarm中。
題解:
RAM : 相當(dāng)于計(jì)算機(jī)的內(nèi)存,但掉電的時(shí)候,內(nèi)存里面的東西將會(huì)丟失。
NVarm:相當(dāng)于計(jì)算機(jī)的硬盤(pán),但掉電的時(shí)候,硬盤(pán)里面的東西不會(huì)丟失。
在語(yǔ)句中的 Running-config 是存在于RAM中,Startup- config 存在于 NVRAM,"copy running-config startup-config" 是一個(gè)COPY命令,講RAM中的數(shù)據(jù)或配置文件拷貝到NVarm中。同時(shí)在實(shí)際中可以用 copy run start來(lái)簡(jiǎn)寫(xiě)這個(gè)命令。
正確答案:A
參考資料:
CCNA:Cisco Certified Network Associate Study Guide Fourth Edition——Page194:Hands-on Lab 4.3:Saving a Router Configuration
網(wǎng)絡(luò)中廣播地址
原題:The following exhibit shows the PCjob.com WAN. Study it carefully:What are the broadcast addresses of the subnets in the PCjob network(Select three options.)
A. 172.16.82.255 B. 172.16.95.255 C. 172.16.64.255 D. 172.16.32.255 E. 172.16.47.255 F. 172.16.79.255上述IP地址中,哪個(gè)是PCjob網(wǎng)絡(luò)的廣播地址?
題解:又是一道關(guān)于IP地址的題目,首先回顧一下什么才是IP地址:廣播地址由IP地址網(wǎng)絡(luò)前綴加上全1主機(jī)后綴組成,如:192.168.1.255是192.169.1.0這個(gè)網(wǎng)絡(luò)的廣播地址;130.168.255.255是130.168.0.0這個(gè)網(wǎng)絡(luò)的廣播地址。
現(xiàn)在問(wèn)的是PCjob網(wǎng)絡(luò)中的廣播地址,看一下圖,發(fā)現(xiàn)這個(gè)網(wǎng)絡(luò)里有三個(gè)網(wǎng)段,而且題目也要求選出三個(gè)廣播地址,那就一個(gè)一個(gè)來(lái)咯。
172.16.32.0/20網(wǎng)段廣播地址:172.16.47.255 172.16.64.0/20網(wǎng)段廣播地址:172.16.79.255 172.16.82.90/20網(wǎng)段廣播地址:172.16.95.255
正確答案:BEF
CCNA考試題目分析,交換機(jī)考題分析
原題:What is the basic characteristic of switches and hubs?
A. Hubs cannot filter frames. B. Using hubs is costly with regard to bandwidth availability. C. Switches do and can not forward broadcasts. D. Switches are more efficient than hubs in processing frames. E. Switches increase the number of collision domains in the network.
漢意:
交換機(jī)與集線器的基本特征是什么?
正確答案:E
解釋:
交換機(jī)增加網(wǎng)絡(luò)中沖突域的數(shù)量。
注意:
交換機(jī)在內(nèi)部處理中有一些不同類型的變量,盡管現(xiàn)在的交換機(jī)基本上都使用store-and-forward,但是大部分思科交換機(jī),至少支持以下三種不同類型中的一種。
Store-and-forward -The switch fully receives all bits in the frame (store) before forwarding the frame (forward)。
Cut-through - The switch performs the address table lookup as soon as the destination address field in the header is received.
Fragment-free - This performs like cut-through switching, but the switch waits for 64 bytes to be received before forwarding the first bytes of the outgoing frame.
參考資料:
Sybex CCNA 4.0 640-801
CCNA Self-Study CCNA ICND exam certification Guide(Ciscopress,ISBN 1-58720-083-x)
這就是CCNA考試題目分析。
【編輯推薦】