nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #200

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #200: Real Exam Question with Answer & Explanation

The correct answer is C: Create the secret with a user-managed replication policy.. The error occurs because the organization policy enforces a location constraint that restricts resources to U.S.-based regions, and Secret Manager’s global replication policy violates this constraint. To comply with regulations and resolve the error, you should use a user-managed

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

Question

You work for a healthcare company and regulations require you to create all resources in a United States-based region. You attempted to create a secret in Secret Manager but received the following error message: Constraint constraints/gcp.resourceLocations violated for [orgpolicy:projects/000000] attempting to create a secret in [global] You need to resolve the error while remaining compliant with regulations. What should you do?

Options

  • ARemove the organization policy referenced in the error message.
  • BCreate the secret with an automatic replication policy.
  • CCreate the secret with a user-managed replication policy.
  • DAdd the global region to the organization policy referenced in the error message.

Explanation

The error occurs because the organization policy enforces a location constraint that restricts resources to U.S.-based regions, and Secret Manager’s global replication policy violates this constraint. To comply with regulations and resolve the error, you should use a user-managed replication policy specifying only U.S. regions, such as or us-east1. This ensures regulatory compliance while allowing the secret to be created within an allowed region.

Topics

#Secret Manager#Organization Policy#Resource Location Constraint#Replication Policy

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER PracticeBrowse All PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Questions