You are on the data governance team and are implementing security requirements to deploy resources. You need to ensure that resources are limited to only the europe-west3 region. You want to follow Google-recommended practices.
What should you do?
A.
Set the constraints/gcp.resourceLocations organization policy constraint to in:europe-west3-locations.
B.
Deploy resources with Terraform and implement a variable validation rule to ensure that the region is set to the europe-west3 region for all resources.
C.
Set the constraints/gcp.resourceLocations organization policy constraint to in:eu-locations.
D.
Create a Cloud Function to monitor all resources created and automatically destroy the ones created outside the europe-west3 region.
- The constraints/gcp.resourceLocations organization policy constraint is used to define where resources in the organization can be created.
- Setting it to in:europe-west3-locations would specify that resources can only be created in the europe-west3 region.
B, D
B - Increase the Cloud Composer 2 environment size from medium to large.
Increasing the environment size will provide more resources (including memory) to the entire environment, which should help mitigate memory usage issues. This will also support scaling if the jobs demand more resources.
D. Increase the memory available to the Airflow workers.
Increasing memory for Airflow workers will directly address the memory usage issue that's causing the pod evictions. By allocating more memory to the workers, they can handle larger tasks or more intensive workloads without failing due to memory constraints.
Set the constraints/gcp.resourceLocations organization policy constraint to in:europe-west3-locations.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
raaad
Highly Voted 10 months, 3 weeks agoSanjeevRoy91
8 months agochrissamharris
Most Recent 2 months agohrishi19
4 days, 19 hours agoJyoGCP
9 months agoMatt_108
10 months, 1 week agoscaenruy
10 months, 3 weeks ago