Integrating On-Premises Active Directory with Google Cloud IAM

PCSE By islever Editorial Last updated

Managing service accounts. Managing and implementing authorization controls.

Short answer

CD Install Google Cloud Directory Sync to synchronize Active Directory users and groups to Cloud Identity, and create Identity and Access Management (IAM) roles with permissions corresponding to each Active Directory group.

Question

Your company plans to move most of its IT infrastructure to Google Cloud. They want to leverage their existing on-premises Active Directory as an identity
provider for Google Cloud. Which two steps should you take to integrate the company's on-premises Active Directory with Google Cloud and configure access
management? (Choose two.)
  1. Use Identity Platform to provision users and groups to Google Cloud.
  2. Use Cloud Identity SAML integration to provision users and groups to Google Cloud.
  3. Install Google Cloud Directory Sync and connect it to Active Directory and Cloud Identity. Correct Answer
  4. Create Identity and Access Management (IAM) roles with permissions corresponding to each Active Directory group. Correct Answer
  5. Create Identity and Access Management (IAM) groups with permissions corresponding to each Active Directory group.

Key Takeaways

The main trap is confusing authentication protocols (SAML) with identity synchronization and authorization. GCDS is required to sync the object directory, while IAM Roles define the actual permissions.

Learn how to integrate on-premises Active Directory with Google Cloud using Google Cloud Directory Sync (GCDS) and configure access management by mapping IAM roles to synchronized groups.

Common mistake: Choosing SAML integration (B) instead of GCDS. SAML handles single sign-on (authentication) but does not sync user/group objects or manage granular cloud resource permissions (authorization).

Expert Analysis

The question asks for the two steps to integrate on-premises Active Directory (AD) with Google Cloud and configure access management. This involves two distinct phases: identity synchronization and authorization configuration.

First, to make AD users and groups available in Google Cloud, you must synchronize them. Google Cloud Directory Sync (GCDS) is the standard tool for this purpose, allowing administrators to sync user and group data from an on-premises AD to Cloud Identity. Without this step, the identities do not exist in the Google Cloud environment to be granted permissions. Therefore, installing GCDS is a necessary prerequisite.

Second, once the groups are synced, you need to grant them access. In Google Cloud, permissions are assigned via IAM Roles. You assign these roles to specific groups (which were synced from AD). Option D correctly describes creating IAM roles with permissions corresponding to each AD group. Note that while you assign roles to groups, you don't necessarily "create" new IAM groups if the synced AD groups suffice, but you do define the IAM policies/roles binding those groups to resources.

Let's evaluate the distractors:

  • A: Identity Platform is for custom app authentication, not enterprise AD integration.
  • B: SAML integration handles authentication (SSO), but it does not sync user/group objects or handle authorization/access management directly. The question asks for both integration AND access management.
  • E: Creating IAM groups is redundant if GCDS is syncing AD groups. Furthermore, IAM itself doesn't have "groups" in the same way; it uses resource hierarchy and policy bindings. The term "IAM groups" is often confused with Cloud Identity groups. Even if interpreted as Cloud Identity groups, GCDS handles the creation/syncing, so manually creating them contradicts the sync process. More importantly, option D focuses on the permission assignment (Roles), which is the core of "access management".

Comparing C/D vs C/E: Commenters debate whether to create IAM groups or roles. Google's architecture emphasizes syncing AD groups via GCDS and then assigning IAM Roles to those groups. Option D explicitly mentions creating IAM roles corresponding to AD groups, which is the correct mechanism for defining access. Option E suggests creating IAM groups, which is less precise terminology and potentially redundant with the sync. The most robust answer pair is synchronizing the identity (C) and defining the access controls via roles (D). However, many exam guides and community votes favor C and E, interpreting "IAM groups" loosely as the target for role assignment. Let's look closer at official documentation. GCDS syncs to Cloud Identity. Access is managed by binding IAM Roles to members (users/groups). Option D says "Create IAM roles... corresponding to each AD group". This implies defining the permission set. Option E says "Create IAM groups... corresponding to each AD group". Since GCDS syncs the groups, you don't create them in GCP manually. You assign roles TO them. Therefore, D is technically more accurate regarding the "Access Management" part (defining the Role). However, some interpretations might view "creating IAM groups" as setting up the structure. Let's re-read carefully. "Configure access management". If I use GCDS, the groups exist. I then need to give them permissions. I do this by creating/updating IAM Policies that bind Roles to those Groups. Option D says "Create IAM roles...". You create Roles once and bind them. Option E says "Create IAM groups...". You don't create them; they are synced. Thus, D is logically superior to E for the second step. Wait, looking at common PCSE questions, the "trick" is often that GCDS syncs the accounts, and then you map them. Is there a better option? B is only auth. A is wrong. So it's between CD and CE. Given GCDS syncs groups, creating IAM groups (E) is redundant/wrong. Creating IAM roles (D) is part of the setup. Therefore, C and D is the strongest technical fit.

However, let's consider the source answer key usually provided in such dumps. Often, these exams conflate terms. But strictly speaking, GCDS + IAM Roles is the correct pattern. Let's check if "IAM Groups" is a valid concept in the context of the exam. In Google Cloud, you attach policies to groups. These groups come from Cloud Identity. If GCDS syncs them, they are there. You don't create them. So E is incorrect. D is correct because you define the roles that grant the permissions.

Therefore, the correct steps are: Install GCDS (C) and Create IAM Roles corresponding to the AD groups (D).

Official Reference

Exam Strategy

When asked about integrating on-premises directories, always look for synchronization tools like GCDS first. Then, distinguish between Authentication (how users log in, e.g., SAML/OIDC) and Authorization (what they can do, e.g., IAM Roles/Policies). For 'access management', focus on Roles and Policies, not just login methods.

Frequently Asked Questions

Does GCDS sync users and groups?

Yes, Google Cloud Directory Sync (GCDS) synchronizes user and group objects from your on-premises Active Directory to Cloud Identity.

What is the difference between IAM Roles and IAM Groups?

IAM Groups are collections of users used for managing permissions. IAM Roles are sets of permissions. You assign Roles to Groups to grant access.

Can I use SAML for access management?

No, SAML is an authentication protocol for Single Sign-On. It verifies identity but does not define what resources a user can access in Google Cloud.

More PCSE FAQ →

Community Votes

C
47%
D
28%
E
19%
B
6%

47% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 24 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 24

  1. GHOST1985 👍 9
    https://cloud.google.com/architecture/identity/federating-gcp-with-active-directory-synchronizing-user-accounts?hl=en https://cloud.google.com/architecture/identity/federating-gcp-with-active-directory-synchronizing-user-accounts?hl=en#deciding_where_to_deploy_gcds
  2. AwesomeGCP 👍 7
    C. Install Google Cloud Directory Sync and connect it to Active Directory and Cloud Identity. E. Create Identity and Access Management (IAM) groups with permissions corresponding to each Active Directory group.
  3. aygitci 👍 6
    Not Ek as the groups are already synced and retrieved, so roles will be attached to them
  4. tauseef71 👍 4
    CD is the right answer. C> sync with AD user and groups ; D> give users and groups the roles in IAM.
  5. Mithung30 👍 4
    CD is correct
Show 19 more comments
  1. a190d62 👍 3
    There is a possibility to synchronize groups between AD and Google Cloud so why not to use it and focus on creating roles https://cloud.google.com/architecture/identity/federating-gcp-with-active-directory-introduction?hl=en#mapping_groups
  2. PhuocT 👍 3
    C and D I think, we don't need to create group, as it will be synced from AD, we only need to focus on creating the role for the group.
  3. PTC231 👍 2
    ANSWER C and E C. Install Google Cloud Directory Sync and connect it to Active Directory and Cloud Identity: Google Cloud Directory Sync (GCDS) is used to synchronize user and group information from on-premises Active Directory to Google Cloud Identity. This step ensures that user and group information is consistent across both environments. E. Create Identity and Access Management (IAM) groups with permissions corresponding to each Active Directory group: Once the synchronization is set up, you can create IAM groups in Google Cloud that mirror the Active Directory groups. Assign permissions to these IAM groups based on the roles and access levels required for each group. This approach simplifies access management by aligning Google Cloud permissions with existing Active Directory groups.
  4. BPzen 👍 2
    Google Cloud Directory Sync (GCDS): Synchronizes user and group data from on-premises Active Directory to Cloud Identity, which is essential for enabling Active Directory as an identity provider. IAM Groups: Google Cloud IAM groups allow permissions to be managed collectively for a group of users. By aligning IAM groups with Active Directory groups, you can streamline access management across Google Cloud resources.
  5. Bettoxicity 👍 2
    CD Why not E?: IAM groups in Google Cloud are separate entities from IAM roles. While you could create IAM groups that mirror Active Directory groups, directly mapping permissions to IAM roles based on the corresponding Active Directory groups offers a more efficient and granular approach to access control.
  6. Roro_Brother 👍 2
    GCDS is already creating the groups automatically. We need to create the IAM roles to assign to those groups. So D, not E
  7. glb2 👍 2
    Answer is C and D.
  8. theereechee 👍 2
    I meant C and D
  9. AzureDP900 👍 2
    CE sounds good
  10. BPzen 👍 1
    To integrate on-premises Active Directory with Google Cloud for identity and access management, you need to synchronize your Active Directory users and groups with Google Cloud and map them to appropriate IAM permissions. C. Install Google Cloud Directory Sync and connect it to Active Directory and Cloud Identity. Google Cloud Directory Sync (GCDS) is used to synchronize users and groups from an on-premises Active Directory to Cloud Identity or Google Workspace. This ensures that user accounts and group memberships in Google Cloud mirror the structure of your Active Directory. E. Create Identity and Access Management (IAM) groups with permissions corresponding to each Active Directory group. After synchronizing groups from Active Directory to Google Cloud, you create IAM groups in Google Cloud and assign the appropriate permissions. Using IAM groups simplifies access control by allowing permissions to be managed at the group level instead of the user level.
  11. Test114 👍 1
    How about BE? https://cloud.google.com/architecture/identity/federating-gcp-with-active-directory-introduction "Single sign-on: Whenever a user needs to authenticate, Google Cloud delegates the authentication to Active Directory by using the Security Assertion Markup Language (SAML) protocol."
  12. theereechee 👍 1
    GCDS is required to sync users and groups. Once these get synced, you don't need E anymore because the groups will already be available in cloud identity. The next thing will be to map (create) roles to the groups already available in Active Directory.
  13. GHOST1985 👍 1
    C: Answer C : https://cloud.google.com/architecture/identity/federating-gcp-with-active-directory-synchronizing-user-accounts?hl=en
  14. gkarthik1919 👍 1
    CE are seems to be coorect. B is required only for SSO. GCDS would also provision user and group.
  15. desertlotus1211 👍 1
    Answers: B & C... There is NO such thing as IAM groups in GCP
  16. irmingard_examtopics 👍 1
    D is incorrect, why would groups be mapped to custom roles.
  17. rotorclear 👍 1
    Roles should be provided by Auth provider
  18. AzureDP900 👍 1
    CE is right, u need to select 2 answers
  19. 1209apl 👍 1
    Agree: C & E.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to PCSE Study Guide