Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
An organization is configuring a secure telemetry and log collection architecture in Google Cloud to support auditing and compliance requirements. A dedicated automated service account needs to record operational activity and write log data directly into Cloud Logging while adhering to the principle of least privilege.
Which Identity and Access Management (IAM) permission must be granted to the service account to allow it to write log entries?
datamigration.locations.fetchStaticIps is and doesThe datamigration.locations.fetchStaticIps permission belongs to the Database Migration Service (DMS) and allows users or services to retrieve the static public IP addresses allocated for database migration communication.
datamigration.googleapis.com service domain.An administrator needed to determine the source IP addresses of Google Cloud database migration workers to configure firewall allowlists on an external or on-premises source database.
Database migrations often generate logs, but the migration service itself relies on standard logging roles to export operational logs to Cloud Logging.
monitoring.timeSeries.create is and doesThe monitoring.timeSeries.create permission is part of Cloud Monitoring (formerly Stackdriver Monitoring) and grants identities the ability to publish and write numerical metric data points (time series metrics) rather than textual or structured log entries.
monitoring.googleapis.com API rather than the logging.googleapis.com API.The scenario required an agent or application to submit custom performance metrics and numeric measurements to Cloud Monitoring dashboards and alerting policies.
While Cloud Monitoring and Cloud Logging are closely integrated components of Google Cloud's operations suite, IAM permissions for metrics and logs are managed through distinct permission namespaces.
artifactregistry.files.download is and doesThe artifactregistry.files.download permission is an Artifact Registry IAM permission that allows users and systems to download package files, container layers, and build artifacts stored in registry repositories.
artifactregistry.googleapis.com permission scope.A compute instance or deployment pipeline required authorization to pull container image layers or binary dependencies from a private Artifact Registry repository.
Although actions in Artifact Registry generate audit logs that can be routed and exported, permissions governing artifact storage access are entirely separate from permissions that write entries into Cloud Logging.
logging.logEntries.create isThe logging.logEntries.create permission is the granular Google Cloud Identity and Access Management (IAM) permission that allows a principal or service account to ingest and write individual log entries directly to Cloud Logging.
logging.logEntries.create (or predefined roles that bundle it, such as Logs Writer), administrators ensure that automated service accounts cannot read, modify, or delete existing log records or alter log sinks and log routing configurations.Granting logging.logEntries.create satisfies the exact functional requirement of sending log data while strictly adhering to the security best practice of least privilege.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated