Google Professional Cloud Developer Exam Dumps, Practice Test Questions

100% Latest & Updated Google Professional Cloud Developer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Google Professional Cloud Developer Premium Bundle
$79.97
$59.98

Professional Cloud Developer Premium Bundle

  • Premium File: 379 Questions & Answers. Last update: Dec 4, 2026
  • Training Course: 253 Video Lectures
  • Study Guide: 498 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

Professional Cloud Developer Premium Bundle

Google Professional Cloud Developer Premium Bundle
  • Premium File: 379 Questions & Answers. Last update: Dec 4, 2026
  • Training Course: 253 Video Lectures
  • Study Guide: 498 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

Google Professional Cloud Developer Practice Test 10

Question 90

A GitHub Actions runner outside Google Cloud pushes release artifacts using a long-lived downloaded service-account key. Which safeguard MUST remain in place during and after the correction?

  1. Authorized release workflows can publish while arbitrary fork workflows cannot assume the service identity
  2. Constrain attribute mappings and conditions to approved repositories, branches, and environments
  3. Copy the same long-lived JSON private key into more CI jobs and call that keyless access
  4. Contrast identity federation from exporting a persistent private key

Explanation

Correct Answer

B:

This preserves the essential security or operating boundary: Constrain attribute mappings and conditions to approved repositories, branches, and environments. The reason is: External CI should prefer short-lived federated credentials with restricted trust conditions.

Incorrect Answers

A:

This measures whether the fix works rather than specifying the ongoing constraint: Constrain attribute mappings and conditions to approved repositories, branches, and environments.

C:

Copying the same long-lived JSON private key into more CI jobs and call that keyless access would not address the problem because external CI should prefer short-lived federated credentials with restricted trust conditions. The more relevant step is: Constrain attribute mappings and conditions to approved repositories, branches, and environments. Here, a GitHub Actions runner outside Google Cloud pushes release artifacts using a long-lived downloaded service-account key.

D:

This states a comparison, not the enduring safeguard: Constrain attribute mappings and conditions to approved repositories, branches, and environments.

Question 91

A developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. Which observation should the engineer obtain FIRST to identify the technical condition?

  1. Hard-code an arbitrary production service-account key in the Python source
  2. Configure local ADC appropriately while deploying the production workload with its attached service account
  3. Inspect the CLI identity and the separate Application Default Credentials lookup path
  4. The local client library retrieves credentials and production access uses the intended service identity

Explanation

Correct Answer

C:

Inspecting the CLI identity and the separate Application Default Credentials lookup path is appropriate because client libraries use the ADC chain, which differs from the gcloud CLI login state. Here, a developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC.

Incorrect Answers

A:

Hard-coding an arbitrary production service-account key in the Python source would not address the problem because client libraries use the ADC chain, which differs from the gcloud CLI login state. The more relevant step is: Inspect the CLI identity and the separate Application Default Credentials lookup path. Here, a developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC.

B:

Configuring local ADC appropriately while deploying the production workload with its attached service account is a potential later step, not the cause or baseline requested here. Inspect the CLI identity and the separate Application Default Credentials lookup path.

D:

The local client library retrieves credentials and production access uses the intended service identity does not establish the cause or baseline. Client libraries use the ADC chain, which differs from the gcloud CLI login state.

Question 92

A developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?

  1. Inspect the CLI identity and the separate Application Default Credentials lookup path
  2. Configure local ADC appropriately while deploying the production workload with its attached service account
  3. Do not distribute downloaded personal credential files with project source
  4. Hard-code an arbitrary production service-account key in the Python source

Explanation

Correct Answer

B:

Configuring local ADC appropriately while deploying the production workload with its attached service account is appropriate because it addresses the observed problem because client libraries use the ADC chain, which differs from the gcloud CLI login state.

Incorrect Answers

A:

This is the diagnostic investigation, not the corrective intervention: Configure local ADC appropriately while deploying the production workload with its attached service account.

C:

This preserves a boundary but does not implement the main remedy: Configure local ADC appropriately while deploying the production workload with its attached service account.

D:

Hard-coding an arbitrary production service-account key in the Python source would not address the problem because it addresses the observed problem because client libraries use the ADC chain, which differs from the gcloud CLI login state.

Question 93

A developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. Which measurement or test BEST shows that the proposed correction works?

  1. The local client library retrieves credentials and production access uses the intended service identity
  2. Hard-code an arbitrary production service-account key in the Python source
  3. Distinguish gcloud CLI login credentials from Application Default Credentials used by libraries
  4. Configure local ADC appropriately while deploying the production workload with its attached service account

Explanation

Correct Answer

A:

The local client library retrieves credentials and production access uses the intended service identity is appropriate because it conflicts with the technical condition because client libraries use the ADC chain, which differs from the gcloud CLI login state.

Incorrect Answers

B:

Hard-coding an arbitrary production service-account key in the Python source would not address the problem because it conflicts with the technical condition because client libraries use the ADC chain, which differs from the gcloud CLI login state.

C:

This separates two concepts but does not measure the outcome: The local client library retrieves credentials and production access uses the intended service identity.

D:

This describes an implementation step, not independent evidence of success: The local client library retrieves credentials and production access uses the intended service identity.

Question 94

A developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. Before the change, which TWO steps together establish the diagnosis and preserve a key operating constraint? Choose TWO.

  1. Do not distribute downloaded personal credential files with project source
  2. Hard-code an arbitrary production service-account key in the Python source
  3. The local client library retrieves credentials and production access uses the intended service identity
  4. Inspect the CLI identity and the separate Application Default Credentials lookup path
  5. Configure local ADC appropriately while deploying the production workload with its attached service account

Explanation

Correct Answers

A:

Not distribute downloaded personal credential files with project source is appropriate because client libraries use the ADC chain, which differs from the gcloud CLI login state. Here, a developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. The combined response also requires inspecting the CLI identity and the separate Application Default Credentials lookup path.

D:

Inspecting the CLI identity and the separate Application Default Credentials lookup path is appropriate because client libraries use the ADC chain, which differs from the gcloud CLI login state. Here, a developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. The combined response also requires not distribute downloaded personal credential files with project source.

Incorrect Answers

B:

Hard-coding an arbitrary production service-account key in the Python source would not address the problem because client libraries use the ADC chain, which differs from the gcloud CLI login state. The more relevant step is: Do not distribute downloaded personal credential files with project source. Here, a developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. The combined response also includes not distribute downloaded personal credential files with project source and inspecting the CLI identity and the separate Application Default Credentials lookup path.

C:

The local client library retrieves credentials and production access uses the intended service identity does not establish the starting evidence. Client libraries use the ADC chain, which differs from the gcloud CLI login state.

E:

Configuring local ADC appropriately while deploying the production workload with its attached service account does not establish the starting evidence. Client libraries use the ADC chain, which differs from the gcloud CLI login state.

Question 95

A developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. Diagnosis and authorization are complete. Which THREE steps combine the remedy, acceptance evidence and continuing safeguard? Choose THREE.

  1. The local client library retrieves credentials and production access uses the intended service identity
  2. Configure local ADC appropriately while deploying the production workload with its attached service account
  3. Distinguish gcloud CLI login credentials from Application Default Credentials used by libraries
  4. Hard-code an arbitrary production service-account key in the Python source
  5. Inspect the CLI identity and the separate Application Default Credentials lookup path
  6. Do not distribute downloaded personal credential files with project source

Explanation

Correct Answers

A:

The local client library retrieves credentials and production access uses the intended service identity is appropriate because client libraries use the ADC chain, which differs from the gcloud CLI login state.

B:

Configuring local ADC appropriately while deploying the production workload with its attached service account is appropriate because client libraries use the ADC chain, which differs from the gcloud CLI login state.

F:

Not distribute downloaded personal credential files with project source is appropriate because client libraries use the ADC chain, which differs from the gcloud CLI login state. Here, a developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. The combined response also includes the local client library retrieves credentials and production access uses the intended service identity and configuring local ADC appropriately while deploying the production workload with its attached service account.

Incorrect Answers

C:

Distinguishing gcloud CLI login credentials from Application Default Credentials used by libraries does not establish the specific decision in the question. Client libraries use the ADC chain, which differs from the gcloud CLI login state.

D:

Hard-coding an arbitrary production service-account key in the Python source would not address the problem because client libraries use the ADC chain, which differs from the gcloud CLI login state. The more relevant step is: The local client library retrieves credentials and production access uses the intended service identity. Here, a developer expects `gcloud auth login` alone to configure credentials for a Python Cloud Client Library, but the local program reports missing ADC. The combined response also includes the local client library retrieves credentials and production access uses the intended service identity and configuring local ADC appropriately while deploying the production workload with its attached service account.

E:

Inspecting the CLI identity and the separate Application Default Credentials lookup path does not establish the specific decision in the question. Client libraries use the ADC chain, which differs from the gcloud CLI login state.

Question 96

An image-processing Cloud Run service needs read access to one Cloud Storage bucket, but a proposal grants the project Editor role to the default compute identity. Which observation should the engineer obtain FIRST to identify the technical condition?

  1. Grant Owner to the runtime service account so future API calls never fail
  2. The service reads the target bucket while attempts against unrelated buckets fail
  3. Identify the precise API calls, resource scope, service identity, and required bucket permissions
  4. Attach a user-managed service account with narrowly scoped storage access on the required bucket

Explanation

Correct Answer

C:

Identifying the precise API calls, resource scope, service identity, and required bucket permissions is appropriate because workload identities should receive least privilege for actual resource operations.

Incorrect Answers

A:

Granting Owner to the runtime service account so future API calls never fail would not address the problem because workload identities should receive least privilege for actual resource operations. The more relevant step is: Identify the precise API calls, resource scope, service identity, and required bucket permissions. Here, an image-processing Cloud Run service needs read access to one Cloud Storage bucket, but a proposal grants the project Editor role to the default compute identity.

B:

The service reads the target bucket while attempts against unrelated buckets fail does not establish the cause or baseline. Workload identities should receive least privilege for actual resource operations.

D:

Attaching a user-managed service account with narrowly scoped storage access on the required bucket is a potential later step, not the cause or baseline requested here. Identify the precise API calls, resource scope, service identity, and required bucket permissions.

Question 97

An image-processing Cloud Run service needs read access to one Cloud Storage bucket, but a proposal grants the project Editor role to the default compute identity. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?

  1. Identify the precise API calls, resource scope, service identity, and required bucket permissions
  2. Grant Owner to the runtime service account so future API calls never fail
  3. Avoid privileged default identities and separate deployer rights from runtime rights
  4. Attach a user-managed service account with narrowly scoped storage access on the required bucket

Explanation

Correct Answer

D:

This implements the fix: Attach a user-managed service account with narrowly scoped storage access on the required bucket. It addresses the observed problem because workload identities should receive least privilege for actual resource operations.

Incorrect Answers

A:

This is the diagnostic investigation, not the corrective intervention: Attach a user-managed service account with narrowly scoped storage access on the required bucket.

B:

Granting Owner to the runtime service account so future API calls never fail would not address the problem because it addresses the observed problem because workload identities should receive least privilege for actual resource operations.

C:

This preserves a boundary but does not implement the main remedy: Attach a user-managed service account with narrowly scoped storage access on the required bucket.

Question 98

An image-processing Cloud Run service needs read access to one Cloud Storage bucket, but a proposal grants the project Editor role to the default compute identity. Which measurement or test BEST shows that the proposed correction works?

  1. Contrast resource-scoped IAM on a workload identity with broad project Editor rights
  2. Attach a user-managed service account with narrowly scoped storage access on the required bucket
  3. Grant Owner to the runtime service account so future API calls never fail
  4. The service reads the target bucket while attempts against unrelated buckets fail

Explanation

Correct Answer

D:

The service reads the target bucket while attempts against unrelated buckets fail is appropriate because it conflicts with the technical condition because workload identities should receive least privilege for actual resource operations.

Incorrect Answers

A:

This separates two concepts but does not measure the outcome: The service reads the target bucket while attempts against unrelated buckets fail.

B:

This describes an implementation step, not independent evidence of success: The service reads the target bucket while attempts against unrelated buckets fail.

C:

Granting Owner to the runtime service account so future API calls never fail would not address the problem because it conflicts with the technical condition because workload identities should receive least privilege for actual resource operations.

Question 99

An image-processing Cloud Run service needs read access to one Cloud Storage bucket, but a proposal grants the project Editor role to the default compute identity. Which comparison BEST identifies the technical distinction behind this failure?

  1. Identify the precise API calls, resource scope, service identity, and required bucket permissions
  2. Avoid privileged default identities and separate deployer rights from runtime rights
  3. Contrast resource-scoped IAM on a workload identity with broad project Editor rights
  4. Grant Owner to the runtime service account so future API calls never fail

Explanation

Correct Answer

C:

This separates the mechanisms that matter here: Contrast resource-scoped IAM on a workload identity with broad project Editor rights. The underlying distinction is: Workload identities should receive least privilege for actual resource operations.

Incorrect Answers

A:

Identifying the precise API calls, resource scope, service identity, and required bucket permissions does not establish the failure mechanism. The underlying distinction is: Workload identities should receive least privilege for actual resource operations.

B:

Avoiding privileged default identities and separating deployer rights from runtime rights does not establish the failure mechanism. The underlying distinction is: Workload identities should receive least privilege for actual resource operations.

D:

Granting Owner to the runtime service account so future API calls never fail would not address the problem because the underlying distinction is: Workload identities should receive least privilege for actual resource operations.

Question 100

An image-processing Cloud Run service needs read access to one Cloud Storage bucket, but a proposal grants the project Editor role to the default compute identity. Which safeguard MUST remain in place during and after the correction?

  1. Avoid privileged default identities and separate deployer rights from runtime rights
  2. Contrast resource-scoped IAM on a workload identity with broad project Editor rights
  3. The service reads the target bucket while attempts against unrelated buckets fail
  4. Grant Owner to the runtime service account so future API calls never fail

Explanation

Correct Answer

A:

This preserves the essential security or operating boundary: Avoid privileged default identities and separate deployer rights from runtime rights. The reason is: Workload identities should receive least privilege for actual resource operations.

Incorrect Answers

B:

This states a comparison, not the enduring safeguard: Avoid privileged default identities and separate deployer rights from runtime rights.

C:

This measures whether the fix works rather than specifying the ongoing constraint: Avoid privileged default identities and separate deployer rights from runtime rights.

D:

Granting Owner to the runtime service account so future API calls never fail would not address the problem because workload identities should receive least privilege for actual resource operations. The more relevant step is: Avoid privileged default identities and separate deployer rights from runtime rights. Here, an image-processing Cloud Run service needs read access to one Cloud Storage bucket, but a proposal grants the project Editor role to the default compute identity.

Professional Cloud Developer Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.