GoConqr has a new look! Let us know what you think.

Quiz

PCA 2024 PT 2

Emmanuel Jimenez 41 questions

Take the quiz

Questions in this quiz (41)

  1. 1Your team is developing a web application that will be deployed on Google Kubernetes Engine (GKE). Your CTO expects a successful launch and you need to ensure your application can handle the expected load of tens of thousands of users. You want to test the current deployment to ensure the latency of your application stays below a certain threshold. What should you do?
    1. AUse a load testing tool to simulate the expected number of concurrent users and total requests to your application, and inspect the results.
    2. BEnable autoscaling on the GKE cluster and enable horizontal pod autoscaling on your application deployments. Send curl requests to your application, and validate if the auto scaling works.
    3. CReplicate the application over multiple GKE clusters in every Google Cloud region. Configure a global HTTP(S) load balancer to expose the different clusters over a single global IP address.
    4. DUse Cloud Debugger in the development environment to understand the latency between the different microservices.
  2. 2Your company has a Kubernetes application that pulls messages from Pub/Sub and stores them in Filestore. Because the application is simple, it was deployed as a single pod. The infrastructure team has analyzed Pub/Sub metrics and discovered that the application cannot process the messages in real time. Most of them wait for minutes before being processed. You need to scale the elaboration process that is I/O-intensive. What should you do?
    1. AUse kubectl autoscale deployment APP_NAME --max 6 --min 2 --cpu-percent 50 to configure Kubernetes autoscaling deployment.
    2. BConfigure a Kubernetes autoscaling deployment based on the subscription/push_request_latencies metric.
    3. CUse the --enable-autoscaling flag when you create the Kubernetes cluster.
    4. DConfigure a Kubernetes autoscaling deployment based on the subscription/num_undelivered_messages metric.
  3. 3Your company is developing a web-based application. You need to make sure that production deployments are linked to source code commits and are fully auditable. What should you do?
    1. AMake sure a developer is tagging the code commit with the date and time of commit.
    2. BMake sure a developer is adding a comment to the commit that links to the deployment.
    3. CMake the container tag match the source code commit hash.
    4. DMake sure the developer is tagging the commits with latest.
  4. 4An application development team has come to you for advice. They are planning to write and deploy an HTTP(S) API using Go 1.12. The API will have a very unpredictable workload and must remain reliable during peaks in traffic. They want to minimize operational overhead for this application. Which approach should you recommend?
    1. ADevelop the application with containers, and deploy to Google Kubernetes Engine.
    2. BDevelop the application for App Engine standard environment.
    3. CUse a Managed Instance Group when deploying to Compute Engine.
    4. DDevelop the application for App Engine flexible environment, using a custom runtime.
  5. 5Your company is designing its data lake on Google Cloud and wants to develop different ingestion pipelines to collect unstructured data from different sources. After the data is stored in Google Cloud, it will be processed in several data pipelines to build a recommendation engine for end users on the website. The structure of the data retrieved from the source systems can change at any time. The data must be stored exactly as it was retrieved for reprocessing purposes in case the data structure is incompatible with the current processing pipelines. You need to design an architecture to support the use case after you retrieve the data. What should you do?
    1. ASend the data through the processing pipeline, and then store the processed data in a BigQuery table for reprocessing.
    2. BStore the data in a BigQuery table. Design the processing pipelines to retrieve the data from the table.
    3. CSend the data through the processing pipeline, and then store the processed data in a Cloud Storage bucket for reprocessing.
    4. DStore the data in a Cloud Storage bucket. Design the processing pipelines to retrieve the data from the bucket.
  6. 6You are responsible for the Google Cloud environment in your company. Multiple departments need access to their own projects, and the members within each department will have the same project responsibilities. You want to structure your Google Cloud environment for minimal maintenance and maximum overview of IAM permissions as each department's projects start and end. You want to follow Google-recommended practices. What should you do?
    1. AGrant all department members the required IAM permissions for their respective projects.
    2. BCreate a Google Group per department and add all department members to their respective groups. Create a folder per department and grant the respective group the required IAM permissions at the folder level. Add the projects under the respective folders.
    3. CCreate a folder per department and grant the respective members of the department the required IAM permissions at the folder level. Structure all projects for each department under the respective folders.
    4. DCreate a Google Group per department and add all department members to their respective groups. Grant each group the required IAM permissions for their respective projects.
  7. 7Your company has an application running as a Deployment in a Google Kubernetes Engine (GKE) cluster. You have separate clusters for development, staging, and production. You have discovered that the team is able to deploy a Docker image to the production cluster without first testing the deployment in development and then staging. You want to allow the team to have autonomy but want to prevent this from happening. You want a Google Cloud solution that can be implemented quickly with minimal effort. What should you do?
    1. AConfigure a Kubernetes lifecycle hook to prevent the container from starting if it is not approved for usage in the given environment.
    2. BImplement a corporate policy to prevent teams from deploying Docker images to an environment unless the Docker image was tested in an earlier environment.
    3. CConfigure binary authorization policies for the development, staging, and production clusters. Create attestations as part of the continuous integration pipeline.
    4. DCreate a Kubernetes admissions controller to prevent the container from starting if it is not approved for usage in the given environment.
  8. 8Your company wants to migrate their 10-TB on-premises database export into Cloud Storage. You want to minimize the time it takes to complete this activity, the overall cost, and database load. The bandwidth between the on-premises environment and Google Cloud is 1 Gbps. You want to follow Google-recommended practices. What should you do?
    1. ADevelop a Dataflow job to read data directly from the database and write it into Cloud Storage.
    2. BUse the Data Transfer appliance to perform an offline migration.
    3. CUse a commercial partner ETL solution to extract the data from the on-premises database and upload it into Cloud Storage.
    4. DCompress the data and upload it with gsutil -m to enable multi-threaded copy.
  9. 9Your company has an enterprise application running on Compute Engine that requires high availability and high performance. The application has been deployed on two instances in two zones in the same region in active-passive mode. The application writes data to a persistent disk. In the case of a single zone outage, that data should be immediately made available to the other instance in the other zone. You want to maximize performance while minimizing downtime and data loss. What should you do?
    1. A1. Attach a persistent SSD disk to the first instance. 2. Create a snapshot every hour. 3. In case of a zone outage, recreate a persistent SSD disk in the second instance where data is coming from the created snapshot.
    2. B1. Create a Cloud Storage bucket. 2. Mount the bucket into the first instance with gcs-fuse. 3. In case of a zone outage, mount the Cloud Storage bucket to the second instance with gcs-fuse.
    3. C1. Attach a regional SSD persistent disk to the first instance. 2. In case of a zone outage, force-attach the disk to the other instance.
    4. D1. Attach a local SSD to the first instance disk. 2. Execute an rsync command every hour where the target is a persistent SSD disk attached to the second instance. 3. In case of a zone outage, use the second instance.
  10. 10You are designing a Data Warehouse on Google Cloud and want to store sensitive data in BigQuery. Your company requires you to generate the encryption keys outside of Google Cloud. You need to implement a solution. What should you do?
    1. AGenerate a new key in Cloud Key Management Service (Cloud KMS). Store all data in Cloud Storage using the customer-managed key option and select the created key. Set up a Dataflow pipeline to decrypt the data and to store it in a new BigQuery dataset.
    2. BGenerate a new key in Cloud KMS. Create a dataset in BigQuery using the customer-managed key option and select the created key.
    3. C Import a key in Cloud KMS. Store all data in Cloud Storage using the customer-managed key option and select the created key. Set up a Dataflow pipeline to decrypt the data and to store it in a new BigQuery dataset.
    4. DImport a key in Cloud KMS. Create a dataset in BigQuery using the customer-supplied key option and select the created key.

Information

Description
Quiz on PCA 2024 PT 2, created by Emmanuel Jimenez on 16/02/2024.
Language
English
Views
4
Tags
it
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?