セキュリティ監査により、プロジェクトのIdentity and Access Management(IAM)設定に複数の不整合が見つかりました。一部のサービスアカウントのロール権限が過度に高く、一部の外部協力者には必要以上のアクセス権が付与されています。IAMポリシーの変更、ユーザーアクティビティ、サービスアカウントの動作、機密性の高いプロジェクトへのアクセス状況を詳細に把握する必要があります。どうすればよいでしょうか?
正解:B
To address inconsistencies in your project's Identity and Access Management (IAM) configuration and gain comprehensive visibility into IAM policy changes, user activity, service account behavior, and access to sensitive projects, leveraging Google Cloud's auditing capabilities is essential. * Option A: While Cloud Monitoring's metrics explorer can track certain metrics, it is not designed to provide detailed logs of IAM policy changes or user activities. * Option B: Cloud Audit Logs offer detailed records of administrative activities, including IAM policy changes and authentications. By creating log export sinks, you can forward these logs to a Security Information and Event Management (SIEM) solution, enabling correlation with other event sources and comprehensive analysis. This approach provides the necessary visibility into IAM configurations and user activities. * Option C: Triggering Cloud Functions based on IAM policy changes and analyzing them with a policy simulator is a proactive approach. However, it may not provide the depth of historical data and comprehensive analysis capabilities that a SIEM solution offers. * Option D: Deploying the OS Config Management agent focuses on VM configuration and patch management, which does not directly address IAM policy monitoring or user activity tracking. Therefore, Option B is the most effective solution to gain detailed visibility into IAM-related activities and address the identified inconsistencies. References: Cloud Audit Logs Overview Exporting Logs to a SIEM