exam questions

Exam Professional Cloud Security Engineer All Questions

View all questions & answers for the Professional Cloud Security Engineer exam

Exam Professional Cloud Security Engineer topic 1 question 205 discussion

Actual exam question from Google's Professional Cloud Security Engineer
Question #: 205
Topic #: 1
[All Professional Cloud Security Engineer Questions]

You are running applications outside Google Cloud that need access to Google Cloud resources. You are using workload identity federation to grant external identities Identity and Access Management (IAM) roles to eliminate the maintenance and security burden associated with service account keys. You must protect against attempts to spoof another user's identity and gain unauthorized access to Google Cloud resources.

What should you do? (Choose two.)

  • A. Enable data access logs for IAM APIs.
  • B. Limit the number of external identities that can impersonate a service account.
  • C. Use a dedicated project to manage workload identity pools and providers.
  • D. Use immutable attributes in attribute mappings.
  • E. Limit the resources that a service account can access.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Xoxoo
Highly Voted 1 year, 1 month ago
Selected Answer: CD
Best practices for protecting against spoofing threats: Use a dedicated project to manage workload identity pools and providers. Use organizational policy constraints to disable the creation of workload identity pool providers in other projects. Use a single provider per workload identity pool to avoid subject collisions. Avoid federating with the same identity provider twice. Protect the OIDC metadata endpoint of your identity provider. Use the URL of the workload identity pool provider as audience. Use immutable attributes in attribute mappings. Use non-reusable attributes in attribute mappings. Don't allow attribute mappings to be modified. Don't rely on attributes that aren't stable or authoritative. Therefore, Option C and D are correct
upvoted 7 times
Nachtwaker
7 months, 3 weeks ago
Agree, See https://cloud.google.com/iam/docs/best-practices-for-using-workload-identity-federation#protecting_against_spoofing_threats Because CD is in the list and E is not, preferred CD
upvoted 1 times
...
...
desertlotus1211
Most Recent 8 months, 4 weeks ago
D,E is correct Immutable attributes in the attribute mappings ensure that the identity information provided by the external identity provider cannot be easily altered. T By applying the principle of least privilege, limiting the resources a service account can access ensures that even if an external identity is compromised or misconfigured, the potential impact is minimized.
upvoted 1 times
...
cyberpunk21
1 year, 2 months ago
Selected Answer: CD
CD looks good to me
upvoted 1 times
...
anshad666
1 year, 2 months ago
Selected Answer: CD
https://cloud.google.com/iam/docs/best-practices-for-using-workload-identity-federation#protecting_against_spoofing_threats
upvoted 1 times
...
alkaloid
1 year, 2 months ago
Selected Answer: CD
https://cloud.google.com/iam/docs/best-practices-for-using-workload-identity-federation
upvoted 1 times
...
pfilourenco
1 year, 2 months ago
Selected Answer: CD
C & D - https://cloud.google.com/iam/docs/best-practices-for-using-workload-identity-federation#protecting_against_spoofing_threats
upvoted 2 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago