Cisco Certification

300-910 — DEVOPS DevNet DevOps Study Guide

61 practice questions with correct answers and detailed explanations. Use this guide to review concepts before taking the practice exam.

▶ Take Practice Exam 61 questions  ·  Free  ·  No registration

About the 300-910 Exam

The Cisco DEVOPS DevNet DevOps (300-910) certification validates professional expertise in Cisco technologies. This study guide covers all 61 practice questions from our 300-910 practice test, complete with correct answers and explanations to help you understand each concept thoroughly.

Review each question and explanation below, then test yourself with the full interactive practice exam to measure your readiness.

61 Practice Questions & Answers

Q1 Medium

Which Cisco platform provides a unified way to manage network and IT infrastructure automation across hybrid environments?

  • A Cisco Stealthwatch
  • B Cisco Tetration
  • C Cisco AppDynamics
  • D Cisco Intersight ✓ Correct
Explanation

Cisco Intersight is a unified Infrastructure as Code and management platform that delivers visibility and management of hybrid infrastructure, enabling DevOps teams to automate provisioning and lifecycle management across cloud and on-premises environments.

Q2 Medium

What is the primary purpose of implementing GitOps in a DevOps pipeline?

  • A To use Git as the single source of truth for declarative infrastructure and application configuration ✓ Correct
  • B To replace all version control systems with Git exclusively
  • C To automate Git repository backups across multiple cloud providers
  • D To eliminate the need for continuous integration tools
Explanation

GitOps treats Git repositories as the single source of truth for infrastructure and application state, enabling declarative management where changes are pulled automatically into production by GitOps operators, ensuring consistency and auditability.

Q3 Easy

Which container orchestration platform is most commonly used in enterprise DevOps environments for managing containerized applications at scale?

  • A Docker Swarm
  • B OpenStack container management
  • C AWS ECS proprietary orchestration
  • D Kubernetes ✓ Correct
Explanation

Kubernetes has become the de facto standard for container orchestration in enterprise environments due to its robust features, vendor neutrality, extensive ecosystem, and broad industry adoption across cloud providers.

Q4 Medium

In the context of infrastructure as code (IaC), what is the primary advantage of using Terraform over CloudFormation for multi-cloud deployments?

  • A CloudFormation provides superior state management capabilities
  • B Terraform uses a cloud-agnostic HCL language and supports multiple cloud providers natively without rewriting code ✓ Correct
  • C CloudFormation supports more programming languages than Terraform
  • D Terraform is exclusively designed for AWS and provides better integration
Explanation

Terraform's cloud-agnostic approach using HCL allows DevOps engineers to write infrastructure code once and deploy it across AWS, Azure, GCP, and other providers with minimal modifications, whereas CloudFormation is AWS-specific.

Q5 Medium

Which metric is most critical for measuring the effectiveness of a continuous deployment pipeline in terms of DevOps success?

  • A Deployment frequency and lead time for changes paired with failure rate and mean time to recovery ✓ Correct
  • B Total lines of code written in the sprint
  • C Number of pull requests created without code reviews
  • D Number of Git commits per developer per day
Explanation

The four key metrics (deployment frequency, lead time, failure rate, and MTTR) from the DORA research define DevOps performance and are the most reliable indicators of both velocity and stability in continuous deployment practices.

Q6 Hard

What is the primary function of a service mesh like Istio in a microservices architecture?

  • A To provide a replacement for traditional message queues
  • B To eliminate the need for API gateways in modern architectures
  • C To replace Kubernetes entirely with a more robust container platform
  • D To manage service-to-service communication with advanced networking policies, load balancing, security, and observability without modifying application code ✓ Correct
Explanation

A service mesh like Istio provides a dedicated infrastructure layer for managing complex service-to-service interactions including traffic management, security policies, and observability, operating transparently at the network level without requiring application code changes.

Q7 Easy

In a DevOps context, what does 'Infrastructure as Code' fundamentally enable?

  • A Version control, repeatability, and automated provisioning of infrastructure using code and configuration files rather than manual processes ✓ Correct
  • B The ability to write code in multiple programming languages
  • C A faster way to manually configure servers compared to traditional methods
  • D Elimination of the need for monitoring and alerting systems
Explanation

IaC enables infrastructure to be version controlled, reviewed, tested, and deployed automatically just like application code, providing consistency, auditability, and the ability to rapidly provision and modify infrastructure at scale.

Q8 Medium

Which approach best describes the 'shift-left' philosophy in DevOps security practices?

  • A Moving security testing from the end of the pipeline earlier into the development process to catch vulnerabilities sooner ✓ Correct
  • B Shifting security responsibilities entirely to the operations team
  • C Delaying all security testing until the final production deployment stage
  • D Using leftward-reading code review comments in pull requests
Explanation

'Shift-left' in security means integrating security scanning, code analysis, and vulnerability testing earlier in the development lifecycle (at the 'left' side of the pipeline), enabling faster remediation before code reaches production.

Q9 Hard

What is a primary challenge when implementing continuous deployment in highly regulated industries such as healthcare or finance?

  • A Automation cannot be used in any capacity within regulated environments
  • B Compliance requirements and audit trails may require manual approval gates and slower deployment cycles despite having automated testing ✓ Correct
  • C Regulated industries do not benefit from DevOps practices
  • D Continuous deployment is impossible in regulated industries
Explanation

While automation improves efficiency, regulated industries must balance continuous deployment principles with compliance requirements for audit trails, approvals, and documentation, often requiring hybrid approaches with controlled gates within the pipeline.

Q10 Medium

In Cisco's network automation ecosystem, which tool is primarily used for rendering network configuration templates using Jinja2 templating?

  • A Napalm
  • B Netbox
  • C Ansible ✓ Correct
  • D Cisco NSO (Network Services Orchestrator)
Explanation

Ansible uses Jinja2 templating language to dynamically generate network configurations based on variables and facts, making it a powerful tool for multi-vendor network automation within the DevOps workflow.

Q11 Medium

What is the main purpose of implementing observability (logging, metrics, and tracing) in a DevOps environment?

  • A To serve as a replacement for version control systems
  • B To replace automated testing with manual monitoring
  • C To eliminate the need for development and testing environments
  • D To enable rapid diagnosis and resolution of issues in production by providing visibility into system behavior and performance ✓ Correct
Explanation

Observability provides the telemetry and visibility needed to understand complex system behavior, quickly identify root causes of issues, and validate that systems are performing as intended—essential for supporting rapid deployment cycles.

Q12 Medium

Which of the following best describes the relationship between DevOps and Site Reliability Engineering (SRE)?

  • A SRE only applies to cloud-native environments
  • B DevOps and SRE are completely unrelated disciplines
  • C SRE is the opposite philosophy of DevOps
  • D SRE is a specific implementation methodology of DevOps principles focused on reliability, automation, and reducing operational burden ✓ Correct
Explanation

SRE is a practical implementation of DevOps principles, originating from Google, that emphasizes reliability, automation, and blameless incident response using error budgets and systematic approaches to reduce toil.

Q13 Medium

In containerized environments, what does the principle of 'immutable infrastructure' mean?

  • A Infrastructure code can be modified but container images cannot
  • B Immutable infrastructure is an outdated concept no longer used in modern DevOps
  • C Systems are locked down so no changes are possible at all
  • D Containers are never updated after creation and are replaced entirely when changes are needed ✓ Correct
Explanation

Immutable infrastructure means that once deployed, containers are not modified in place; instead, new container images are built with changes and deployed as replacements, ensuring consistency and enabling easy rollbacks.

Q14 Easy

Which statement accurately describes the relationship between CI/CD pipelines and DevOps culture?

  • A DevOps culture eliminates the need for CI/CD pipelines
  • B CI/CD pipelines are the only component of DevOps
  • C CI/CD pipelines are a technical enabler of DevOps culture, supporting collaboration and rapid feedback between development and operations ✓ Correct
  • D CI/CD pipelines and DevOps culture are completely independent concepts
Explanation

While CI/CD pipelines are essential tools that automate testing and deployment, they are technical implementations that support the broader DevOps culture of collaboration, shared responsibility, and continuous improvement.

Q15 Easy

What is the primary benefit of using configuration management tools like Ansible or Puppet in a DevOps environment?

  • A They serve as alternatives to containerization technologies
  • B They eliminate all testing requirements before production deployment
  • C They enable consistent, repeatable, and version-controlled infrastructure configurations across multiple servers automatically ✓ Correct
  • D They replace the need for version control systems
Explanation

Configuration management tools provide idempotent, repeatable ways to configure infrastructure at scale, enabling DevOps teams to maintain consistency, track changes through version control, and quickly provision new systems.

Q16 Hard

In the context of container networking, what is the primary function of a Container Network Interface (CNI) plugin?

  • A To replace all Kubernetes networking entirely
  • B To eliminate the need for service meshes
  • C To serve as a replacement for traditional firewalls
  • D To provide network connectivity between containers and manage IP address allocation and routing within container orchestration platforms ✓ Correct
Explanation

CNI plugins provide the networking layer for containers, handling IP address allocation, routing, and connectivity between containers and hosts, with implementations like Flannel, Calico, and Weave offering different approaches to container networking.

Q17 Medium

Which practice best represents 'blameless postmortems' in DevOps incident management?

  • A Never allowing incidents to be discussed after they occur
  • B Assigning responsibility to a single person for all incidents
  • C Avoiding documentation of any incident details
  • D Focusing on systemic causes and process improvements rather than individual blame when analyzing incidents ✓ Correct
Explanation

Blameless postmortems focus on identifying systemic failures, process gaps, and contributing factors rather than assigning personal blame, fostering psychological safety and encouraging teams to report issues honestly for organizational learning.

Q18 Medium

What is the primary advantage of using a blue-green deployment strategy in DevOps?

  • A It eliminates the need for testing before production
  • B It enables zero-downtime deployments with the ability to quickly rollback to the previous version if issues are detected ✓ Correct
  • C It reduces the number of servers needed for deployment
  • D It requires less infrastructure than canary deployments
Explanation

Blue-green deployments maintain two identical production environments where traffic switches between them, allowing instant rollbacks if problems are discovered and ensuring minimal user impact during updates.

Q19 Medium

In the context of API security within a DevOps pipeline, what does 'API rate limiting' primarily protect against?

  • A Excessive API calls that could cause denial of service or resource exhaustion, protecting API stability and availability ✓ Correct
  • B Slow application response times
  • C Poor code quality in API implementations
  • D Incorrect API documentation
Explanation

Rate limiting controls the number of API requests a client can make within a time period, preventing abuse, controlling costs, and protecting backend services from being overwhelmed by excessive load or malicious requests.

Q20 Medium

Which aspect of monitoring is most critical for supporting rapid incident response in DevOps environments?

  • A Collecting metrics but never taking action on the data
  • B Monthly reports of system performance
  • C Only monitoring application uptime
  • D Real-time alerting on predefined thresholds and anomalies enabling quick detection and notification of issues before they impact users significantly ✓ Correct
Explanation

Real-time alerting with appropriate thresholds enables DevOps teams to detect and respond to issues immediately, reducing mean time to recovery (MTTR) and preventing extended outages that impact users.

Q21 Medium

What is the primary purpose of using environment parity in DevOps practices?

  • A To prevent developers from accessing any production systems
  • B To eliminate the need for testing in any environment
  • C To ensure all environments are identical so that software behaves consistently from development through production, reducing 'it works on my machine' issues ✓ Correct
  • D To standardize all developers' personal workstations identically
Explanation

Environment parity means development, staging, and production environments are as similar as possible in configuration, dependencies, and infrastructure, preventing deployment surprises and ensuring code behaves predictably across all stages.

Q22 Hard

In Cisco's software-defined networking (SDN) context, what is the primary function of a network controller?

  • A To serve exclusively as a backup power supply for switches
  • B To physically manage individual network switches manually
  • C To centralize network management and policy enforcement across multiple network devices through programmable APIs ✓ Correct
  • D To replace routing protocols entirely
Explanation

SDN controllers like Cisco APIC provide centralized management and automated policy enforcement across the network infrastructure through programmable interfaces, enabling dynamic network configuration aligned with application needs.

Q23 Medium

What is a key benefit of implementing semantic versioning (SemVer) in DevOps artifact management?

  • A It reduces the total number of versions released
  • B It provides a clear, predictable versioning scheme that communicates API compatibility and change magnitude (major.minor.patch), helping teams manage dependencies and upgrade decisions ✓ Correct
  • C It removes the need for release notes
  • D It eliminates all version conflicts completely
Explanation

Semantic versioning communicates the nature of changes through a standardized format, enabling teams to understand compatibility and make informed decisions about upgrades without examining detailed change logs.

Q24 Medium

Which approach represents the best practice for managing secrets (API keys, passwords, tokens) in a DevOps CI/CD pipeline?

  • A Using hardcoded credentials in configuration files committed to version control
  • B Using dedicated secret management systems like HashiCorp Vault or AWS Secrets Manager with role-based access and rotation policies ✓ Correct
  • C Emailing credentials to team members for manual entry
  • D Storing secrets in plain text within Git repositories
Explanation

Dedicated secret management systems provide encrypted storage, audit trails, role-based access control, and automated rotation of secrets, eliminating the security risk of credentials being exposed in code repositories.

Q25 Hard

In a microservices architecture, what is the primary challenge that DevOps teams must address regarding distributed tracing?

  • A Microservices eliminate all need for monitoring
  • B Distributed tracing can only be implemented with monolithic applications
  • C Tracking requests across multiple services and correlating logs and metrics to understand end-to-end system behavior and identify performance bottlenecks or failures ✓ Correct
  • D Distributed tracing is unnecessary in microservices
Explanation

Distributed tracing tools like Jaeger or Zipkin track requests across service boundaries, correlating logs and spans to provide visibility into system behavior, essential for troubleshooting issues in complex microservices deployments.

Q26 Easy

Which of the following best describes the primary goal of infrastructure as code (IaC) in a DevOps environment?

  • A To manually configure servers for consistency
  • B To eliminate the need for documentation
  • C To reduce the number of DevOps engineers required in an organization
  • D To define and manage infrastructure through machine-readable configuration files that enable version control and automation ✓ Correct
Explanation

Infrastructure as Code enables infrastructure to be defined, versioned, and managed like application code, providing consistency, repeatability, and automation capabilities essential to DevOps practices.

Q27 Easy

When implementing a CI/CD pipeline, what is the primary purpose of the continuous integration (CI) phase?

  • A To create backup copies of the codebase
  • B To monitor application performance in production
  • C To automatically deploy code to production servers
  • D To merge code changes frequently and validate them through automated testing and builds ✓ Correct
Explanation

Continuous Integration focuses on frequently integrating code changes from multiple developers and automatically testing these changes to catch integration issues early in the development process.

Q28 Medium

Which configuration management tool uses a pull-based model where agents on target systems periodically check for configuration updates?

  • A Puppet ✓ Correct
  • B SaltStack
  • C Ansible
  • D Chef
Explanation

Puppet uses a pull-based architecture where Puppet agents on managed nodes periodically connect to the Puppet master to retrieve and apply configuration changes, unlike Ansible's push-based approach.

Q29 Medium

In containerization, what does the Docker image layer structure enable?

  • A Efficient storage through shared base layers and faster image building and distribution ✓ Correct
  • B Real-time monitoring of container resource usage
  • C Encryption of sensitive data within containers
  • D Network isolation between containers
Explanation

Docker's layered filesystem architecture allows multiple images to share common base layers, reducing storage footprint and enabling faster builds and image transfers through layer caching and reuse.

Q30 Medium

Which of the following statements accurately describes the relationship between Docker containers and virtual machines?

  • A Containers and VMs provide identical resource utilization efficiency
  • B Containers require a hypervisor while VMs do not
  • C Containers share the host OS kernel while VMs include their own complete OS, making containers lighter and faster to start ✓ Correct
  • D VMs are always more secure than containers because they provide complete isolation
Explanation

The key difference is that containers share the host operating system kernel while virtual machines each run their own complete OS, resulting in containers being more lightweight and having faster startup times.

Q31 Medium

In Kubernetes, what is the primary function of a Service resource?

  • A To provide stable network access to a set of pods and handle load balancing across them ✓ Correct
  • B To define the desired state of deployed applications
  • C To enforce resource quotas and limits on pod usage
  • D To manage persistent storage for applications
Explanation

A Kubernetes Service provides a stable IP address and DNS name to access a logical set of pods, and distributes traffic across them using load balancing, abstracting the dynamic nature of pod creation and deletion.

Q32 Medium

What is the primary advantage of using GitOps principles in a DevOps workflow?

  • A It uses Git as the single source of truth for infrastructure and application configurations, enabling declarative and version-controlled deployments ✓ Correct
  • B It allows developers to bypass code reviews and merge directly to production
  • C It eliminates the need for continuous integration pipelines
  • D It reduces the need for monitoring and observability tools
Explanation

GitOps treats Git repositories as the authoritative source for desired state, enabling automatic synchronization of actual infrastructure to match the declared state, providing auditability, rollback capabilities, and collaboration benefits.

Q33 Medium

Which practice is essential for achieving reliable deployments in a DevOps environment?

  • A Implementing automated testing, monitoring, and the ability to quickly roll back changes ✓ Correct
  • B Manual verification of each deployment step by multiple team members
  • C Deploying only during scheduled maintenance windows
  • D Increasing the frequency of large batch deployments
Explanation

Reliable deployments require automated testing to catch issues early, comprehensive monitoring to detect problems quickly, and rollback capabilities to recover from failures, enabling safe and frequent releases.

Q34 Medium

In a microservices architecture, what challenge does distributed logging and tracing help address?

  • A Eliminating the need for API gateways between services
  • B Decreasing network latency between service calls
  • C Tracking requests across multiple services and correlating logs to understand system behavior and troubleshoot issues ✓ Correct
  • D Reducing the number of microservices required in the system
Explanation

Distributed tracing and logging with correlation IDs enable DevOps teams to follow a single request across multiple microservices, essential for debugging and monitoring complex systems where no single service owns the complete request flow.

Q35 Medium

What is the primary difference between stateless and stateful applications in containerized environments?

  • A Stateful applications store data within the container while stateless applications do not, affecting how they handle container restarts and scaling ✓ Correct
  • B Stateless applications are easier to debug while stateful applications are easier to scale
  • C Stateless applications cannot use persistent storage while stateful applications always require it
  • D Stateful applications are always deployed as Kubernetes StatefulSets while stateless apps use Deployments
Explanation

Stateless applications don't rely on stored state in the container, making them easily replaceable and scalable, while stateful applications maintain data that must be preserved across container restarts, requiring careful handling in distributed environments.

Q36 Medium

Which monitoring metric is most critical for detecting potential performance degradation in a microservices application?

  • A The age of the container images currently deployed
  • B CPU temperature of the host machine
  • C The number of lines of code in each service
  • D Response latency, error rates, and throughput of service endpoints ✓ Correct
Explanation

The RED method (Rate of requests, Errors, Duration) focuses on key metrics that directly indicate application health and user experience, enabling quick identification of performance issues or failures in microservices.

Q37 Medium

In Jenkins, what is the purpose of a Declarative Pipeline?

  • A To provide a scripted approach with maximum flexibility for pipeline definition
  • B To automatically generate pipeline stages based on Git commit messages
  • C To define CI/CD pipelines using a structured, YAML-like syntax that is easier to read and maintain than scripted approaches ✓ Correct
  • D To replace the need for Groovy scripting in all Jenkins configurations
Explanation

Declarative Pipeline provides a simplified, structured syntax for defining Jenkins pipelines with predefined steps and stages, making pipelines more readable and maintainable compared to the more flexible but complex Scripted Pipeline approach.

Q38 Hard

Which of the following best describes the concept of 'infrastructure immutability' in DevOps?

  • A Infrastructure components that are replaced rather than modified, with configuration applied at creation time through automation ✓ Correct
  • B Infrastructure that never changes and cannot be updated
  • C A security practice that prevents unauthorized access to infrastructure
  • D The practice of keeping backups of all infrastructure configuration files
Explanation

Infrastructure immutability means replacing entire infrastructure components (like servers or containers) rather than modifying them, reducing drift, improving consistency, and enabling reliable deployments through automated configuration at creation time.

Q39 Medium

What is the primary purpose of a Kubernetes Ingress resource?

  • A To provide external HTTP/HTTPS access to services within a cluster with routing rules and SSL termination ✓ Correct
  • B To manage resource limits and requests for pods
  • C To define network policies and restrict traffic between pods
  • D To automatically scale deployments based on resource usage
Explanation

Kubernetes Ingress provides external access to cluster services through configurable HTTP/HTTPS routes and domain-based routing, acting as an intelligent entry point with capabilities like SSL termination and load balancing.

Q40 Medium

In the context of container orchestration, what problem does Kubernetes networking address?

  • A The inability to run multiple containers on a single host
  • B Reducing the number of network adapters required on each node
  • C Providing network connectivity and service discovery across distributed containers and nodes with automatic IP assignment and DNS ✓ Correct
  • D Eliminating the need for external load balancers
Explanation

Kubernetes networking provides a unified network model where each pod gets its own IP address, services enable DNS-based discovery, and network policies allow fine-grained traffic control across a distributed cluster.

Q41 Medium

Which approach to testing is most critical for ensuring quality in a continuous integration environment?

  • A Testing only the components changed in each commit
  • B Limiting testing to production environments only
  • C Running automated unit tests, integration tests, and security scans before code is merged to main branches ✓ Correct
  • D Performing extensive manual testing after code is merged
Explanation

Automated testing in CI ensures rapid feedback on code quality before integration, preventing regressions and reducing the cost of fixing bugs early, while comprehensive test coverage (unit, integration, security) catches multiple types of issues.

Q42 Hard

What is the primary goal of implementing observability in DevOps systems?

  • A To eliminate the need for automated testing
  • B To reduce the frequency of deployments to production
  • C To provide complete visibility into system behavior and enable troubleshooting of unknown problems through logs, metrics, and traces ✓ Correct
  • D To reduce the number of system administrators needed
Explanation

Observability—built on metrics, logs, and traces—enables teams to understand system behavior and diagnose issues without knowing in advance what problems might occur, supporting rapid incident response in complex distributed systems.

Q43 Easy

In Ansible, which file format is used to define the desired state of systems in a playbook?

  • A TOML and YAML
  • B YAML ✓ Correct
  • C JSON only
  • D XML and JSON
Explanation

Ansible playbooks are written in YAML format, which provides a human-readable syntax for defining tasks, plays, and roles that describe the desired state of systems and the operations needed to achieve it.

Q44 Medium

Which container image registry feature is essential for managing container images in an enterprise DevOps environment?

  • A Support for image scanning, vulnerability detection, access control, and image signing for security and compliance ✓ Correct
  • B The requirement to rebuild images daily for security purposes
  • C Automatic deletion of images older than 30 days
  • D The ability to host only public images
Explanation

Enterprise container registries provide critical security and governance features including vulnerability scanning, role-based access control, image signing, and audit logging to ensure only trusted images are deployed.

Q45 Medium

What is the primary benefit of using environment parity in a DevOps workflow?

  • A Ensuring that differences between development, testing, and production environments are minimized, reducing 'works on my machine' problems and deployment failures ✓ Correct
  • B Allowing developers to deploy directly to production without testing
  • C Reducing the number of development environments required
  • D Eliminating the need for staging environments
Explanation

Environment parity ensures that code behaves consistently across all environments by keeping them as similar as possible, reducing deployment surprises and enabling confident promotion of code through the pipeline.

Q46 Medium

In Kubernetes, what does a ConfigMap resource primarily provide?

  • A Network policies for pod communication
  • B Decoupling of configuration data from application code through non-sensitive key-value pairs or configuration files ✓ Correct
  • C Encrypted storage of sensitive credentials and tokens
  • D Automatic scaling policies for pod replicas
Explanation

ConfigMaps allow applications to be configured through external key-value data or configuration files without modifying container images, enabling the same image to run in different environments with different configurations.

Q47 Hard

Which principle is fundamental to achieving continuous delivery in a DevOps environment?

  • A Maintaining a releasable state where code can be deployed to production at any time through automated processes ✓ Correct
  • B Keeping development and production environments completely isolated
  • C Deploying to production only once per quarter
  • D Requiring manual approval for every code commit
Explanation

Continuous delivery ensures that code is always in a deployable state through automated testing, integration, and deployment pipelines, enabling rapid and reliable releases when business decisions require them.

Q48 Medium

What is the primary advantage of using container registries with image layer caching in CI/CD pipelines?

  • A It ensures that all images are always rebuilt from scratch
  • B It significantly reduces build time and bandwidth by reusing cached layers from previously built images that share common base images ✓ Correct
  • C It automatically encrypts all images stored in the registry
  • D It prevents developers from using the same base image in different projects
Explanation

Layer caching in container registries enables faster builds and deployments by reusing unchanged layers from previous builds, reducing build time, network bandwidth, and storage requirements in CI/CD pipelines.

Q49 Medium

In a DevOps context, what does the practice of 'shift left' refer to?

  • A Moving infrastructure to the left side of the data center
  • B Reducing the number of stages in a CI/CD pipeline
  • C Shifting responsibility from operations to development teams only
  • D Moving testing, security, and quality checks earlier in the development cycle to catch issues before they reach production ✓ Correct
Explanation

Shift left means moving quality and security practices earlier into the development process—incorporating security scanning, automated testing, and code analysis at commit time rather than waiting for deployment stages.

Q50 Medium

Which of the following best describes the purpose of container health checks in Kubernetes?

  • A To manually verify that containers are running correctly
  • B To prevent containers from consuming excessive memory
  • C To enable Kubernetes to detect unhealthy containers and automatically restart or replace them as part of self-healing mechanisms ✓ Correct
  • D To monitor CPU usage of containers
Explanation

Kubernetes health checks (liveness and readiness probes) enable the platform to automatically detect failing containers and take corrective actions like restarting pods or removing them from service, supporting automated self-healing.

Q51 Hard

What is a primary security concern when implementing a DevOps pipeline that must be addressed?

  • A Disabling all security tools to improve pipeline speed
  • B Ensuring that all developers have identical passwords
  • C Using the same API keys across all environments
  • D Preventing secrets management, credential exposure in logs, and implementing secure CI/CD configurations with least privilege access ✓ Correct
Explanation

DevOps security requires proper secrets management to prevent credential exposure, implementing principle of least privilege in CI/CD systems, scanning for vulnerabilities, and ensuring secure configuration practices throughout the pipeline.

Q52 Easy

Which of the following best describes the purpose of infrastructure as code (IaC) in a DevOps environment?

  • A To eliminate the need for configuration management databases
  • B To manually configure servers and networks using SSH commands
  • C To define and provision infrastructure using code and version control systems ✓ Correct
  • D To replace all monitoring and logging tools with a single platform
Explanation

Infrastructure as Code allows infrastructure to be defined, versioned, and provisioned through code, enabling reproducibility and automation. This is a core DevOps practice that replaces manual configuration.

Q53 Hard

You are implementing a CI/CD pipeline and need to decide between push-based and pull-based deployment models. In which scenario would a pull-based model be most advantageous?

  • A When using only containerized applications in a single data center
  • B When managing deployments across hundreds of distributed edge devices with varying network conditions ✓ Correct
  • C When deploying to a small number of on-premises servers with stable network connectivity
  • D When the CI/CD system needs direct access to all target environments
Explanation

Pull-based deployments, where agents on target systems fetch updates, work better for distributed environments with unreliable networks because they don't require the CI/CD system to push to every device. This model scales better for edge computing scenarios.

Q54 Medium

A DevOps team is selecting a tool for container orchestration. Which of the following is a primary responsibility of a container orchestration platform?

  • A Replacing the need for load balancing by distributing traffic at the container level only
  • B Eliminating the requirement for monitoring and alerting systems
  • C Writing application source code and managing version control repositories
  • D Automatically scheduling, scaling, and managing containerized applications across a cluster ✓ Correct
Explanation

Container orchestration platforms like Kubernetes automate deployment, scaling, and management of containers. They handle scheduling workloads across clusters, managing resource allocation, and ensuring high availability.

Q55 Medium

Your organization uses microservices architecture and wants to implement distributed tracing. What is the primary benefit of distributed tracing in this context?

  • A It reduces the need for service mesh implementations entirely
  • B It replaces the need for unit testing in individual microservices
  • C It enables tracking requests across multiple services to identify performance bottlenecks and failures ✓ Correct
  • D It eliminates latency by caching all service responses
Explanation

Distributed tracing follows requests as they traverse multiple microservices, providing visibility into system behavior, latency, and errors. This is essential for debugging and optimizing complex distributed systems.

Q56 Medium

A team is designing a GitOps workflow for managing Kubernetes clusters. Which practice is central to GitOps methodology?

  • A Manually applying YAML manifests to clusters using kubectl commands from a CI/CD server
  • B Requiring cluster administrators to directly edit running configurations without version control
  • C Using Git only for source code while managing infrastructure through a separate proprietary tool
  • D Storing infrastructure and application configurations in a Git repository as the source of truth, with automated synchronization to the cluster ✓ Correct
Explanation

GitOps treats Git as the single source of truth for both application and infrastructure code, with automated tools ensuring the cluster state matches the Git repository. This provides auditability, rollback capability, and declarative management.

Q57 Medium

You are implementing automated testing in a CI/CD pipeline and need to determine test execution order. Which testing approach should typically run earliest in the pipeline for efficiency?

  • A Security scanning tests that analyze the entire codebase and dependencies
  • B Performance and load tests that require sustained resource allocation
  • C End-to-end tests that require full environment provisioning and external service mocking
  • D Unit tests that validate individual functions and components in isolation ✓ Correct
Explanation

Unit tests are fast, require minimal resources, and provide rapid feedback on code quality. Running them first allows quick failure detection before progressing to slower, more resource-intensive test stages in the pipeline.

Q58 Hard

A DevOps engineer is setting up monitoring and observability for a cloud-native application. What distinguishes observability from traditional monitoring?

  • A Monitoring and observability are identical concepts with different names
  • B Observability is only applicable to monolithic applications, not microservices
  • C Observability requires more manual log analysis compared to monitoring dashboards
  • D Observability allows you to ask arbitrary questions about system behavior without pre-defining all metrics, using logs, metrics, and traces ✓ Correct
Explanation

Observability enables understanding system state through collected data (metrics, logs, traces) and asking unanticipated questions, whereas traditional monitoring relies on predefined metrics and alerts. Observability is essential for complex, distributed systems.

Q59 Medium

Your organization is implementing a policy-as-code solution for infrastructure governance. What is a primary advantage of this approach?

  • A It enables automatic enforcement of compliance and security policies across infrastructure provisioning ✓ Correct
  • B It removes the requirement for infrastructure documentation and change logs
  • C It eliminates the need for security teams to review infrastructure changes
  • D It allows developers to bypass security controls by modifying policy code directly
Explanation

Policy-as-code automates compliance and security enforcement by codifying rules that are automatically evaluated during infrastructure provisioning. This ensures consistent policy application and reduces manual review overhead.

Q60 Medium

A team is experiencing frequent incidents caused by configuration drift in their infrastructure. Which practice would best address this issue in a DevOps context?

  • A Accepting configuration drift as inevitable and focusing only on incident response
  • B Implementing configuration management tools and treating infrastructure as immutable where possible ✓ Correct
  • C Creating detailed runbooks for manual server configuration to improve consistency
  • D Increasing the frequency of manual configuration reviews by system administrators
Explanation

Configuration management tools and immutable infrastructure prevent drift by ensuring consistent, reproducible configurations. This is more reliable than manual processes and enables automated enforcement of desired state.

Q61 Easy

An organization is evaluating container image scanning tools for their CI/CD pipeline. Which vulnerability should container image scanning specifically detect?

  • A Known vulnerabilities in base OS packages, libraries, and application dependencies embedded in the image ✓ Correct
  • B Runtime permission misconfigurations that only appear when containers execute
  • C Logic errors in application source code that require manual code review
  • D Network topology issues between deployed containers in production
Explanation

Container image scanning analyzes the contents of container images to identify known vulnerabilities in packaged software, libraries, and dependencies before deployment. This prevents vulnerable images from reaching production.

Ready to test your knowledge?

You've reviewed all 61 questions. Take the interactive practice exam to simulate the real test environment.

▶ Start Practice Exam — Free