nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #24

Your application runs on Google Cloud Platform (GCP). You need to implement Jenkins for deploying application releases to GCP. You want to streamline the release process, lower operational toil, and…

The correct answer is D. Implement Jenkins on Compute Engine virtual machines. To implement Jenkins for deploying applications to GCP while streamlining releases, lowering toil, and maintaining security, running Jenkins on Compute Engine virtual machines is the most suitable approach.

Submitted by devops_kid· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

Your application runs on Google Cloud Platform (GCP). You need to implement Jenkins for deploying application releases to GCP. You want to streamline the release process, lower operational toil, and keep user data secure. What should you do?

Options

  • AImplement Jenkins on local workstations.
  • BImplement Jenkins on Kubernetes on-premises.
  • CImplement Jenkins on Google Cloud Functions.
  • DImplement Jenkins on Compute Engine virtual machines.

How the community answered

(13 responses)
  • A
    8% (1)
  • B
    8% (1)
  • C
    15% (2)
  • D
    69% (9)

Why each option

To implement Jenkins for deploying applications to GCP while streamlining releases, lowering toil, and maintaining security, running Jenkins on Compute Engine virtual machines is the most suitable approach.

AImplement Jenkins on local workstations.

Implementing Jenkins on local workstations is unsuitable for a production-grade CI/CD system due to lack of reliability, scalability, security, and consistent availability.

BImplement Jenkins on Kubernetes on-premises.

Implementing Jenkins on Kubernetes on-premises introduces additional infrastructure management overhead and does not fully leverage GCP's native services for an application already running on GCP.

CImplement Jenkins on Google Cloud Functions.

Google Cloud Functions are serverless, ephemeral, and designed for short-lived, event-driven functions, making them an inappropriate platform for hosting a long-running, stateful application like Jenkins.

DImplement Jenkins on Compute Engine virtual machines.Correct

Implementing Jenkins on Compute Engine virtual machines provides a robust and flexible environment for a persistent Jenkins server, allowing for full control over its configuration, plugins, and integration with GCP services. This setup enables streamlined release pipelines with adequate security configurations for accessing GCP resources, while Compute Engine's managed instance groups can help lower operational toil.

Concept tested: Deploying Jenkins on Google Cloud

Source: https://cloud.google.com/architecture/building-ci-cd-pipelines-with-jenkins-on-gke

Topics

#Jenkins deployment#CI/CD on GCP#Google Compute Engine#Cloud infrastructure

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice