


















































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 cloud deployment model delivers services over the public Internet and is accessible to any organization or individual? A) Private Cloud B) Hybrid Cloud C) Public Cloud D) Community Cloud Answer: C Explanation: Public cloud services are offered by third‑party providers over the Internet and are available to anyone who wants to subscribe. Question 2. In a private cloud, which of the following is the primary advantage compared to a public cloud? A) Unlimited elasticity B) Lower capital expense C) Greater control over data and security D) No need for on‑premises hardware Answer: C Explanation: Private clouds are hosted in a dedicated environment, giving the owning organization complete control over security policies and data residency. Question 3. Which scenario best illustrates a hybrid cloud architecture? A) A company runs all workloads on a single vendor’s public cloud. B) An organization uses an on‑premises data center for sensitive workloads and bursts to a public cloud for peak demand. C) Multiple organizations share a community cloud. D) All services are delivered via SaaS. Answer: B Explanation: Hybrid cloud combines private (on‑premises) and public cloud resources, allowing workloads to move between them as needed. Question 4. Software as a Service (SaaS) primarily removes which responsibility from the customer? A) Managing the underlying operating system B) Writing application code C) Configuring virtual networks D) Scaling physical servers Answer: A Explanation: SaaS delivers fully functional applications; the provider manages the OS, middleware, and infrastructure, leaving the customer only to use the software.
Question 5. Which cloud service model gives the customer direct control over virtual machines, storage, and networking, but abstracts the physical hardware? A) SaaS B) PaaS C) IaaS D) DaaS Answer: C Explanation: Infrastructure as a Service provides virtualized compute, storage, and network resources while the provider maintains the physical servers. Question 6. Platform as a Service (PaaS) is most suitable for which of the following activities? A) Running a virtual desktop infrastructure B) Developing and deploying a web application without managing servers C) Storing large data backups D) Providing email as a service Answer: B Explanation: PaaS offers development frameworks, runtime environments, and middleware, allowing developers to focus on code while the platform handles server management. Question 7. Microservices architecture primarily promotes which benefit for cloud‑native applications? A) Monolithic codebases B) Tight coupling of components C) Independent scaling of services D) Single point of failure Answer: C Explanation: Microservices break applications into loosely coupled services that can be scaled, deployed, and updated independently. Question 8. Which container orchestration platform is an open‑source project that automates deployment, scaling, and management of containerized applications? A) OpenStack B) Kubernetes C) OpenShift D) Docker Swarm Answer: B Explanation: Kubernetes is the de‑facto open‑source container orchestration system for automating many aspects of container lifecycle management.
Question 13. Software‑Defined Networking (SDN) separates which two planes to enable centralized control? A) Data plane and management plane B) Control plane and data plane C) Application plane and transport plane D) Physical plane and virtual plane Answer: B Explanation: SDN decouples the control plane (decision making) from the data plane (packet forwarding), allowing a central controller to program the network. Question 14. What is the primary role of an SDN controller? A) Forwarding packets at line rate B) Managing physical cable connections C) Providing a centralized API to program the forwarding behavior of switches D) Encrypting traffic between hosts Answer: C Explanation: The SDN controller offers a northbound API for applications and a southbound protocol (e.g., OpenFlow) to instruct switches on how to handle traffic. Question 15. Which SDN deployment scenario is most common in a data center to provide network virtualization for tenants? A) WAN optimization B) Network Function Virtualization C) Overlay networking using VXLAN D) MPLS backbone routing Answer: C Explanation: Data‑center SDN often uses overlay technologies such as VXLAN to create isolated tenant networks over a shared physical fabric. Question 16. In overlay networking, which protocol encapsulates Ethernet frames within UDP packets to create a virtual L2 network? A) GRE B) VXLAN C) IPsec D) MPLS Answer: B Explanation: VXLAN (Virtual Extensible LAN) uses UDP encapsulation to transport Ethernet frames across an IP network, enabling scalable overlay networks. Question 17. Which tunneling protocol combines MPLS labels with GRE encapsulation? A) MPLS over UDP B) MPLS over GRE C) GENEVE D) VXLAN
Answer: B Explanation: MPLS over GRE encapsulates MPLS packets inside GRE tunnels, allowing MPLS traffic to traverse non‑MPLS networks. Question 18. GENEVE (Generic Network Virtualization Encapsulation) was designed to address limitations of which earlier protocols? A) GRE and IPsec B) VXLAN and NVGRE C) MPLS and LDP D) OSPF and BGP Answer: B Explanation: GENEVE merges features of VXLAN and NVGRE, providing extensibility for future network virtualization needs. Question 19. Which Linux hypervisor type runs directly on hardware without a host operating system? A) Type 1 (bare‑metal) B) Type 2 (hosted) C) Paravirtualized D) Container‑based Answer: A Explanation: Type 1 hypervisors, such as KVM when used with a minimal Linux kernel, run directly on the physical server, providing better performance and isolation. Question 20. KVM (Kernel‑based Virtual Machine) relies on which component of the Linux kernel to provide virtualization capabilities? A) iptables B) cgroups C) QEMU D) KVM kernel module Answer: D Explanation: The KVM kernel module turns the Linux kernel into a hypervisor, enabling hardware‑assisted virtualization of guest VMs. Question 21. When creating a Linux container, which kernel feature isolates network namespaces for each container? A) SELinux B) cgroups C) namespaces D) AppArmor Answer: C
Question 26. Which OpenStack dashboard provides a web‑based graphical interface for administrators and users? A) Horizon B) Heat C) Swift D) Keystone Answer: A Explanation: Horizon is the official OpenStack dashboard, offering a UI to manage compute, storage, and networking resources. Question 27. When using an OpenStack Heat template, which section defines the resources to be created? A) Parameters B) Resources C) Outputs D) Mappings Answer: B Explanation: The Resources section of a Heat template describes the actual OpenStack objects (servers, networks, etc.) to be instantiated. Question 28. In Kubernetes, which object ensures that a specified number of pod replicas are running at any time? A) Service B) Deployment C) ReplicaSet D) ConfigMap Answer: C Explanation: A ReplicaSet maintains a stable set of replica pods, automatically creating or deleting pods to match the desired replica count. Question 29. Which Kubernetes object provides a declarative way to perform rolling updates of an application? A) Pod B) Service C) Deployment D) StatefulSet Answer: C Explanation: Deployments manage ReplicaSets and enable declarative updates, including rolling upgrades and rollbacks. Question 30. In Kubernetes, what is the purpose of a Service of type LoadBalancer? A) To store configuration data B) To expose an application externally using a cloud provider’s load balancer C) To schedule pods on specific nodes D) To define persistent storage claims
Answer: B Explanation: A LoadBalancer Service provisions an external load balancer (e.g., AWS ELB) that routes traffic to the backing pods. Question 31. Which Kubernetes resource provides a logical isolation boundary for a set of objects such as pods, services, and deployments? A) Node B) Namespace C) ClusterRole D) ConfigMap Answer: B Explanation: Namespaces partition a cluster into virtual clusters, allowing separate teams or applications to coexist without name collisions. Question 32. What does the CNI (Container Network Interface) plugin in Kubernetes primarily handle? A) Container image registry B) Persistent volume provisioning C) Pod networking and IP address assignment D) Secret management Answer: C Explanation: CNI plugins are responsible for setting up network interfaces for pods, assigning IPs, and connecting pods to the overlay network. Question 33. OpenShift extends Kubernetes by adding which of the following capabilities? A) Built‑in CI/CD pipelines B) Integrated Docker registry and source‑to‑image (S2I) build process C) Direct hardware provisioning D) Native Windows container support only Answer: B Explanation: OpenShift includes an integrated image registry, S2I builder, and additional security policies on top of vanilla Kubernetes. Question 34. In OpenShift, what is the role of a “master” node? A) Run user workloads B) Provide storage services C) Host the API server, controller manager, and scheduler D) Perform network packet forwarding Answer: C
Question 39. Which CN2 feature provides visibility into traffic flows and application performance? A) Policy Engine B) Analytics Service C) Service Chaining D) SDN Controller Answer: B Explanation: The Analytics Service collects telemetry, flow records, and performance metrics, giving operators insight into network behavior. Question 40. What is the primary benefit of using service chaining in CN2? A) Reducing the number of physical routers B) Enabling traffic to pass through multiple virtual network functions (e.g., firewall, IDS) in a defined order C) Automating VM provisioning D) Providing DNS resolution for containers Answer: B Explanation: Service chaining allows traffic to be steered through a sequence of VNFs, applying security, monitoring, or optimization functions as needed. Question 41. Which cloud‑native principle encourages immutable infrastructure and declarative configuration? A) Manual patching B) Stateful design C) Infrastructure as Code D) Ad‑hoc scripting Answer: C Explanation: Infrastructure as Code (IaC) promotes immutable, version‑controlled definitions of resources, enabling reproducible and declarative deployments. Question 42. In a cloud environment, elasticity refers to: A) The ability to encrypt data at rest B) The capability to dynamically add or remove resources based on demand C) The use of hardware firewalls D) Fixed resource allocation for predictable workloads Answer: B Explanation: Elasticity is the automatic scaling of compute, storage, or network resources up or down in response to workload changes.
Question 43. Which of the following is a key characteristic of a container compared to a VM? A) Runs its own kernel B) Requires a hypervisor C) Shares the host OS kernel D) Provides hardware-level isolation Answer: C Explanation: Containers share the host operating system kernel, leading to lower overhead than full virtual machines that each run a separate OS. Question 44. What does the “cgroup” (control group) mechanism in Linux primarily manage for containers? A) Network address translation B) Process isolation C) Resource limits such as CPU and memory D) File system permissions Answer: C Explanation: cgroups enforce resource quotas (CPU, memory, I/O) for groups of processes, enabling fair sharing among containers. Question 45. Which protocol is commonly used by OpenStack Neutron to provide overlay networking with VXLAN? A) BGP EVPN B) OSPF C) STP D) RIP Answer: A Explanation: BGP EVPN can be used as a control plane for VXLAN overlays, allowing scalable, multi‑tenant L2 connectivity. Question 46. In an NFV deployment, which term describes the software representation of a traditional hardware appliance? A) Virtual Switch B) Virtual Network Function (VNF) C) Virtual Router D) Virtual LAN Answer: B Explanation: VNFs replace physical network functions (e.g., firewalls, load balancers) with software instances running on standard servers.
Answer: B Explanation: StatefulSets ensure each pod gets a stable, unique identifier and persistent storage, suitable for stateful applications like databases. Question 52. When deploying a containerized application on OpenShift, which build strategy converts source code directly into a runnable image? A) Docker build B) Source‑to‑Image (S2I) C) Binary build D) Custom build Answer: B Explanation: S2I takes source code, injects it into a builder image, and produces a ready‑to‑run container image automatically. Question 53. Which of the following is NOT a typical benefit of NFV? A) Faster service provisioning B) Reduced CAPEX by using COTS hardware C) Increased physical footprint D) Ability to scale functions programmatically Answer: C Explanation: NFV reduces the need for dedicated hardware, thus decreasing physical footprint rather than increasing it. Question 54. In SDN, which protocol is most commonly used for the southbound interface to program flow tables in OpenFlow switches? A) NETCONF B) RESTCONF C) OpenFlow D) BGP Answer: C Explanation: OpenFlow is the standard southbound protocol that allows the controller to insert, modify, or delete flow entries on switches. Question 55. Which overlay protocol uses a 24‑bit segment identifier (VXLAN Network Identifier) to separate tenant traffic? A) GENEVE B) NVGRE C) VXLAN D) MPLS Answer: C
Explanation: VXLAN assigns a 24‑bit VNI to each overlay segment, enabling up to 16 million isolated tenant networks. Question 56. What is the primary purpose of a “heat stack” in OpenStack? A) To monitor VM performance B) To define a collection of resources that can be managed as a single unit C) To provide DNS services D) To encrypt data at rest Answer: B Explanation: A Heat stack groups related resources (servers, networks, volumes) defined in a template, allowing collective lifecycle management. Question 57. Which Linux command displays the list of current network namespaces? A) ip netns list B) ls /etc/netns C) netstat - n D) iptables - L Answer: A Explanation: ip netns list shows all active network namespaces on the host. Question 58. In Docker, what does the docker exec command allow you to do? A) Build a new image B) Run a new container C) Execute a command inside a running container D) Remove an image Answer: C Explanation: docker exec runs a specified command in an existing container’s context. Question 59. Which OpenStack service provides block storage to instances? A) Swift B) Cinder C) Neutron D) Glance Answer: B Explanation: Cinder is the block storage service, offering volumes that can be attached to VMs.
Question 64. What does the “kubectl apply - f” command do? A) Deletes resources defined in a file B) Creates resources only if they do not exist C) Performs a declarative update, creating or modifying resources to match the file D) Lists all resources in the cluster Answer: C Explanation: kubectl apply reads a manifest and makes the cluster’s state match the desired configuration, handling creates and updates. Question 65. In OpenShift, which object provides a route for external HTTP/HTTPS traffic to a service? A) Ingress B) Route C) Service D) Endpoint Answer: B Explanation: OpenShift’s Route resource maps an external hostname to a Service, handling TLS termination if needed. Question 66. Which CN2 component is responsible for collecting and storing telemetry data for analytics? A) Control plane B) vRouter C) Analytics node D) Service VM Answer: C Explanation: The Analytics node aggregates flow records, health metrics, and performance data for monitoring and troubleshooting. Question 67. What advantage does DPDK provide to CN2’s virtual routers? A) Simplified configuration B) Hardware‑agnostic packet processing C) High‑throughput, low‑latency packet forwarding in user space D) Built‑in firewall capabilities Answer: C Explanation: DPDK enables fast packet I/O by bypassing the kernel network stack, giving CN vRouters superior performance.
Question 68. In a cloud‑native environment, which design pattern encourages “failure as a first‑class citizen” and automatic retries? A) Monolithic architecture B) Circuit breaker C) Tight coupling D) Manual scaling Answer: B Explanation: The circuit‑breaker pattern detects failures and prevents cascading errors, often combined with automatic retries and fallback logic. Question 69. Which OpenStack service authenticates and authorizes API requests? A) Nova B) Keystone C) Glance D) Neutron Answer: B Explanation: Keystone provides identity services, handling token issuance and role‑based access control for all OpenStack APIs. Question 70. What is the purpose of “BGP EVPN” in a virtualized data center? A) To provide DNS resolution B) To enable Layer‑2 connectivity over a Layer‑3 fabric C) To store object data D) To manage container images Answer: B Explanation: BGP EVPN acts as a control plane for VXLAN overlays, allowing MAC address learning and L2 adjacency across an L3 network. Question 71. Which of the following best describes the “underlay” network? A) The virtual overlay that carries tenant traffic B) The physical infrastructure (switches, routers, links) that provides basic connectivity C) The DNS service for containers D) The management API for cloud resources Answer: B Explanation: The underlay is the actual physical network that transports encapsulated overlay traffic.
Question 76. Which command creates a new namespace called “dev” in a Kubernetes cluster? A) kubectl create namespace dev B) kubectl new namespace dev C) kubectl add ns dev D) kubectl init dev Answer: A Explanation: kubectl create namespace dev creates the namespace resource. Question 77. What is the main purpose of the “Heat” orchestration service in OpenStack? A) To provide object storage B) To automate the provisioning of composite cloud resources C) To manage user authentication D) To monitor network latency Answer: B Explanation: Heat enables orchestration of multiple OpenStack resources using templates, automating complex deployments. Question 78. Which of the following is a benefit of using containers over virtual machines for microservices? A) Higher hardware utilization due to shared kernel B) Ability to run different OS kernels per container C) Built‑in hypervisor security D) Automatic persistence of state across restarts Answer: A Explanation: Containers share the host kernel, reducing overhead and allowing denser packing of services compared to full VMs. Question 79. In NFV, what does “VNF scaling” refer to? A) Adding more physical routers B) Increasing the number of VNF instances to meet demand C) Upgrading the underlying hardware D) Changing the VNF vendor Answer: B Explanation: Scaling a VNF means launching additional instances (horizontal scaling) or allocating more resources (vertical scaling) to handle increased traffic.
Question 80. Which protocol is commonly used by OpenStack Swift for object storage? A) NFS B) iSCSI C) HTTP REST API D) SMB Answer: C Explanation: Swift provides a RESTful HTTP API for storing and retrieving objects. Question 81. What does the “cgroup” subsystem limit for a container? A) Number of processes B) Network bandwidth C) CPU shares, memory usage, and I/O D) File system permissions Answer: C Explanation: cgroups enforce limits on resource consumption such as CPU time, memory, block I/O, and network bandwidth. Question 82. Which of the following is NOT a typical characteristic of a cloud‑native application? A) Stateless design B) Tight coupling between components C) Continuous delivery pipelines D) Automatic scaling Answer: B Explanation: Cloud‑native apps favor loose coupling to enable independent deployment and scaling. Question 83. In OpenShift, what does the “oc new-app” command do? A) Creates a new persistent volume B) Generates a new project C) Builds and deploys an application from source code or image D) Deletes an existing deployment Answer: C Explanation: oc new-app initiates a build from source or an existing image and creates the necessary deployment resources. Question 84. Which of the following best describes “service mesh” in a cloud‑native environment? A) A physical network topology B) A dedicated hardware load balancer C) A