A company needs to quickly analyze large data sets in real-time. Which service should they use?
ABigQuery
BCloud Pub/Sub
CDataproc
DCloud Functions
Explanation
BigQuery is optimized for real-time analytics on large volumes of data, unlike the other options.
Q192
What happens when you apply an IAM policy that denies all users access to a specific resource?
AAccess is granted to all users
BOnly specified users retain access
CAll users are denied access
DNo effect on permissions
Explanation
IAM policies that deny permissions override any allow permission, denying all users access.
Q193
Which service is best for serverless background processing?
ACloud Functions
BCloud Run
CCompute Engine
DApp Engine
Explanation
Cloud Functions is specifically designed for event-driven, serverless processing, whereas the others are not solely focused on background tasks.
Q194
A company needs to grant temporary access to a third-party vendor for its GCP resources. What is the best approach?
AUse an IAM role with policies
BShare service account key
CCreate a public access bucket
DAdd them to the billing account
Explanation
Using an IAM role with specific policies allows for controlled and temporary access, while the other options compromise security.
Q195
What happens when you upgrade a Cloud SQL instance to a new version?
AInstant upgrade without downtime
BAutomatic backup created beforehand
CData is lost during the upgrade
DOnly minor versions can be upgraded
Explanation
An automatic backup is created before an upgrade to prevent data loss, while other options either misrepresent the process or are incorrect.
Q196
Which service can automatically scale based on demand?
AGoogle Kubernetes Engine
BGoogle Cloud Functions
CGoogle Cloud SQL
DGoogle Cloud Storage
Explanation
Google Kubernetes Engine can manage scaling, while others lack auto-scaling for container orchestration.
Q197
A company needs to ensure its API is protected from DDoS attacks. Which service should they implement?
AGoogle Cloud Armor
BGoogle Cloud CDN
CGoogle Identity Platform
DGoogle Cloud Pub/Sub
Explanation
Google Cloud Armor provides DDoS protection; the others serve different purposes.
Q198
You are configuring IAM roles in your project. What happens if a user has both a basic role and a custom role?
ACustom role permissions override basic.
BBasic role permissions override custom.
CBoth roles are ineffective.
DPermissions are combined.
Explanation
Permissions from both roles are evaluated and combined, granting all.
Q199
Which service is best suited for serverless computing in GCP?