Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Linux Foundation > DevOps and Site Reliability > CGOA

CGOA Certified GitOps Associate Exam Question and Answers

Question # 4

How can you achieve the declarative GitOps principle in managing infrastructure and applications?

A.

By using imperative scripting languages to automate infrastructure changes.

B.

By manually making ad-hoc configuration changes directly in the production environment.

C.

By periodically creating manual backups of your infrastructure configurations.

D.

By defining and maintaining infrastructure and application configurations declaratively in a version-controlled system.

Full Access
Question # 5

In a GitOps-managed workflow, what is the correct way to initiate rollback?

A.

Use Helm to rollback to a previous release version.

B.

Create a new version based on a former version so you always "roll forward".

C.

Overwrite your existing version with the code from your last working version.

D.

Revert to an older version and force push to the main branch.

Full Access
Question # 6

In GitOps, which option describesState Storemanagement?

A.

Storing state information in a relational database.

B.

Storing state information in a centralized database.

C.

Storing state information in a distributed file system.

D.

Storing state information in a version control system.

Full Access
Question # 7

A GitOps-managed Software System includes which of the following?

A.

Hardware infrastructure used for hosting the software system.

B.

One or more runtime environments consisting of resources under management.

C.

One or more programming languages used for development.

D.

Operating systems used for hosting the software system.

Full Access
Question # 8

Which of these is an advantage of using a declarative configuration for your Desired State?

A.

Declarative configuration allows you to execute code locally more efficiently to make desired changes to your running system.

B.

Using widely adopted community tools for reconciling actual state is less work than maintaining custom imperative scripts.

C.

Declarative configuration helps you include dynamic scripting that guides an application through a step-by-step process.

D.

Declarative configuration lets you specify complex if/else logic within custom code.

Full Access
Question # 9

How do you ensure that you are achieving thePulled AutomaticallyGitOps principle?

A.

By deploying changes from the version control repository by applying them through an automated pipeline when major updates are needed.

B.

By having an operator continuously monitor and pull changes from the source of truth.

C.

By maintaining multiple Git repositories for different aspects of your infrastructure and applications.

D.

By manually triggering deployments and configurations using scripts and commands.

Full Access
Question # 10

In the context of GitOps, why would you do a rollback?

A.

To undo a deployment that introduced a critical bug or caused a system failure.

B.

To improve performance and optimize resource utilization.

C.

To create a backup of the current configuration.

D.

To test a new feature in a controlled environment.

Full Access
Question # 11

In GitOps, how are the Desired State declarations pulled from the source?

A.

By sending a request to the source repository.

B.

With a CLI command or API call.

C.

Automatically by software agents.

D.

Manually triggered by a webhook.

Full Access
Question # 12

Which of the following statements accurately describes the role of GitOps in progressive delivery?

A.

GitOps requires end users to manually shift traffic for progressive delivery.

B.

GitOps allows end users to perform progressive delivery automatically without manually shifting traffic.

C.

GitOps only works with manual progressive delivery without any automation.

D.

GitOps does not allow end users to perform progressive delivery automatically, only manually.

Full Access
Question # 13

In the context of GitOps, what happens to a GitOps-managed Kubernetes cluster if there is drift divergence?

A.

The GitOps-managed Kubernetes cluster ignores the drift divergence and continues to operate as it is.

B.

The GitOps-managed Kubernetes cluster automatically reconciles the drift divergence to return the cluster to the Desired State.

C.

The GitOps-managed Kubernetes cluster notifies the administrator about the drift divergence and waits for manual intervention.

D.

The GitOps-managed Kubernetes cluster rolls back to the previous known state before the drift divergence occurred.

Full Access
Question # 14

Which of the following best describes the role of Git as the "single source of truth" in GitOps?

A.

Git stores only application source code, while deployment configurations are managed elsewhere.

B.

Git acts as the sole system of record for both infrastructure and application declarative configurations.

C.

Git is primarily used for versioning, but runtime configurations are excluded from GitOps workflows.

D.

Git is optional in GitOps; any version control system or manual configuration management can serve the same purpose.

Full Access
Question # 15

You are deploying a new version of your application using the Blue-Green deployment pattern. What is a characteristic of the Blue-Green deployment pattern?

A.

The new version of the application is deployed first, followed by the old version.

B.

The old version of the application is deployed first, followed by the new version.

C.

Both the new and old versions of the application are deployed simultaneously.

D.

The Blue-Green deployment pattern only deploys single versions of the application.

Full Access
Question # 16

You are implementing GitOps in your organization and have configured the Desired State of your applications in a Git repository. However, during the deployment process, you encounter an error in the configuration. What is the recommended action in this scenario?

A.

Continue to monitor the issue and proceed with the deployment, as it may not significantly impact the application.

B.

Raise a ticket with the development team to fix the error in the configuration file.

C.

Roll back the deployment to the previous working version while investigating the error in the configuration file.

D.

Make a call to the Kubernetes API with the correction.

Full Access
Question # 17

In GitOps practices, when does CD take part?

A.

CD takes part simultaneously with CI, both components of GitOps practices.

B.

CD takes part after CI to automate the deployment of applications based on changes in the Git repository.

C.

CD takes part before CI stage in order to ensure the successful deployment of applications.

D.

CI plays a significant role in GitOps practices.

Full Access
Question # 18

In the context of GitOps, what is the purpose of a State Store?

A.

To provide a system for storing temporary state data during GitOps deployments.

B.

To provide a system for storing mutable versions of Desired State declarations.

C.

To provide a system for storing the current state of an application.

D.

To provide a system for storing immutable versions of Desired State declarations.

Full Access