A company needs to manage secrets securely in their cloud environment. Which GCP service should they use?
ASecret Manager
BCloud Storage
CIdentity Aware Proxy
DCloud Logging
Explanation
Secret Manager is specifically designed for managing secrets; Cloud Storage is for data storage, Identity Aware Proxy for access control, and Cloud Logging for log management.
Q72
What happens when a request is sent to a non-existent Cloud Function endpoint?
A404 Not Found error
BInternal Server Error
CEmpty response
DAuthorization failure
Explanation
A non-existent endpoint returns a 404 error; Internal Server Error occurs for script issues, Empty response implies no data returned, and Authorization failure is for restricted access.
Q73
Which service allows for serverless application deployment?
ACloud Functions
BCompute Engine
CCloud Storage
DBigQuery
Explanation
Cloud Functions enables event-driven serverless deployment, unlike others which require managed instances or storage.
Q74
A company needs to analyze large datasets in real-time. Which service should they use?
ACloud SQL
BBigQuery
CCloud Datastore
DCloud Spanner
Explanation
BigQuery is optimized for real-time data analysis, while others focus on structured datasets or scalability.
Q75
What happens when you set an IAM policy wrongly granting public access?
ANothing; defaults retain permissions
BPublic access is enabled immediately
CPolicy settings are ignored
DAccess is restricted to the admin
Explanation
Wrongly configured policies can expose resources, making them immediately accessible to the public.
Q76
Which service provides serverless database management on GCP?
ACloud SQL
BCloud Datastore
CBigQuery
DFirestore
Explanation
Firestore is fully serverless, offering automatic scaling while Cloud SQL requires instance configuration, BigQuery is for analytics, and Cloud Datastore focuses on NoSQL.
Q77
A company needs to enable private network communication between resources on Google Cloud. Which service should they use?
ACloud VPN
BVPC Peering
CCloud Interconnect
DCloud Armor
Explanation
VPC Peering allows private communication between different VPCs, whereas the others serve different networking functions.
Q78
What happens when you delete a Google Cloud Storage bucket?
AIt is stored in a recovery state.
BAll objects are permanently deleted.
CIt cannot be restored after 30 days.
DOnly objects with versions are deleted.
Explanation
Deleting a bucket removes all objects immediately and permanently, while the other options are incorrect in describing the deletion process.
Q79
Which service is used for serverless application development on Google Cloud?
ACloud Functions
BCompute Engine
CApp Engine
DCloud Run
Explanation
Cloud Functions enables serverless execution, unlike the other options which involve more management.
Q80
A company needs to analyze large datasets in real-time. Which Google Cloud service should they use?
ABigQuery
BPub/Sub
CDataflow
DDataproc
Explanation
Dataflow is designed for real-time streaming data processing, while the others serve different purposes.