What happens when you enable audit logging for a Google Cloud project?
ALogs all user actions.
BAutomatically triggers alerts.
CLogs system metrics.
DNo impact on performance.
Explanation
Audit logging tracks user actions, while others do not accurately describe audit functionality.
Q292
A company needs to deploy a scalable web application. Which Google Cloud service should they primarily use?
AGoogle App Engine
BGoogle Sheets
CGoogle Compute Engine
DGoogle Cloud IoT Core
Explanation
Google App Engine is a platform for developing and hosting web applications that automatically scales based on traffic. The other options do not provide the same level of automatic scaling for web applications.
Q293
What happens when you set a Google Cloud Storage bucket to 'Uniform' access control?
AIndividual object-level permissions only
BAll objects inherit bucket's permissions
CNo access is granted to anyone
DIt's publicly accessible by default
Explanation
Uniform access control means that permissions at the bucket level apply to all objects within that bucket. The other options incorrectly describe the behaviors of access permissions.
Q294
You are configuring a Cloud Pub/Sub topic. What is the maximum message size that can be published to a topic?
A256 KB
B1 MB
C10 MB
D5 MB
Explanation
Cloud Pub/Sub allows a maximum message size of 1 MB for published messages. Other options exceed or do not meet this predefined limit.
Q295
Which service is primarily used for serverless application development in Google Cloud?
ACloud Functions
BApp Engine
CCloud Run
DCompute Engine
Explanation
Cloud Run is used for serverless applications based on containers, while Cloud Functions and App Engine also support serverless but differently.
Q296
A company needs to analyze large datasets and view results immediately. Which service should they use?
ABigQuery
BDataflow
CCloud Storage
DSpanner
Explanation
BigQuery is a data warehouse designed for real-time analytics, unlike Dataflow, which is for stream processing with dependency on other services.
Q297
You are configuring IAM roles for a project. What happens if you grant a user the role of 'Viewer' in a parent organization?
AUser can view all resources.
BUser can view resources only in the project.
CUser can modify resources.
DUser cannot access any resources.
Explanation
Granting 'Viewer' at the organization level allows access to view all resources under that organization, while other options misunderstand IAM hierarchy.
Q298
Which Google Cloud service provides serverless compute capabilities?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Functions is designed for event-driven serverless workloads, while others support different compute models.
Q299
A company needs to securely store sensitive data in transit. Which should they implement?
AIAM Roles
BCloud Pub/Sub
CCloud Armor
DVPC network encryption
Explanation
VPC network encryption protects data in transit, unlike the other options which address different needs.
Q300
What happens when you enable Autoscaling on a managed instance group?
AInstances are permanently deleted
BMore instances are added based on load
CCost increases significantly
DInstance types change automatically
Explanation
Autoscaling automatically adjusts the number of instances based on the load metrics, contrary to the other options.