Courseiva

CCNA Gitops Terminology Questions

69 questions · Gitops Terminology topic · All types, answers revealed

1
Multi-Selectmedium

When setting up Argo CD, which TWO components are essential to define a GitOps workflow?

Select 2 answers
A.Kubernetes Node
B.AppProject
C.Application CRD
D.Docker Registry
E.Jenkins Pipeline
AnswersB, C

AppProject is used to logically group applications and enforce security boundaries.

Why this answer

An Application object defines the source and destination, and a Project organizes them.

2
Multi-Selecthard

Which THREE of the following are potential risks of ignoring drift in a GitOps environment?

Select 3 answers
A.Reduced storage usage
B.The Git repo becomes outdated relative to the cluster
C.Application instability due to unexpected configuration
D.Security vulnerabilities due to unmanaged manual changes
E.Increased deployment speed
AnswersB, C, D

If drift is not fixed, the Git repo stops representing reality.

Why this answer

Ignoring drift leads to configuration loss, security gaps, and deployment failures.

3
MCQmedium

What does the term 'Self-Healing' mean in a GitOps context?

A.The application automatically updates its own code
B.The cluster automatically reboots upon failure
C.The system automatically restores the desired state if someone manually modifies the cluster
D.The database automatically backs itself up
AnswerC

This is the core functionality of a GitOps operator.

Why this answer

Self-healing refers to the operator's ability to revert manual changes back to the state defined in Git.

4
MCQeasy

What is the primary benefit of a 'pull' deployment model compared to a 'push' model in GitOps?

A.Support for non-Kubernetes platforms
B.Elimination of Kubernetes manifests
C.Reduced need for inbound firewall access to the cluster
D.Faster application builds
AnswerC

The operator initiates outbound connections, making the cluster more secure.

Why this answer

Pull-based models eliminate the need to open inbound firewall ports or expose credentials to external services.

5
MCQmedium

What is the role of a 'Webhook' in a GitOps setup?

A.To store encrypted credentials
B.To inform the operator of a change in the Git repository
C.To scan container images for vulnerabilities
D.To automatically approve pull requests
AnswerB

Webhooks reduce latency by pushing notification of commits.

Why this answer

Webhooks allow the Git provider to notify the GitOps operator immediately when a change occurs, rather than waiting for the next polling interval.

6
MCQhard

What is the purpose of a 'Kustomization' resource in a GitOps workflow?

A.To dynamically customize and patch manifests for different environments
B.To perform load testing on the API server
C.To provide a secure shell into pods
D.To manage database migrations
AnswerA

Kustomization is a tool for managing variations of Kubernetes configurations.

Why this answer

Kustomization allows for templating and patching Kubernetes manifests for different environments without changing the base code.

7
MCQhard

What is the purpose of a 'Sync Window' in Argo CD?

A.To increase the size of the Git repo
B.To limit when automated syncs occur
C.To prevent users from logging in
D.To optimize network speed
AnswerB

This allows teams to prevent deployments during peak hours or maintenance windows.

Why this answer

Sync windows restrict when automated syncs are allowed, preventing deployments during sensitive times.

8
MCQmedium

What is an 'Image Updater' in the GitOps ecosystem?

A.A tool to compress images
B.A tool to clean up old images in the registry
C.A tool to scan images for vulnerabilities
D.A controller that updates image tags in Git
AnswerD

This automates the image promotion process.

Why this answer

An Image Updater is a controller that automatically updates image tags in the Git repository when a new version is available in a registry.

9
MCQmedium

A cluster is flagged as 'OutOfSync' in Argo CD. What does this status specifically indicate?

A.The live state in the Kubernetes cluster deviates from the version-controlled manifest.
B.The Git repository contains a syntax error in the YAML files.
C.The Kubernetes API server is unreachable.
D.The cluster has run out of memory or CPU resources.
AnswerA

Argo CD compares the live cluster objects with the Git-defined objects; any difference triggers the OutOfSync status.

Why this answer

The OutOfSync status indicates that the live cluster state does not match the desired state defined in the Git repository.

10
MCQhard

What is the impact of having multiple GitOps operators in the same cluster?

A.It is the recommended setup for high availability
B.It leads to potential race conditions and configuration conflicts
C.It automatically distributes the load across nodes
D.It increases the throughput of deployments
AnswerB

Two controllers trying to manage the same resource is a conflict.

Why this answer

Multiple operators can lead to resource contention and conflicting state management, which is generally discouraged.

11
Multi-Selectmedium

Which TWO of the following are true about 'Pull' vs 'Push' deployment models?

Select 2 answers
A.Pull models eliminate the need for an external CI/CD tool to access the cluster
B.Pull models only support small clusters
C.Push models are the standard for GitOps
D.Pull requires the operator to have cluster access
E.Push models are inherently more secure
AnswersA, D

This is the main architectural benefit of pull-based GitOps.

Why this answer

Pull is initiated by the cluster; Push is initiated by the external CI system.

12
MCQhard

In an Argo CD 'Application' manifest, what does the 'destination' field specify?

A.The Kubernetes cluster and namespace for deployment
B.The source Git repository URL
C.The build server address
D.The email address for alerts
AnswerA

Destination provides the target context for the sync operation.

Why this answer

The destination defines the cluster URL and namespace where the resources should be deployed.

13
Multi-Selectmedium

You are auditing your GitOps deployment strategy. Which TWO of the following statements correctly describe the 'Source of Truth' in a GitOps architecture?

Select 2 answers
A.The live cluster state is the ultimate source of truth for all configurations
B.The declared state in the Git repo must match the observed cluster state
C.The Git repository acts as the single source of truth for both infrastructure and applications
D.Database backups constitute the primary source of truth
E.Continuous Integration artifacts are the source of truth
AnswersB, C

This synchronization is the core goal of the GitOps model.

Why this answer

The Git repository is the canonical state, and the cluster is a reflection of that state.

14
Multi-Selectmedium

Which TWO of the following are valid ways to configure an Argo CD 'Application'?

Select 2 answers
A.By modifying the Argo CD binary code
B.By writing a shell script that bypasses the API server
C.By applying a YAML manifest via kubectl
D.By using the Argo CD CLI
E.By deleting the Git repository
AnswersC, D

Argo CD Applications are Kubernetes objects.

Why this answer

Applications can be configured using Kubernetes manifests (YAML) or the CLI.

15
MCQhard

A company transitions from a push-based CI/CD pipeline (using Jenkins) to a pull-based GitOps model (using Flux). What is the primary security architectural change regarding cluster access?

A.Git is no longer the source of truth
B.The cluster no longer requires an API server
C.The operator is now a push-based agent
D.The CI server no longer requires cluster credentials
AnswerD

Pull-based models allow the agent within the cluster to reconcile state, eliminating the need to expose cluster API credentials to external build systems.

Why this answer

In push models, the CI server requires cluster credentials. In pull models, the operator inside the cluster initiates the fetch, removing the need for external cluster-admin access.

16
MCQhard

When a manual change is made directly to a Kubernetes Service via 'kubectl edit', what behavior is expected from a properly configured GitOps operator set to 'Automatic Sync'?

A.The operator identifies the drift and automatically overwrites the live state with the Git version.
B.The operator ignores the change to prevent production downtime.
C.The operator updates the Git repository to match the new manual change.
D.The operator prompts the administrator for manual approval before reverting.
AnswerA

This is the core definition of GitOps Self-Heal in tools like Argo CD and Flux.

Why this answer

If 'Self-Heal' is enabled in the GitOps operator, it will detect the drift caused by the manual 'kubectl edit' and overwrite the live change with the version defined in Git.

17
MCQmedium

How do you handle 'Environment-specific' configurations in a GitOps repository?

A.By creating separate branches for each environment
B.By having multiple Git repositories per cluster
C.By using overlays or templating tools
D.By hardcoding the environment in the application
AnswerC

Overlays allow for shared code with specific environment overrides.

Why this answer

Using tools like Kustomization or Helm allows for managing common base configurations with environment-specific overlays.

18
MCQmedium

You are configuring an Argo CD application. After a developer manually modifies a Kubernetes Service via kubectl, the application status changes to 'OutOfSync'. Which GitOps principle is this monitoring process specifically identifying?

A.Drift detection
B.Rollback recovery
C.Image promotion
D.Webhook integration
AnswerA

The process of identifying discrepancies between the desired state in Git and the actual cluster state is known as drift detection.

Why this answer

The reconciliation loop continuously compares the live state with the desired state defined in Git, flagging manual changes as drift.

19
MCQeasy

Which GitOps tool is primarily associated with the 'pull' deployment model?

A.Jenkins
B.Flux
C.Ansible
D.Terraform
AnswerB

Flux is a well-known GitOps operator designed for pull-based workflows.

Why this answer

Flux and Argo CD are both popular examples of pull-based GitOps operators.

20
Multi-Selectmedium

Which TWO of the following are standard ways to structure environment configurations?

Select 2 answers
A.Using separate repositories for each environment
B.Using an external database to store config
C.Hardcoding environment names in the deployment script
D.Using different folders for different environments (e.g., dev/prod)
E.Embedding all environments in a single flat file
AnswersA, D

This is a robust approach for strict separation.

Why this answer

Using directories or separate repos are the standard patterns.

21
MCQeasy

In the context of GitOps, what is the primary role of the 'Source of Truth'?

A.To store the database backups for the application.
B.To host the container images used by the applications.
C.To act as the runtime environment where pods are scheduled.
D.To serve as the definitive, version-controlled repository for the system's desired configuration.
AnswerD

Git acts as the record of what the infrastructure and application state should be.

Why this answer

The Source of Truth (typically a Git repository) holds the desired state of the entire system, ensuring that all cluster changes are versioned, audited, and reproducible.

22
MCQmedium

An application is configured with 'Automated Sync'. What happens when a developer merges a change to the main branch?

A.The operator waits for a manual override
B.The operator deletes the application
C.The cluster crashes
D.The operator pulls the new state and updates the cluster
AnswerD

The reconciliation loop detects the change and pushes the new configuration to the API server.

Why this answer

The controller detects the commit and immediately triggers a sync to update the cluster.

23
MCQmedium

Which of the following is a potential downside of using a 'Pull' model?

A.It requires public IP addresses
B.It requires maintaining an operator within the cluster
C.It is slower than pushing
D.It creates a security hole
AnswerB

An operator is a component that must be deployed, monitored, and updated.

Why this answer

Pull models require an agent to be installed in the cluster, which adds complexity to the management of that agent.

24
Multi-Selecthard

Which THREE of the following represent common symptoms of 'drift' in a GitOps-managed cluster?

Select 3 answers
A.Unexpected changes to resource labels or annotations
B.Manual editing of a ConfigMap via kubectl
C.Successful CI pipeline execution
D.Unauthorized scaling of a deployment
E.Git commit history being too long
AnswersA, B, D

Often caused by automated cluster tools that are not GitOps-aware.

Why this answer

Drift occurs when the runtime state deviates from the Git-stored state.

25
MCQhard

In a GitOps environment, what is the 'Reconciliation Loop' primarily responsible for?

A.Running unit tests on application code
B.Generating new Kubernetes manifests
C.Managing user authentication for the Git provider
D.Continuously ensuring the cluster state matches the Git repository
AnswerD

The loop is a control mechanism that maintains consistency.

Why this answer

The loop calculates the difference between current and desired state and applies actions to minimize that difference.

26
Multi-Selecteasy

Which TWO of the following are considered 'Anti-Patterns' in a GitOps workflow? (Choose two)

Select 2 answers
A.Storing sensitive secrets as plain text in the Git repository.
B.Using a Git branch to represent a specific environment (e.g., prod vs dev).
C.Applying manual configuration changes directly to the production cluster.
D.Automating the deployment process using a GitOps operator.
E.Storing application manifests in a central repository.
AnswersA, C

Secrets must be encrypted using tools like Sealed Secrets or Vault.

Why this answer

Making manual changes via kubectl and committing secrets in plain text are significant security and operational anti-patterns.

27
MCQmedium

What is the primary function of a 'Namespace' in an Argo CD Application?

A.To store container images
B.To restrict where the operator deploys resources
C.To store Git history
D.To provide network isolation
AnswerB

Namespaces allow for multi-tenancy and resource segregation.

Why this answer

The namespace defines the logical boundary within the cluster where the resources should be deployed.

28
MCQmedium

What is the primary role of a 'GitOps controller'?

A.To watch the repository and reconcile the cluster state
B.To host the container registry
C.To generate user tokens
D.To manage Git branches
AnswerA

This is the primary function of the controller.

Why this answer

The controller (or operator) is the brain of the GitOps platform that manages the lifecycle of the infrastructure.

29
Multi-Selectmedium

Which TWO of the following are benefits of using Git as the 'Source of Truth'?

Select 2 answers
A.Clear audit trail of who changed what and when
B.Automated rollback via git revert
C.Automatic removal of unused cloud accounts
D.Increased reliance on manual terminal access
E.Faster CPU performance for applications
AnswersA, B

Git commits provide a timestamped and signed history of changes.

Why this answer

Git provides history, auditability, and collaboration features.

30
Multi-Selecthard

Which THREE of the following are common components of a GitOps platform?

Select 3 answers
A.CI Pipeline (e.g., GitHub Actions)
B.External Load Balancer
C.Git Repository (Source of Truth)
D.Manual Deployment Script
E.GitOps Operator (e.g., Argo CD/Flux)
AnswersA, C, E

CI validates changes before they land in the GitOps repo.

Why this answer

A GitOps platform consists of a Git repo, an operator, and a target infrastructure.

31
Multi-Selectmedium

Which TWO of the following are characteristics of a 'GitOps Operator'?

Select 2 answers
A.It is a purely external monitoring tool
B.It generates application source code
C.It runs inside the Kubernetes cluster
D.It requires manual triggers for every update
E.It observes, compares, and acts to reconcile state
AnswersC, E

Operators are native to the cluster environment.

Why this answer

Operators run inside the cluster and act autonomously.

32
MCQmedium

What happens if the Git repository is temporarily unavailable during a sync cycle?

A.The operator wipes the current state
B.The cluster reverts to a hardcoded default
C.The cluster automatically deletes all applications
D.The operator waits and retries the fetch
AnswerD

Operators are designed to be resilient and will retry after failures.

Why this answer

The operator will fail to fetch, and the application will remain in its last known state, usually showing a sync error.

33
MCQeasy

Which term best describes the process of ensuring the live cluster matches the desired state stored in Git?

A.Validation
B.Syncing
C.Provisioning
D.Compilation
AnswerB

Syncing is the act of aligning the actual state with the target state.

Why this answer

Syncing or Reconciliation is the process of applying the Git-defined state to the cluster.

34
Multi-Selecthard

Which THREE of the following are common tasks performed by a GitOps Operator? (Choose three)

Select 3 answers
A.Applying configurations to the cluster to resolve detected drift.
B.Generating unit tests for Kubernetes manifests.
C.Comparing the current cluster state with the state defined in Git.
D.Building and pushing new Docker images to a registry.
E.Continuous monitoring of the Git repository for new commits.
AnswersA, C, E

The operator executes the necessary changes to match Git.

Why this answer

The operator watches Git for changes, reconciles the live state, and provides visibility into drift/sync status.

35
MCQmedium

You are troubleshooting a Flux installation. The operator is failing to pull updates from a private GitHub repository. What component is most likely misconfigured?

A.The Helm chart version
B.The cluster service account permissions
C.The Kustomization path
D.The GitRepository secret
AnswerD

The GitRepository object refers to a secret containing authentication credentials; if missing or incorrect, the operator cannot fetch the repo.

Why this answer

Flux uses Kubernetes Secrets to store the SSH keys or tokens required for authentication with Git providers.

36
MCQmedium

What does the 'prune' setting in a GitOps controller do?

A.Removes unused Git branches
B.Automatically deletes resources from the cluster that are no longer in Git
C.Trims logs to save disk space
D.Limits the number of replicas
AnswerB

Pruning keeps the live state clean by removing orphaned objects.

Why this answer

Pruning ensures that resources not present in Git are removed from the cluster.

37
Multi-Selectmedium

Which TWO of the following are common GitOps terminology used to describe the state of an application?

Select 2 answers
A.Temporary State
B.Desired State
C.Live State
D.Future State
E.Legacy State
AnswersB, C

The state described in Git.

Why this answer

'Desired' vs 'Live' (or 'Current') are standard terms in GitOps.

38
MCQeasy

What is the primary benefit of version controlling your cluster manifests?

A.It allows you to host files on your local desktop
B.It replaces the need for a database
C.It allows you to track, audit, and revert cluster changes
D.It speeds up node startup time
AnswerC

Version control is the foundation for reliable change management.

Why this answer

Version control provides an audit trail, rollback capability, and consistency.

39
MCQmedium

You are using Flux and need to ensure that specific resources are ignored by the reconciliation process. Which feature should you utilize?

A.Namespace-level network policies
B.Git commit filtering
C.Kustomization ignore annotations
D.ClusterRoleBinding exclusions
AnswerC

These annotations instruct the Flux controller to skip specific resources during sync.

Why this answer

Flux allows using annotations to mark resources as 'ignore' or 'skip' to prevent the operator from modifying them.

40
MCQeasy

What does 'Declarative Configuration' imply in GitOps?

A.The system is defined by files that describe the desired final state
B.Only developers can access the system
C.The database is the source of truth
D.You must manually type every command
AnswerA

GitOps relies on manifests to define the target state.

Why this answer

It means specifying the desired state in files rather than using imperative commands.

41
MCQeasy

What does the status 'Healthy' mean in an Argo CD application?

A.The network is secure
B.The database is fully backed up
C.The application is running as expected in the cluster
D.The Git repository is updated
AnswerC

Health is the assessment of the live, running workload.

Why this answer

A 'Healthy' status indicates that the application is running as intended in the cluster.

42
MCQeasy

In a GitOps environment using Argo CD, what is the primary purpose of the reconciliation loop?

A.To automatically apply changes from the Git repository to the target Kubernetes cluster.
B.To perform unit testing on manifest files before they are merged.
C.To push new container images to the registry whenever a build completes.
D.To scale deployment replicas based on real-time traffic metrics.
AnswerA

The operator continuously polls Git to ensure the live state matches the desired state.

Why this answer

The reconciliation loop constantly compares the desired state in Git to the actual state in the cluster to identify and address configuration drift.

43
Multi-Selectmedium

Which TWO of the following are standard GitOps workflows for promoting changes?

Select 2 answers
A.Updating a manifest file in a 'production' directory
B.Running a manual script on the live server
C.Reinstalling the Kubernetes cluster
D.Using a UI wizard to bypass Git
E.Updating a Git tag to point to a new release
AnswersA, E

Promoting by file/folder change is a common pattern.

Why this answer

Promotion usually happens by updating manifests in different directories or branches.

44
MCQmedium

What happens when a resource's 'SyncPolicy' is set to 'Manual'?

A.The operator will delete the resource
B.The operator will stop watching the repository
C.The operator will report 'OutOfSync' until a human triggers the sync
D.The operator will automatically sync as soon as a change is detected
AnswerC

Manual sync requires an explicit user action.

Why this answer

The operator will detect the drift, but it will not automatically apply the changes to the cluster until a user clicks 'Sync'.

45
MCQmedium

Your team wants to implement GitOps. Which of the following is a critical prerequisite for 'Drift Detection' to be effective?

A.The cluster must have an external load balancer exposed to the internet.
B.The operator must have read access to the Git repository and the cluster's current live state.
C.Developers must manually commit to Git every time a pod restarts.
D.The Git repository must contain the running container images themselves.
AnswerB

Comparison requires access to both the source (Git) and the target (Cluster).

Why this answer

For an operator to detect drift, it must be able to periodically compare the live state in the cluster against the specific declarative manifests stored in Git.

46
MCQeasy

What is the primary function of an 'Operator' in the context of GitOps?

A.Automating the reconciliation process within the cluster
B.Hosting the Git repository
C.Writing application code
D.Executing SQL queries
AnswerA

Operators continuously reconcile the live state with the desired state.

Why this answer

An operator is a Kubernetes controller that manages the lifecycle of applications by reconciling state.

47
MCQhard

What is the difference between a 'Sync' and a 'Refresh' in Argo CD?

A.Refresh updates the application status; Sync applies changes to the cluster
B.Sync is for reading; Refresh is for writing
C.Refresh is for Git; Sync is for the cloud provider API
D.They are the same thing
AnswerA

Refresh pulls metadata; sync performs the state transition.

Why this answer

A refresh updates the application status from the Git repo, while a sync actually applies changes to the cluster.

48
MCQhard

How does an operator manage 'Secrets' in a GitOps repository?

A.By disabling secrets entirely
B.By using specialized tools or controllers to decrypt secrets at runtime
C.By storing them as plain text in the repo
D.By hardcoding them in the application code
AnswerB

Tools like SealedSecrets allow encrypted secrets to be stored in Git safely.

Why this answer

Since secrets shouldn't be in plaintext, GitOps tools use tools like SealedSecrets or external providers to inject them at runtime.

49
MCQhard

You are architecting a multi-cluster deployment. What is the benefit of using an 'Operator' based architecture over a standard CI/CD Push approach in this context?

A.It allows the CI pipeline to run faster by offloading deployment tasks.
B.It removes the need to store sensitive cluster administrative credentials in an external CI/CD tool.
C.It ensures that the Git repository is automatically updated with the latest cluster metrics.
D.It forces developers to use the CLI for all infrastructure changes.
AnswerB

By pulling from within, the cluster does not need to expose an API endpoint to an external CI tool's service account.

Why this answer

Operator-based GitOps keeps the cluster-specific credentials inside the cluster itself, rather than needing to store them in an external CI system.

50
Multi-Selectmedium

Which TWO of the following are NOT recommended in a GitOps workflow?

Select 2 answers
A.Automated reconciliation of state
B.Manual changes via kubectl
C.Storing plain-text secrets in the repository
D.Using Git as a source of truth
E.Using pull requests for code changes
AnswersB, C

Manual changes cause drift and bypass audit trails.

Why this answer

Manual changes and plain-text secrets are anti-patterns.

51
Multi-Selecthard

Which THREE of the following are valid ways to trigger a sync in a GitOps environment?

Select 3 answers
A.Pushing a commit to the Git repository
B.Manually clicking 'Sync' in the dashboard
C.Logging into the node via SSH
D.Restarting the Kubernetes API server
E.Sending a webhook notification from the Git provider
AnswersA, B, E

The operator detects the new commit and triggers the sync.

Why this answer

Syncing can be manual, automated via commit, or triggered by a webhook.

52
Multi-Selecthard

Which THREE of the following are core responsibilities of a GitOps operator?

Select 3 answers
A.Detecting drift between the cluster state and the Git source
B.Writing CI/CD build scripts
C.Executing manual kubectl commands for developers
D.Applying necessary changes to reconcile the live state with the desired state
E.Continuously monitor the declared state in the repository
AnswersA, D, E

Drift detection is the primary function of the reconciliation loop.

Why this answer

Operators are designed to observe, analyze, and act to reconcile differences.

53
MCQhard

In a GitOps environment, what is the role of a 'CI Pipeline'?

A.To replace the GitOps operator
B.To validate changes and commit them to the GitOps repo
C.To execute the reconciliation loop
D.To handle user authentication for the cluster
AnswerB

CI acts as the gatekeeper for the source of truth.

Why this answer

The CI pipeline prepares the deployment manifests, which are then picked up by the CD GitOps operator.

54
Multi-Selecthard

Which THREE of the following represent key concepts in 'GitOps'?

Select 3 answers
A.Infrastructure as Code (IaC)
B.Manual intervention for every change
C.Direct terminal access to production
D.Automated Reconciliation
E.Git as the Source of Truth
AnswersA, D, E

IaC is the core foundation for GitOps manifests.

Why this answer

GitOps is defined by declarative infrastructure, version control, and automated reconciliation.

55
MCQeasy

What does the status 'OutOfSync' indicate in Argo CD?

A.The live resources are not identical to the Git manifests
B.The Git repository is empty
C.The application is running out of memory
D.The Argo CD server is offline
AnswerA

This status signifies a discrepancy between desired and actual state.

Why this answer

It means the live state of the resources in the cluster does not match the desired state in the Git repository.

56
MCQeasy

If you want to view the history of changes made to your cluster configuration, where should you look in a GitOps model?

A.The cluster event logs
B.The developer's local workstation
C.The cloud provider billing dashboard
D.The Git repository commit history
AnswerD

The commit history is the canonical log of every change made to the system.

Why this answer

Because Git is the source of truth, the git log provides a complete history of all configuration changes.

57
Multi-Selecthard

Which THREE of the following are benefits of using a GitOps operator for CD?

Select 3 answers
A.Automatic creation of development environments
B.Continuous synchronization of desired state
C.Increased visibility into drift
D.Reduced reliance on external CI system credentials
E.Requirement for manual approvals on every sync
AnswersB, C, D

The operator ensures the cluster is always in the target state.

Why this answer

Operators provide continuous, secure, and automated deployment.

58
Multi-Selectmedium

Which TWO of the following are primary benefits of adopting a GitOps 'Pull' model compared to a 'Push' model? (Choose two)

Select 2 answers
A.It simplifies the initial setup of CI/CD pipelines.
B.It improves security by removing the need for long-lived cluster credentials in external CI systems.
C.It reduces the total number of containers running in the cluster.
D.It eliminates the need for exposing the Kubernetes API server to external CI/CD tools.
E.It ensures that manual cluster changes are automatically committed to the Git repository.
AnswersB, D

Credentials stay internal, reducing the attack surface.

Why this answer

Pull models enhance security by removing the need for external access to the cluster and improve reliability through continuous, self-healing reconciliation.

59
MCQmedium

When a GitOps tool reports a 'Sync Error', what is the most likely cause?

A.The Git repository is deleted
B.The cluster has too many nodes
C.The manifest contains invalid Kubernetes syntax
D.The network latency is high
AnswerC

Malformed YAML prevents the API server from accepting the resource.

Why this answer

Sync errors often result from resource conflicts or permission issues when applying manifests.

60
MCQhard

In a GitOps workflow, how does an operator handle a situation where a user manually deletes a resource that is defined in Git?

A.It creates an alert and waits for manual intervention
B.It updates the Git repository to reflect the deletion
C.It automatically recreates the resource
D.It blocks all future deployments until a reset occurs
AnswerC

The operator identifies that the live state is missing the resource and applies the Git manifest.

Why this answer

The reconciliation loop detects the absence of the resource and redeploys it to match the source of truth.

61
MCQeasy

Which of the following is considered 'best practice' for GitOps repository structure?

A.Storing source code and manifest files in the same directory
B.Keeping all configuration in a single root file
C.Using a separate repository for environment configurations
D.Committing binary files to the repo
AnswerC

Separating environment config allows for cleaner promotion flows.

Why this answer

Separating application code from infrastructure/environment configuration is a GitOps best practice.

62
MCQmedium

You are comparing GitOps deployment models. Which scenario best describes a 'Pull' deployment model?

A.A webhook triggers a Jenkins job to build and deploy an application.
B.A developer runs a helm upgrade command from their local machine to the cluster.
C.A Jenkins CI pipeline executes kubectl apply commands against the production cluster.
D.A Flux controller monitors the Git repository and updates the cluster state internally.
AnswerD

Flux pulls the configuration from Git and applies it locally, adhering to the Pull model.

Why this answer

In a Pull model, an agent inside the cluster (like Flux or Argo CD) periodically fetches the desired state from a repository, eliminating the need for external access to the cluster's API.

63
MCQeasy

In GitOps, what should happen if a configuration file is deleted from the Git repository?

A.The operator alerts the admin and stops
B.The cluster keeps the resource forever
C.The operator ignores the change
D.The operator deletes the resource from the cluster
AnswerD

The operator ensures the cluster perfectly mirrors the repo.

Why this answer

The operator will reconcile the state by deleting the corresponding resource from the cluster.

64
MCQhard

What is the purpose of 'App-of-Apps' pattern in Argo CD?

A.To perform parallel builds
B.To increase the memory capacity of the cluster
C.To manage a collection of applications via a single root application
D.To allow multiple users to edit the same file
AnswerC

This allows for hierarchical management of multiple services.

Why this answer

The App-of-Apps pattern allows managing multiple applications using a single parent application, simplifying deployment for complex architectures.

65
MCQmedium

Why is 'Git' used as the source of truth rather than a standard database?

A.Git is the only format Kubernetes supports
B.Git is easier to host on-premise
C.Git provides native versioning, history, and collaboration
D.Git is faster at read operations
AnswerC

The Git workflow is specifically optimized for tracking changes over time.

Why this answer

Git provides built-in version control, audit trails, and collaborative workflows that databases lack.

66
Multi-Selecthard

Which THREE of the following are critical security considerations for a GitOps implementation?

Select 3 answers
A.Requiring GPG signing for commits
B.Using hardcoded passwords in Kubernetes manifests
C.Implementing RBAC for the Git repository
D.Storing secrets in external stores like HashiCorp Vault
E.Granting the GitOps operator cluster-admin access by default
AnswersA, C, D

Ensures the integrity and authenticity of configuration changes.

Why this answer

Access control, secure credential storage, and commit signing are essential for security.

67
MCQhard

When using an 'Image Updater' with a GitOps operator, what is the automated workflow?

A.It detects new images and updates the manifest in Git
B.It manually restarts the cluster
C.It creates a backup of the cluster
D.It bypasses the git repository entirely
AnswerA

This is the standard flow: watch registry -> update Git -> operator pulls change.

Why this answer

The updater monitors registries for new images and updates the Git repository automatically.

68
Multi-Selecthard

Which THREE of the following are best practices for managing GitOps secrets?

Select 3 answers
A.Share secrets in cleartext via team chat
B.Encrypt secrets using tools like SealedSecrets
C.Use an external secret manager like HashiCorp Vault
D.Rotate secrets regularly based on security policies
E.Store base64 encoded secrets in Git
AnswersB, C, D

SealedSecrets allows keeping secrets in Git while preventing unauthorized access.

Why this answer

Secrets should be encrypted, managed outside Git, and rotated frequently.

69
MCQeasy

An administrator notices that the 'sync' status of an Argo CD application is 'Synced' but the health status is 'Degraded'. What does this indicate?

A.The Argo CD controller has crashed
B.The Git repository is unreachable
C.Git and the cluster state are mismatched
D.The application is correctly defined in Git but is failing at runtime
AnswerD

Sync status refers to configuration parity, while health status refers to runtime execution success.

Why this answer

The desired state in Git has been successfully applied to the cluster, but the workloads (e.g., Pods) are failing to run correctly.

Ready to test yourself?

Try a timed practice session using only Gitops Terminology questions.