Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Switching and Network Access practice sets

CCNA Switching and Network Access • Set 19

CCNA Switching and Network Access Practice Test 19 — 15 Questions

CCNA Switching and Network Access Practice Test 19 — 15 questions with explanations. Free, no signup.

15
Questions
Free
No signup
Certifications/CCNA/Practice Test/Switching and Network Access/Set 19
Question 1 of 150 answered
hard

You are connected to R1. The network uses a router-on-a-stick design with a single switch (SW1) and two VLANs (10 and 20). Currently, hosts in VLAN 10 cannot ping hosts in VLAN 20, and the trunk between R1 and SW1 shows a native VLAN mismatch. Examine the provided configuration and output, then apply the necessary corrections to R1 so that inter-VLAN routing works correctly.

Exhibit

R1#show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 192.168.10.1 255.255.255.0
!
interface GigabitEthernet0/0.20
 encapsulation dot1Q 10
 ip address 192.168.20.1 255.255.255.0
!
R1#show interfaces trunk
Port        Mode         Encapsulation  Status        Native vlan
Gig0/0      on           802.1q         trunking      1

Port        Vlans allowed on trunk
Gig0/0      1-1005

Port        Vlans allowed and active in management domain
Gig0/0      1,10,20

Port        Vlans in spanning tree forwarding state and not pruned
Gig0/0      1,10,20

R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.10.0/24 is directly connected, GigabitEthernet0/0.10
     192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.20.0/24 is directly connected, GigabitEthernet0/0.20
Network Topology
G0/0R1trunk
R1#show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 192.168.10.1 255.255.255.0
!
interface GigabitEthernet0/0.20
 encapsulation dot1Q 10
 ip address 192.168.20.1 255.255.255.0
!
R1#show interfaces trunk
Port        Mode         Encapsulation  Status        Native vlan
Gig0/0      on           802.1q         trunking      1

Port        Vlans allowed on trunk
Gig0/0      1-1005

Port        Vlans allowed and active in management domain
Gig0/0      1,10,20

Port        Vlans in spanning tree forwarding state and not pruned
Gig0/0      1,10,20

R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.10.0/24 is directly connected, GigabitEthernet0/0.10
     192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.20.0/24 is directly connected, GigabitEthernet0/0.20
R1#
Cisco IOS Software, Version 15.2(4)M1
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Press RETURN to get started.
R1#█

Scored session

Track progress, bookmark weak spots, and get readiness analysis.

Start full session

Practice tests

Scored 10-question sessions with instant feedback and explanations.

CCNA Practice Test 1 — 10 Questions→CCNA Practice Test 2 — 10 Questions→CCNA Practice Test 3 — 10 Questions→CCNA Practice Test 4 — 10 Questions→CCNA Practice Test 5 — 10 Questions→CCNA Practice Exam 1 — 20 Questions→CCNA Practice Exam 2 — 20 Questions→CCNA Practice Exam 3 — 20 Questions→CCNA Practice Exam 4 — 20 Questions→Free CCNA Practice Test 1 — 30 Questions→Free CCNA Practice Test 2 — 30 Questions→Free CCNA Practice Test 3 — 30 Questions→CCNA Practice Questions 1 — 50 Questions→CCNA Practice Questions 2 — 50 Questions→CCNA Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Network Infrastructure and ConnectivitySwitching and Network AccessIP RoutingNetwork Services and SecurityAI and Network Operations

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Switching and Network Access setsAll Switching and Network Access questionsCCNA Practice Hub