Associate Cloud Workspace Administrator · Free Practice Question Medium

Question 33

The company has a custom internal messaging app that requires access to the Google Workspace Directory API to retrieve user details. However, as a Google Workspace Super Admin, you need to ensure this app doesn't have unnecessary access to other Workspace services. What is the most appropriate action to take?

  • A

    Implement OAuth 2.0 Client IDs with restricted scopes for the messaging app.

  • B

    Restrict the internal messaging app to read-only access using the Directory API.

  • C

    Allow full API access to all Google Workspace services for the internal messaging app.

  • D

    Block all API access to Google Workspace services for third-party apps.

Reveal correct answer

Correct answer: A

A. Implementing OAuth 2.0 Client IDs with restricted scopes for the messaging app is the most appropriate action to ensure that the app only has access to the specific Google Workspace Directory API and not unnecessary access to other Workspace services. This way, you can control and limit the permissions granted to the app, enhancing security and minimizing potential risks.

B. Restricting the internal messaging app to read-only access using the Directory API may limit its functionality and prevent it from performing necessary operations beyond reading user details. This approach may not be the most appropriate action as it could hinder the app's capabilities and potentially impact its usability.

C. Allowing full API access to all Google Workspace services for the internal messaging app would grant unnecessary and potentially risky access to services that the app does not require. This approach goes against the principle of least privilege and could expose sensitive data or functionalities to the app that it does not need.

D. Blocking all API access to Google Workspace services for third-party apps, including the internal messaging app, would prevent the app from accessing the necessary Directory API to retrieve user details. This action would be too restrictive and could disrupt the app's functionality, making it unable to perform its intended tasks.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need