















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















































































Question 1. Which component of OpenDaylight is responsible for abstracting network services from underlying protocols? A) OSGi Framework B) Model‑Driven Service Abstraction Layer (MD‑SAL) C) Apache Karaf D) RESTCONF Answer: B Explanation: MD‑SAL provides a unified service‑oriented view, decoupling business logic from protocol specifics. Question 2. In MD‑SAL, the operational data store differs from the configuration data store because it: A) Stores immutable data only B) Holds read‑only runtime state of the network C) Persists across controller restarts automatically D) Is synchronized using Raft by default Answer: B Explanation: Operational DS reflects live device state, while configuration DS holds intended configuration. Question 3. A Data Tree Change Listener (DTCL) in MD‑SAL is triggered when: A) A new bundle is installed in Karaf B) A YANG model is compiled C) Any node in the subscribed subtree is created, updated, or deleted D) A RESTCONF request is received Answer: C
Explanation: DTCLs observe changes in the data tree and react to create, update, or delete events. Question 4. Which of the following best describes the lifecycle of an MD‑SAL RPC implementation? A) Register → Execute → Unregister B) Instantiate → Bind → Unbind → Destroy C) Publish → Subscribe → Acknowledge D) Load → Resolve → Activate → Deactivate Answer: A Explanation: RPC services are registered with the SAL, invoked by clients, and later unregistered. Question 5. In OpenDaylight messaging, the Publish/Subscribe pattern is primarily used for: A) Synchronous configuration pushes B) Asynchronous notification of data‑tree changes C) Remote procedure calls between modules D) Authentication token exchange Answer: B Explanation: Pub/Sub distributes events like notifications without requiring a direct response. Question 6. Which YANG statement is used to extend an existing container with additional leaf nodes? A) augment B) deviation C) grouping D) uses
D) Entities Answer: B Explanation: YANG Tools generate DTOs that represent YANG schema elements for Java code. Question 10. Which evolution step introduced the concept of “data‑tree consistency” across multiple ODL nodes? A) AD‑SAL → MD‑SAL transition B) Introduction of Apache Karaf C) Migration from Blueprint to Declarative Services D) Adoption of RESTCONF Answer: A Explanation: MD‑SAL added distributed data stores with consistency guarantees. Question 11. In the ODL plugin architecture, a protocol plugin (e.g., OpenFlow) primarily interacts with the controller through: A) Direct socket programming B) Service‑to‑service interfaces defined in MD‑SAL C) OSGi bundle activators only D) RESTCONF endpoints Answer: B Explanation: Plugins expose services via MD‑SAL, enabling decoupled communication. Question 12. Apache Karaf’s “features” are used to: A) Define OSGi bundle dependencies and start‑up order B) Configure RESTCONF resources
C) Implement YANG augmentations D) Manage Raft quorum groups Answer: A Explanation: Features are XML descriptors that aggregate bundles and configuration. Question 13. Which Karaf console command lists all installed bundles with their current state? A) feature:list B) bundle:list C) osgi:ls D) karaf:status Answer: B Explanation: bundle:list displays bundle IDs, symbolic names, and lifecycle states. Question 14. In OSGi, a bundle that is in the Resolved state: A) Is actively executing code B) Has all required packages wired but not yet started C) Has been stopped by the user D) Is waiting for a missing dependency Answer: B Explanation: Resolved means the bundle’s dependencies are satisfied and it can be started. Question 15. Declarative Services (DS) differ from Blueprint XML primarily in: A) DS uses annotations and XML descriptors, Blueprint relies solely on XML B) DS is part of the OSGi core specification, Blueprint is an Apache project
B) Store statistics about packet loss C) Encode VLAN IDs D) Negotiate OpenFlow version numbers Answer: A Explanation: Meters allow per‑flow rate limiting and DSCP remarking. Question 19. Which protocol is best suited for configuring a physical router’s YANG‑modeled data store? A) OpenFlow B) NETCONF C) OVSDB D) BGP Answer: B Explanation: NETCONF provides reliable configuration management using YANG models. Question 20. The OVSDB protocol is primarily targeted at: A) Physical routers running IOS B) Virtual switches such as Open vSwitch C) Legacy Ethernet hubs D) MPLS core routers Answer: B Explanation: OVSDB manages Open vSwitch instances in virtualized environments. Question 21. RESTCONF maps YANG data nodes to HTTP resources using which content type for payloads?
A) application/xml B) application/json C) application/yang-data+json or +xml D) text/plain Answer: C Explanation: RESTCONF uses YANG‑specific media types to preserve schema information. Question 22. In ODL, AAA for northbound APIs is commonly implemented using: A) OpenFlow controller authentication B) Apache Shiro or ODL’s built‑in security framework C) NETCONF’s
A) Only one instance of a given service runs cluster‑wide (singleton) B) All bundles are started in alphabetical order C) RESTCONF endpoints are load‑balanced automatically D) YANG models are version‑controlled per entity Answer: A Explanation: EOS provides singleton semantics, electing a single owner for a service across the cluster. Question 28. Leader election for protocol masters (e.g., BGP) in ODL is typically performed by: A) OSGi Service Registry B) EOS combined with Raft consensus C) Manual configuration in karaf.cfg D) Random selection at bundle activation Answer: B Explanation: EOS leverages Raft to elect a unique master for protocol handling. Question 29. Which Maven artifact is the parent for most OpenDaylight projects? A) org.opendaylight.controller:odl-parent B) org.opendaylight:odl-parent C) org.opendaylight.odlparent:odl-parent D) org.opendaylight.odl:odl‑parent Answer: B Explanation: org.opendaylight:odl-parent defines common plugins, repositories, and dependency management.
Question 30. In the Gerrit review workflow, a patch that receives +2 on Code‑Review and +1 on Verified is: A) Ready for submission to the master branch B) Rejected and must be rebased C) Pending further testing only D) Automatically merged by Jenkins Answer: A Explanation: +2 on Code‑Review indicates approval; +1 on Verified confirms CI passed. Question 31. Jenkins in the ODL Releng pipeline is primarily responsible for: A) Compiling YANG models into Java DTOs B) Building, testing, and publishing release artifacts across projects C) Managing OSGi bundle lifecycles at runtime D) Providing a web UI for RESTCONF Answer: B Explanation: Releng Jenkins jobs automate builds, run unit/integration tests, and publish binaries. Question 32. Moving an ODL project from Incubation to Mature status requires: A) At least three stable releases and demonstrated community adoption B) Migration from Blueprint to Declarative Services C) Complete removal of all NETCONF support D) Integration with Apache Kafka Answer: A Explanation: The TSC evaluates release cadence, code quality, and community involvement before graduation.
Explanation: G1 provides a balance of low latency and high throughput, suitable for latency‑sensitive SDN workloads. Question 36. Profiling an ODL application with JProfiler can help you: A) Generate YANG models automatically B) Identify hot methods, memory leaks, and thread contention C) Replace the OSGi framework with a lighter container D) Convert RESTCONF calls to SOAP Answer: B Explanation: JProfiler offers CPU, memory, and thread analysis for Java applications. Question 37. Which ODL southbound plugin would you use to program flow entries on a physical OpenFlow switch? A) odl-openflowplugin‑impl B) odl-netconf‑connector C) odl-bgp‑cep‑plugin D) odl-ovsdb‑southbound Answer: A Explanation: odl-openflowplugin-impl implements the OpenFlow protocol handling. Question 38. When configuring a new OVS bridge via OVSDB, which YANG leaf represents the bridge name? A) bridge-id B) name C) bridge-name D) ovs-bridge
Answer: B Explanation: The standard OVSDB YANG model defines a name leaf for bridge identification. Question 39. In the context of BGP/PCEP plugins, “policy‑based routing” is achieved by: A) Directly installing OpenFlow rules on switches B) Injecting route‑maps and policy definitions via YANG‑modeled APIs C) Modifying the RESTCONF URL path D) Using NETCONF edit‑config on routers only Answer: B Explanation: BGP/PCEP plugins expose YANG models that allow users to define routing policies programmatically. Question 40. Which RESTCONF HTTP method is used to partially update an existing configuration node? A) POST B) PUT C) PATCH D) DELETE Answer: C Explanation: PATCH applies a JSON‑Merge or JSON‑Patch to modify selected fields without replacing the whole resource. Question 41. The ODL “feature” odl-metrics provides: A) YANG model validation tools B) Export of controller performance counters via JMX and Prometheus endpoints C) Automatic generation of Swagger documentation
C) Reset the entire data store to an empty state D) Convert the node into a read‑only replica only Answer: B Explanation: Raft synchronizes the follower’s state by sending missing log entries. Question 45. The purpose of the odl-aaa-authn module is to: A) Provide OpenFlow statistics aggregation B) Manage authentication mechanisms for RESTCONF and WebSocket APIs C) Compile YANG models into Java classes D) Implement OVSDB transaction handling Answer: B Explanation: odl-aaa-authn handles username/password, token, and certificate based authentication. Question 46. Which of the following is a correct way to declare a YANG leaf with a default value? A) leaf my-leaf { type string; default "none"; } B) leaf my-leaf { type string; value "none"; } C) leaf my-leaf { default "none"; } D) leaf my-leaf { type string; mandatory true; } Answer: A Explanation: The default statement sets a value used when the leaf is absent. Question 47. In ODL, a “blueprint” XML file is processed by which OSGi service? A) Declarative Services Runtime
B) Blueprint Container (org.apache.aries.blueprint) C) Service Registry Listener D) Karaf Feature Resolver Answer: B Explanation: The Blueprint Container parses and manages lifecycle of beans defined in XML. Question 48. Which ODL component is responsible for translating a YANG‑modeled RPC into a Java method call? A) MD‑SAL RPC Dispatcher B) OSGi Service Registry C) RESTCONF Servlet D) Netconf Server Answer: A Explanation: The RPC Dispatcher routes incoming RPC requests to the appropriate Java implementation. Question 49. The odl-netconf-topology module provides: A) A RESTCONF interface for OpenFlow switches B) A topology discovery service for NETCONF‑enabled devices C) A metrics collector for BGP sessions D) An OVSDB transaction manager Answer: B Explanation: It discovers and models NETCONF devices as topology nodes. Question 50. Which of the following best describes a “singleton service” in ODL clustering?
Question 53. When using RESTCONF, the media type application/yang-data+json indicates: A) The payload contains raw JSON without YANG schema hints B) JSON data that conforms to a specific YANG model, preserving type information C) An XML document encoded in base D) A binary representation of YANG modules Answer: B Explanation: The +json suffix signals that the JSON respects YANG typing and structure. Question 54. Which ODL plugin would you enable to support segment routing via PCEP? A) odl-pcep‑segment‑routing B) odl-openflow‑segment C) odl-bgp‑segment‑routing D) odl-evpn‑pcep Answer: A Explanation: The odl-pcep-segment-routing plugin implements PCEP extensions for SR. Question 55. In the context of ODL’s distributed data store, a “log entry” refers to: A) A syslog message generated by the controller B) A command issued via the Karaf console C) A state change recorded by Raft to be replicated across nodes D) An audit trail of user authentication attempts Answer: C Explanation: Raft’s log entries capture sequential state changes for consistency.
Question 56. A YANG choice statement is used to: A) Define a mandatory leaf that can have multiple values B) Allow exactly one of several alternatives to be present in the data tree C) Group reusable schema fragments D) Override a leaf’s type in a deviation module Answer: B Explanation: choice enforces mutual exclusivity among its case statements. Question 57. Which of the following is NOT a valid OSGi bundle lifecycle state? A) Installed B) Resolved C) Active D) Compiled Answer: D Explanation: Bundles transition through Installed, Resolved, Starting, Active, Stopping, and Uninstalled; “Compiled” is not a lifecycle state. Question 58. The Karaf feature odl-mdsal‑core provides: A) RESTCONF servlet implementation only B) Core MD‑SAL services such as the data broker, RPC framework, and notification service C) An OVSDB client library without any MD‑SAL integration D) A graphical UI for topology visualization Answer: B Explanation: odl-mdsal-core bundles the essential MD‑SAL infrastructure.