PCD-3

PCD-3

Professional Development

50 Qs

quiz-placeholder

Similar activities

Microsoft Azure Fundamentals AZ-900 ENG #5

Microsoft Azure Fundamentals AZ-900 ENG #5

University - Professional Development

55 Qs

PSE-3

PSE-3

Professional Development

50 Qs

AWS CP Exam 04

AWS CP Exam 04

Professional Development

55 Qs

Microsoft Azure Fundamentals AZ-900 ENG #6

Microsoft Azure Fundamentals AZ-900 ENG #6

University - Professional Development

50 Qs

Sharepoint Administration Revision

Sharepoint Administration Revision

Professional Development

48 Qs

(Part 2) Cloud Essentials Study Guide

(Part 2) Cloud Essentials Study Guide

Professional Development

48 Qs

PCA-3

PCA-3

Professional Development

50 Qs

PCA-4

PCA-4

Professional Development

50 Qs

PCD-3

PCD-3

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Balamurugan R

Used 14+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

You are designing a resource-sharing policy for applications used by different teams in a Google Kubernetes Engine cluster. You need to ensure that all applications can access the resources needed to run. What should you do? (Choose two.)

Specify the resource limits and requests in the object specifications.

Create a namespace for each team, and attach resource quotas to each namespace.

Create a LimitRange to specify the default compute resource requirements for each namespace.

Create a Kubernetes service account (KSA) for each application, and assign each KSA to the namespace.

Use the Anthos Policy Controller to enforce label annotations on all namespaces. Use taints and tolerations to allow resource sharing for namespaces.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are developing a new application that has the following design requirements:

✑ Creation and changes to the application infrastructure are versioned and auditable.

✑ The application and deployment infrastructure uses Google-managed services as much as possible.

✑ The application runs on a serverless compute platform.

How should you design the application's architecture?

1. Store the application and infrastructure source code in a Git repository. 2. Use Cloud Build to deploy the application infrastructure with Terraform. 3. Deploy the application to a Cloud Function as a pipeline step.

1. Deploy Jenkins from the Google Cloud Marketplace, and define a continuous integration pipeline in Jenkins. 2. Configure a pipeline step to pull the application source code from a Git repository. 3. Deploy the application source code to App Engine as a pipeline step.

1. Create a continuous integration pipeline on Cloud Build, and configure the pipeline to deploy the application infrastructure using Deployment Manager templates. 2. Configure a pipeline step to create a container with the latest application source code. 3. Deploy the container to a Compute Engine instance as a pipeline step.

1. Deploy the application infrastructure using gcloud commands. 2. Use Cloud Build to define a continuous integration pipeline for changes to the application source code. 3. Configure a pipeline step to pull the application source code from a Git repository, and create a containerized application. 4. Deploy the new container on Cloud Run as a pipeline step.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are creating and running containers across different projects in Google Cloud. The application you are developing needs to access Google Cloud services from within Google Kubernetes Engine (GKE). What should you do?

Assign a Google service account to the GKE nodes.

Use a Google service account to run the Pod with Workload Identity.

Store the Google service account credentials as a Kubernetes Secret.

Use a Google service account with GKE role-based access control (RBAC).

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You have containerized a legacy application that stores its configuration on an NFS share. You need to deploy this application to Google Kubernetes Engine (GKE) and do not want the application serving traffic until after the configuration has been retrieved. What should you do?

Use the gsutil utility to copy files from within the Docker container at startup, and start the service using an ENTRYPOINT script.

Create a PersistentVolumeClaim on the GKE cluster. Access the configuration files from the volume, and start the service using an ENTRYPOINT script.

Use the COPY statement in the Dockerfile to load the configuration into the container image. Verify that the configuration is available, and start the service using an ENTRYPOINT script.

Add a startup script to the GKE instance group to mount the NFS share at node startup. Copy the configuration files into the container, and start the service using an ENTRYPOINT script.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Your team is developing a new application using a PostgreSQL database and Cloud Run. You are responsible for ensuring that all traffic is kept private on Google Cloud. You want to use managed services and follow Google-recommended best practices. What should you do?

1. Enable Cloud SQL and Cloud Run in the same project. 2. Configure a private IP address for Cloud SQL. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Configure Cloud Run to use the connector to connect to Cloud SQL.

1. Install PostgreSQL on a Compute Engine virtual machine (VM), and enable Cloud Run in the same project. 2. Configure a private IP address for the VM. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Configure Cloud Run to use the connector to connect to the VM hosting PostgreSQL.

1. Use Cloud SQL and Cloud Run in different projects. 2. Configure a private IP address for Cloud SQL. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to connect to Cloud SQL.

1. Install PostgreSQL on a Compute Engine VM, and enable Cloud Run in different projects. 2. Configure a private IP address for the VM. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to access the VM hosting PostgreSQL

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are developing an application that will allow clients to download a file from your website for a specific period of time. How should you design the application to complete this task while following Google-recommended best practices?

Configure the application to send the file to the client as an email attachment.

Generate and assign a Cloud Storage-signed URL for the file. Make the URL available for the client to download.

Create a temporary Cloud Storage bucket with time expiration specified, and give download permissions to the bucket. Copy the file, and send it to the client.

Generate the HTTP cookies with time expiration specified. If the time is valid, copy the file from the Cloud Storage bucket, and make the file available for the client to download.

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Your development team has been asked to refactor an existing monolithic application into a set of composable microservices. Which design aspects should you implement for the new application? (Choose two.)

Develop the microservice code in the same programming language used by the microservice caller.

Create an API contract agreement between the microservice implementation and microservice caller.

Require asynchronous communications between all microservice implementations and microservice callers.

Ensure that sufficient instances of the microservice are running to accommodate the performance requirements.

Implement a versioning scheme to permit future changes that could be incompatible with the current interface.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?