nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #266

Your continuous integration and delivery (CI/CD) server can't execute Google Cloud actions in a specific project because of permission issues. You need to validate whether the used service account…

The correct answer is A. Open the Google Cloud console, and check the Identity and Access Management (IAM) roles. To validate if a service account has appropriate roles for Google Cloud actions, you should directly inspect the IAM roles assigned to that service account within the specific project in the Google Cloud console.

Submitted by luis.pe· Mar 30, 2026Configuring access and security

Question

Your continuous integration and delivery (CI/CD) server can't execute Google Cloud actions in a specific project because of permission issues. You need to validate whether the used service account has the appropriate roles in the specific project. What should you do?

Options

  • AOpen the Google Cloud console, and check the Identity and Access Management (IAM) roles
  • BOpen the Google Cloud console, and check the organization policies.
  • COpen the Google Cloud console, and run a query to determine which resources this service
  • DOpen the Google Cloud console, and run a query of the audit logs to find permission denied

How the community answered

(42 responses)
  • A
    90% (38)
  • B
    2% (1)
  • C
    5% (2)
  • D
    2% (1)

Why each option

To validate if a service account has appropriate roles for Google Cloud actions, you should directly inspect the IAM roles assigned to that service account within the specific project in the Google Cloud console.

AOpen the Google Cloud console, and check the Identity and Access Management (IAM) rolesCorrect

The most direct and effective way to validate if a service account has the appropriate roles for a specific project is to navigate to the Identity and Access Management (IAM) section in the Google Cloud console and examine the roles granted to that service account.

BOpen the Google Cloud console, and check the organization policies.

Organization policies define constraints across resources but do not directly show the specific roles assigned to a service account within a project, which is necessary to validate its permissions.

COpen the Google Cloud console, and run a query to determine which resources this service

While understanding resource access is important, this option is vague and not the primary method to check assigned roles for a service account; checking IAM roles directly is more efficient.

DOpen the Google Cloud console, and run a query of the audit logs to find permission denied

Reviewing audit logs for 'permission denied' errors will confirm that there are permission issues, but it does not directly show the roles assigned to the service account, which is what needs to be validated.

Concept tested: Verifying IAM permissions for service accounts

Source: https://cloud.google.com/iam/docs/overview

Topics

#service accounts#IAM roles#permission validation#CI/CD

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice