A company needs to analyze large datasets with high throughput on Google Cloud. Which service is the most suitable?
ACloud Storage
BBigQuery
CDataflow
DCloud Pub/Sub
Explanation
BigQuery is optimized for large-scale analytics, unlike the others which focus on storage or messaging.
Q72
You are configuring IAM roles in Google Cloud and want to restrict access to a specific resource. What is the best practice?
AUse predefined roles only
BAssign roles at the project level
CCreate custom roles as needed
DAvoid using IAM roles
Explanation
Creating custom roles allows for precise access control tailored to specific resource needs, whereas the other options can lead to excessive permissions.
Q73
Which service is best for scalable messaging on Google Cloud?
ACloud Pub/Sub
BCloud Functions
CCloud Tasks
DCloud Storage
Explanation
Cloud Pub/Sub is designed for scalable messaging while the others serve different purposes.
Q74
A company needs to implement VPC peering between two projects. What must be done first?
AEnable the IAM role
BCreate a new VPC
CShare project IDs
DConfigure IP ranges
Explanation
IP ranges must not overlap for VPC peering to work properly, while the others are prerequisites that may vary.
Q75
You are configuring Cloud Identity-Aware Proxy. What happens if you disable a user's access?
AAccess to all apps disabled
BCloud IAP settings reset
CAudit logs are cleared
DUser can access logs still
Explanation
Disabling a user's access from IAP removes their access to all apps protected by IAP, whereas other options are incorrect actions or implications.
Q76
Which Google Cloud service is best for running serverless applications?
ACloud Functions
BCompute Engine
CCloud Run
DApp Engine
Explanation
Cloud Functions allows for event-driven code execution without managing servers; Compute Engine offers VMs, Cloud Run is for containers, and App Engine is also serverless for web apps.
Q77
A company needs to store sensitive user data securely. Which storage option should they consider?
AGoogle Drive
BCloud Storage with encryption
CBigQuery without encryption
DPersistent Disk with public access
Explanation
Cloud Storage with encryption ensures data is securely stored, while the other options either lack security or allow public access.
Q78
What happens when a GCP network firewall rule is set to DENY all?
AOnly HTTP traffic is allowed
BAll traffic is blocked
CDefault rules are prioritized
DOnly internal traffic is allowed
Explanation
A DENY all rule blocks all traffic unless overridden by another rule; the other options output inconsistent behavior regarding traffic management.
Q79
Which service should you use for serverless analytics?
ABigQuery
BCompute Engine
CKubernetes Engine
DCloud Functions
Explanation
BigQuery is designed for serverless analytics, while the others are compute services.
Q80
A company needs to securely share files across a multi-cloud environment. Which Google Cloud service should they use?
ACloud Storage
BCloud Pub/Sub
CBigQuery
DCloud Datastore
Explanation
Cloud Storage allows secure file sharing, unlike the others which serve different purposes.