CLOUD-SECURITY-ENGINEER practice question 27 of 35

Your company has been creating users manually in Cloud Identity to provide access to Google Cloud resources. Due to continued growth of the…

Full set: 317 questions
Your company has been creating users manually in Cloud Identity to provide access to Google Cloud resources. Due to continued growth of the environment, you want to authorize the Google Cloud Directory Sync (GCDS) instance and integrate it with your on-premises LDAP server to onboard hundreds of users. You are required to: Replicate user and group lifecycle changes from the on-premises LDAP server in Cloud Identity. Disable any manually created users in Cloud Identity. You have already configured the LDAP search attributes to include the users and security groups in scope for Google Cloud. What should you do next to complete this solution?
Answer options
A: 1. Configure the option to suspend domain users not found in LDAP. 2. Set up a recurring GCDS task. Correct answer
B: 1. Configure the option to delete domain users not found in LDAP. 2. Run GCDS after user and group lifecycle changes.
C: 1. Configure the LDAP search attributes to exclude manually created Cloud Identity users not found in LDAP. 2. Set up a recurring GCDS task.
D: 1. Configure the LDAP search attributes to exclude manually created Cloud identity users not found in LDAP. 2. Run GCDS after user and group lifecycle changes.
Correct Answer:
A. 1. Configure the option to suspend domain users not found in LDAP. 2. Set up a recurring GCDS task.
Explanation

The goal is to make the on-premises LDAP server the single source of truth for users and groups while disabling, not deleting, manually created accounts in Cloud Identity. Configuring GCDS to "suspend domain users not found in LDAP" achieves this by deactivating accounts that don't exist in the authoritative source, which is a reversible and safe action. Setting up a recurring GCDS task (e.g., using a cron job or scheduler) ensures that lifecycle changes (new hires, terminations) in LDAP are automatically and continuously replicated to Cloud Identity.

Why Incorrect

B. Deleting users is a permanent action that can lead to data loss if the user owned resources. Suspending is the recommended, safer practice for disabling accounts.
C. Excluding manually created users from the search is the opposite of the requirement; the goal is to find these users and disable them.
D. This option incorrectly suggests excluding the target users and also implies manual sync runs, which is inefficient for ongoing lifecycle management.

References

1. Google Cloud Documentation, "Decide on a user deletion policy," for GCDS states, "You can set up a sync that suspends or deletes Google users that aren't in your LDAP directory... We recommend you suspend users." (support.google.com/a/topic/2679497, specifically in GCDS admin guides)

2. Google Cloud Documentation, "Automate your syncs," for GCDS recommends, "To keep your Google data in sync with your LDAP server, we recommend you automate the sync process... You can use any command-line tool that can run the sync-cmd command." (support.google.com/a/answer/6258335)

Scroll to Top