PCD Integrating Google Cloud services • Complete Question Bank
Complete PCD Integrating Google Cloud services question bank — all 0 questions with answers and detailed explanations.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Declares desired state for pods and ReplicaSets
Stable network endpoint to access pods
HTTP(S) load balancer for external access
Store non-sensitive configuration data
Store sensitive data like passwords or keys
Drag a concept onto its matching description — or click a concept then click the description.
NoSQL document database with real-time sync
Backend service for user sign-in
Send push notifications across platforms
Change app behavior without publishing updates
Measure app performance from the user's perspective
Refer to the exhibit. ``` $ gcloud compute instances list --filter='labels.env=prod' Listed 0 items. ``` The developer knows there are instances with label env=prod.
Refer to the exhibit.
```json
{
"bindings": [
{
"role": "roles/storage.objectAdmin",
"members": ["serviceAccount:sa-1@project.iam.gserviceaccount.com"]
},
{
"role": "roles/storage.objectViewer",
"members": ["serviceAccount:sa-1@project.iam.gserviceaccount.com"]
}
]
}
```Refer to the exhibit. Environment variables: FOO: bar DB_PASS: mypassword
gcloud run services get-iam-policy my-service --region=us-central1 Output: bindings: - members: - allUsers role: roles/run.invoker - members: - serviceAccount:my-sa@project.iam.gserviceaccount.com role: roles/run.viewer etag: BwXz...
resource "google_cloudfunctions_function" "function" {
name = "my-function"
runtime = "python39"
entry_point = "hello_world"
source_archive_bucket = google_storage_bucket.bucket.name
source_archive_object = "function.zip"
event_trigger {
event_type = "google.storage.object.finalize"
resource = google_storage_bucket.bucket.name
}
vpc_connector = google_vpc_access_connector.connector.id
vpc_connector_egress_settings = "ALL_TRAFFIC"
environment_variables = {
DB_HOST = "10.0.0.4"
}
}{
"name": "projects/my-project/subscriptions/my-sub",
"topic": "projects/my-project/topics/my-topic",
"pushConfig": {
"pushEndpoint": "https://my-service.run.app/",
"oidcToken": {
"serviceAccountEmail": "my-sa@my-project.iam.gserviceaccount.com",
"audience": "https://my-service.run.app/"
}
},
"ackDeadlineSeconds": 10
}{
"resource.type": "cloud_run_revision",
"severity": "ERROR",
"textPayload": "Error: [project:us-central1:myinstance] cannot connect: connection refused"
}