For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeGCP Professional Cloud ArchitectGCP Professional Cloud Architect Practice Exam 5Question 39
    Medium1 markMultiple Choice
    Subtask 4.1: Technical ProcessesCI/CDCloud BuildDevOps

    GCP PCA · Question 39 · Technical Processes

    You are setting up a CI/CD pipeline using Cloud Build. You want the pipeline to automatically trigger whenever a developer pushes code to the 'main' branch in Cloud Source Repositories. Which TWO components must you configure? (Select TWO)

    Answer options:

    A.

    A Cloud Build Trigger

    B.

    A cloudbuild.yaml configuration file

    C.

    A Cloud Scheduler job

    D.

    A Compute Engine VM to run the build

    E.

    A Cloud Function to parse the git commit

    How to approach this question

    Identify the two essential parts of a Cloud Build setup: the listener and the instructions.

    Full Answer

    To automate CI/CD in GCP, you need a Cloud Build Trigger (which connects to the repository and listens for specific events like a push to a branch) and a `cloudbuild.yaml` file in the repository (which contains the declarative steps for building and deploying the application).

    Common mistakes

    Thinking you need to provision VMs (D) for Cloud Build.
    Question 38All questionsQuestion 40

    Practice the full GCP Professional Cloud Architect Practice Exam 5

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01CASE STUDY: TechStream Gaming Overview: Gaming company, 500 employees, $100M revenue. 200 on-prem...HardQ02CASE STUDY: TechStream Gaming Overview: Gaming company, 500 employees, $100M revenue. 200 on-prem...MediumQ03CASE STUDY: TechStream Gaming Overview: Gaming company, 500 employees, $100M revenue. 200 on-prem...MediumQ04CASE STUDY: TechStream Gaming Overview: Gaming company, 500 employees, $100M revenue. 200 on-prem...MediumQ05CASE STUDY: TechStream Gaming Overview: Gaming company, 500 employees, $100M revenue. 200 on-prem...Easy
    View all 50 questions →