Google (PCA) Exam Questions And Answers page 16
You have found an error in your App Engine application caused by missing Cloud Datastore indexes. You have created a YAML file with the required indexes and want to deploy these new indexes to Cloud Datastore. What should you do?
Upload the configuration file to App Engine s default Cloud Storage bucket, and have App Engine detect the new indexes
In the GCP Console, use Datastore Admin to delete the current indexes and upload the new configuration file
Create an HTTP request to the built-in python module to send the index configuration file to your application
Managing and provisioning a cloud solution infrastructure
Designing for security and compliance
You need to deploy an application on Google Cloud that must run on a Debian Linux environment. The application requires extensive configuration in order to operate correctly. You want to ensure that you can install Debian distribution updates with minimal manual intervention whenever they become available. What should you do?
Create a Compute Engine instance template using the most recent Debian image. Create an instance from this template, and install and configure the application as part of the startup script. Repeat this process whenever a new Google-managed Debian image becomes available.
Create a Debian-based Compute Engine instance, install and configure the application, and use OS patch management to install available updates.
Create an instance with the latest available Debian image. Connect to the instance via SSH, and install and configure the application on the instance. Repeat this process whenever a new Google-managed Debian image becomes available.
Create a Docker container with Debian as the base image. Install and configure the application as part of the Docker image creation process. Host the container on Google Kubernetes Engine and restart the container whenever a new update is available.
Designing and planning a cloud solution architecture
Managing and provisioning a cloud solution infrastructure
You need to deploy an application to Google Cloud. The application receives traffic via TCP and reads and writes data to the filesystem. The application does not support horizontal scaling. The application process requires full control over the data on the file system because concurrent access causes corruption. The business is willing to accept a downtime when an incident occurs, but the application must be available 24/7 to support their business operations. You need to design the architecture of this application on Google Cloud. What should you do?
Use a managed instance group with instances in multiple zones, use Cloud Filestore, and use an HTTP load balancer in front of the instances.
Use a managed instance group with instances in multiple zones, use Cloud Filestore, and use a network load balancer in front of the instances.
Use an unmanaged instance group with an active and standby instance in different zones, use a regional persistent disk, and use an HTTP load balancer in front of the instances.
Use an unmanaged instance group with an active and standby instance in different zones, use a regional persistent disk, and use a network load balancer in front of the instances.
Designing and planning a cloud solution architecture
Designing for security and compliance
You need to deploy a stateful workload on Google Cloud. The workload can scale horizontally, but each instance needs to read and write to the same POSIX filesystem. At high load, the stateful workload needs to support up to 100 MB/s of writes. What should you do?
Use a persistent disk for each instance.
Use a regional persistent disk for each instance.
Create a Cloud Filestore instance and mount it in each instance.
Create a Cloud Storage bucket and mount it in each instance using gcsfuse.
Managing and provisioning a cloud solution infrastructure
Designing for security and compliance
You need to design a solution for global load balancing based on the URL path being requested. You need to ensure operations reliability and end-to-end in-transit encryption based on Google best practices.
What should you do?
What should you do?
Create a cross-region load balancer with URL Maps.
Create an HTTPS load balancer with URL Maps.
Create appropriate instance groups and instances. Configure SSL proxy load balancing.
Create a global forwarding rule. Configure SSL proxy load balancing.
Managing and provisioning a cloud solution infrastructure
Designing for security and compliance
You need to develop procedures to test a disaster plan for a mission-critical application. You want to use Google-recommended practices and native capabilities within GCP.
What should you do?
What should you do?
Use Deployment Manager to automate service provisioning. Use Activity Logs to monitor and debug your tests.
Use Deployment Manager to automate service provisioning. Use Stackdriver to monitor and debug your tests.
Use gcloud scripts to automate service provisioning. Use Activity Logs to monitor and debug your tests.
Use gcloud scripts to automate service provisioning. Use Stackdriver to monitor and debug your tests.
Managing and provisioning a cloud solution infrastructure
Designing for security and compliance
You need to develop procedures to verify resilience of disaster recovery for remote recovery using GCP. Your production environment is hosted on-premises. You need to establish a secure, redundant connection between your on-premises network and the GCP network.
What should you do?
What should you do?
Verify that Dedicated Interconnect can replicate files to GCP. Verify that direct peering can establish a secure connection between your networks if Dedicated Interconnect fails.
Verify that Dedicated Interconnect can replicate files to GCP. Verify that Cloud VPN can establish a secure connection between your networks if Dedicated Interconnect fails.
Verify that the Transfer Appliance can replicate files to GCP. Verify that direct peering can establish a secure connection between your networks if the Transfer Appliance fails.
Verify that the Transfer Appliance can replicate files to GCP. Verify that Cloud VPN can establish a secure connection between your networks if the Transfer Appliance fails.
Managing and provisioning a cloud solution infrastructure
Designing for security and compliance
You need to ensure reliability for your application and operations by supporting reliable task scheduling for compute on GCP. Leveraging Google best practices, what should you do?
Using the Cron service provided by App Engine, publish messages directly to a message-processing utility service running on Compute Engine instances.
Using the Cron service provided by App Engine, publish messages to a Cloud Pub/Sub topic. Subscribe to that topic using a message-processing utility service running on Compute Engine instances.
Using the Cron service provided by Google Kubernetes Engine (GKE), publish messages directly to a message-processing utility service running on Compute Engine instances.
Using the Cron service provided by GKE, publish messages to a Cloud Pub/Sub topic. Subscribe to that topic using a message-processing utility service running on Compute Engine instances.
Managing and provisioning a cloud solution infrastructure
Ensuring solution and operations reliability
You need to evaluate your team readiness for a new GCP project. You must perform the evaluation and create a skills gap plan which incorporates the business goal of cost optimization. Your team has deployed two GCP projects successfully to date. What should you do?
Allocate budget for team training. Set a deadline for the new GCP project.
Allocate budget for team training. Create a roadmap for your team to achieve Google Cloud certification based on job role.
Allocate budget to hire skilled external consultants. Set a deadline for the new GCP project.
Allocate budget to hire skilled external consultants. Create a roadmap for your team to achieve Google Cloud certification based on job role.
Designing and planning a cloud solution architecture
Designing for security and compliance
You need to implement a network ingress for a new game that meets the defined business and technical requirements. Mountkirk Games wants each regional game instance to be located in multiple Google Cloud regions. What should you do?
Configure a global load balancer connected to a managed instance group running Compute Engine instances.
Configure kubemci with a global load balancer and Google Kubernetes Engine.
Configure a global load balancer with Google Kubernetes Engine.
Configure Ingress for Anthos with a global load balancer and Google Kubernetes Engine.
Managing and provisioning a cloud solution infrastructure
Designing for security and compliance
Comments