最新2024年11月15日リアルなProfessional-Cloud-Developer試験問題集解答で有効なProfessional-Cloud-Developer問題集PDF [Q11-Q31]

Share

最新2024年11月15日リアルなProfessional-Cloud-Developer試験問題集解答で有効なProfessional-Cloud-Developer問題集PDF

Google Professional-Cloud-Developer試験問題集でPDF問題とテストエンジン

質問 # 11
Your development team has been tasked with maintaining a .NET legacy application. The application incurs occasional changes and was recently updated. Your goal is to ensure that the application provides consistent results while moving through the CI/CD pipeline from environment to environment. You want to minimize the cost of deployment while making sure that external factors and dependencies between hosting environments are not problematic. Containers are not yet approved in your organization. What should you do?

  • A. Rewrite the application using .NET Core, and deploy to Cloud Run. Use revisions to separate the environments.
  • B. Use Cloud Build to package the application, and deploy to a Google Kubernetes Engine cluster. Use namespaces to separate the environments.
  • C. Deploy the application using MS Web Deploy, and make sure to always use the latest, patched MS Windows Server base image in Compute Engine.
  • D. Use Cloud Build to deploy the application as a new Compute Engine image for each build. Use this image in each environment.

正解:D

解説:
https://cloud.google.com/architecture/modernization-path-dotnet-applications-google-cloud#phase_1_rehost_in_the_cloud
https://cloud.google.com/architecture/modernization-path-dotnet-applications-google-cloud


質問 # 12
You are developing an application hosted on Google Cloud that uses a MySQL relational database schem a. The application will have a large volume of reads and writes to the database and will require backups and ongoing capacity planning. Your team does not have time to fully manage the database but can take on small administrative tasks. How should you host the database?

  • A. Configure Cloud Spanner to host the database, and import the schema into Cloud Spanner.
  • B. Configure Cloud SQL to host the database, and import the schema into Cloud SQL.
  • C. Deploy MySQL from the Google Cloud Marketplace to the database using a client, and import the schema.
  • D. Configure Firestore to host the database, and import the data into Firestore.
  • E. Configure Bigtable to host the database, and import the data into Bigtable.

正解:B

解説:
https://cloud.google.com/spanner/docs/migrating-mysql-to-spanner#migration-process Cloud SQL: Cloud SQL is a web service that allows you to create, configure, and use relational databases that live in Google's cloud. It is a fully-managed service that maintains, manages, and administers your databases, allowing you to focus on your applications and services.
https://cloud.google.com/sql/docs/mysql Cloud SQL for MySQL is a fully-managed database service that helps you set up, maintain, manage, and administer your MySQL relational databases on Google Cloud Platform.


質問 # 13
Your development team has been tasked with maintaining a .NET legacy application. The application incurs occasional changes and was recently updated. Your goal is to ensure that the application provides consistent results while moving through the CI/CD pipeline from environment to environment. You want to minimize the cost of deployment while making sure that external factors and dependencies between hosting environments are not problematic. Containers are not yet approved in your organization. What should you do?

  • A. Rewrite the application using .NET Core, and deploy to Cloud Run. Use revisions to separate the environments.
  • B. Use Cloud Build to package the application, and deploy to a Google Kubernetes Engine cluster. Use namespaces to separate the environments.
  • C. Deploy the application using MS Web Deploy, and make sure to always use the latest, patched MS Windows Server base image in Compute Engine.
  • D. Use Cloud Build to deploy the application as a new Compute Engine image for each build. Use this image in each environment.

正解:D

解説:
https://cloud.google.com/architecture/modernization-path-dotnet-applications-google-cloud#phase_1_rehost_in_
https://cloud.google.com/architecture/modernization-path-dotnet-applications-google-cloud


質問 # 14
You made a typo in a low-level Linux configuration file that prevents your Compute Engine instance from booting to a normal run level. You just created the Compute Engine instance today and have done no other maintenance on it, other than tweaking files. How should you correct this error?

  • A. Download the file using scp, change the file, and then upload the modified version
  • B. Configure and log in to the Compute Engine instance through the serial port, and change the file
  • C. Configure and log in to the Compute Engine instance through SSH, and change the file
  • D. Configure and log in to the Compute Engine instance using a remote desktop client, and change the file

正解:B

解説:
https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-console


質問 # 15
You plan to make a simple HTML application available on the internet. This site keeps information about FAQs for your application. The application is static and contains images, HTML, CSS, and Javascript. You want to make this application available on the internet with as few steps as possible.
What should you do?

  • A. Upload your application to an App Engine environment.
  • B. Upload your application to Cloud Storage.
  • C. Containerize your application first. Deploy this container to Google Kubernetes Engine (GKE) and assign an external IP address to the GKE pod hosting the application.
  • D. Create a Compute Engine instance with Apache web server installed. Configure Apache web server to host the application.

正解:B

解説:
Reference:
https://cloud.google.com/storage/docs/hosting-static-website


質問 # 16
Please refer to the following information to answer the questions on the right.
Rachel is starting a repair on a three-year-old MacBook Pro.
After opening the device, she takes some time to visually inspect the top case assembly with battery.
During an embedded battery inspection which of the following issues should Rachel look for? (Choose two.)

  • A. Dot imprints
  • B. Scratches
  • C. Battery is the correct color
  • D. Battery-compliance shipping label
  • E. Updated battery firmware

正解:A、B


質問 # 17
You have decided to migrate your Compute Engine application to Google Kubernetes Engine. You need to build a container image and push it to Artifact Registry using Cloud Build. What should you do? (Choose two.) A) Run gcloud builds submit in the directory that contains the application source code.
B)
Run gcloud run deploy app-name --image gcr.io/$PROJECT_ID/app-name in the directory that contains the application source code.
C)
Run gcloud container images add-tag gcr.io/$PROJECT_ID/app-name gcr.io/$PROJECT_ID/app-name:latest in the directory that contains the application source code.
D)
In the application source directory, create a file named cloudbuild.yaml that contains the following contents:

E)
In the application source directory, create a file named cloudbuild.yaml that contains the following contents:

  • A. Option A
  • B. Option E
  • C. Option C
  • D. Option D
  • E. Option B

正解:A、D

解説:
https://cloud.google.com/sdk/gcloud/reference/builds/submit
https://cloud.google.com/artifact-registry/docs/configure-cloud-build


質問 # 18
Your team is creating a serverless web application on Cloud Run. The application needs to access images stored in a private Cloud Storage bucket. You want to give the application Identity and Access Management (IAM) permission to access the images in the bucket, while also securing the services using Google-recommended best practices What should you do?

  • A. Enforce public access prevention for the desired bucket. Grant the Storage Object Viewer IAM role on the bucket to the Compute Engine default service account.
  • B. Enforce signed URLs for the desired bucket Create and update the Cloud Run service to use a user -managed service account. Grant the Storage Object Viewer IAM role on the bucket to the service account
  • C. Enforce signed URLs for the desired bucket. Grant the Storage Object Viewer IAM role on the bucket to the Compute Engine default service account.
  • D. Enforce public access prevention for the desired bucket. Create and update the Cloud Run service to use a user-managed service account. Grant the Storage Object Viewer IAM role on the bucket to the service account.

正解:A


質問 # 19
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?

  • A. 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.
  • B. 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.
  • C. 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.
  • D. 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.

正解:D

解説:
4. Deploy the new container on Cloud Run as a pipeline step.


質問 # 20
Tony would like to create a new Apple ID to use with iTunes. It is his preference not to give his credit card information.
Which of the following is the correct statement about his situation?

  • A. Tony will not be able to use an Apple ID with iTunes unless he is willing to give credit card information.
  • B. Tony will have to use a bank account and routing number to setup his Apple ID.
  • C. Tony will have to purchase an iTunes gift card before he can setup his Apple ID.
  • D. Tony can create an Apple ID in iTunes without a credit card or other payment method.

正解:D

解説:
Explanation/Reference: https://support.apple.com/en-us/HT204034


質問 # 21
You are running an application on App Engine that you inherited. You want to find out whether the application is using insecure binaries or is vulnerable to XSS attacks. Which service should you use?

  • A. Stackdriver Debugger
  • B. Stackdriver Error Reporting
  • C. Cloud Amor
  • D. Cloud Security Scanner

正解:D

解説:
Reference: https://cloud.google.com/security-scanner


質問 # 22
You want to view the memory usage of your application deployed on Compute Engine. What should you do?

  • A. Use the Stackdriver Metrics Explorer.
  • B. Install the Stackdriver Monitoring Agent.
  • C. Install the Stackdriver Client Library.
  • D. Use the Google Cloud Platform Console.

正解:A

解説:
Reference:
https://stackoverflow.com/questions/43991246/google-cloud-platform-how-to-monitor-memory-usage-of-vm-ins


質問 # 23
Which of the following is an ESD precaution according to Apple standards?

  • A. Safety apron made of synthetic fibers should be worn.
  • B. An ionized air generator can be used instead of grounding a work area.
  • C. The relative humidity in a work area should be lower than 50 percent.
  • D. A person working on an ESD-sensitive circuit should not be touched.

正解:D


質問 # 24
You have an application running on Google Kubernetes Engine (GKE). The application is currently using a logging library and is outputting to standard output You need to export the logs to Cloud Logging, and you need the logs to include metadata about each request. You want to use the simplest method to accomplish this.
What should you do?

  • A. Change your application s logging library to the Cloud Logging library and configure your application to export logs to Cloud Logging
  • B. Update your application to output logs in CSV format, and add the necessary metadata to the CSV.
  • C. Install the Fluent Bit agent on each of your GKE nodes, and have the agent export all logs from /var/ log.
  • D. Update your application to output logs in JSON format, and add the necessary metadata to the JSON

正解:B


質問 # 25
Your company has deployed a new API to App Engine Standard environment. During testing, the API is not behaving as expected. You want to monitor the application over time to diagnose the problem within the application code without redeploying the application.
Which tool should you use?

  • A. Stackdriver Trace
  • B. Stackdriver Debug Snapshots
  • C. Stackdriver Debug Logpoints
  • D. Stackdriver Monitoring

正解:D

解説:
Reference:
1ba49e4780e6


質問 # 26
You are developing an HTTP API hosted on a Compute Engine virtual machine instance that needs to be invoked by multiple clients within the same Virtual Private Cloud (VPC). You want clients to be able to get the IP address of the service.
What should you do?

  • A. Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[API_NAME]/[API_VERSION]/.
  • B. Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal/.
  • C. Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule. Then, define an A record in Cloud DNS. Clients should use the name of the A record to connect to the service.
  • D. Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule. Clients should use this IP address to connect to the service.

正解:A


質問 # 27
You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster The application exposes an HTTP-based health check at /healthz. You want to use this health check endpoint to determine whether traffic should be routed to the pod by the load balancer.
Which code snippet should you include in your Pod configuration?

  • A. Option B
  • B. Option C
  • C. Option A
  • D. Option D

正解:A

解説:
For the GKE ingress controller to use your readinessProbes as health checks, the Pods for an Ingress must exist at the time of Ingress creation. If your replicas are scaled to 0, the default health check will apply.


質問 # 28
You are deploying a microservices application to Google Kubernetes Engine (GKE) that will broadcast livestreams. You expect unpredictable traffic patterns and large variations in the number of concurrent users. Your application must meet the following requirements:
* Scales automatically during popular events and maintains high availability
* Is resilient in the event of hardware failures
How should you configure the deployment parameters? (Choose two.)

  • A. Distribute your workload evenly using multiple zonal node pools.
  • B. Create a managed instance group for Compute Engine with the cluster nodes. Configure autoscaling rules for the managed instance group.
  • C. Use cluster autoscaler to resize the number of nodes in the node pool, and use a Horizontal Pod Autoscaler to scale the workload.
  • D. Distribute your workload evenly using a multi-zonal node pool.
  • E. Create alerting policies in Cloud Monitoring based on GKE CPU and memory utilization. Ask an on-duty engineer to scale the workload by executing a script when CPU and memory usage exceed predefined thresholds.

正解:C、D


質問 # 29
Your company has a new security initiative that requires all data stored in Google Cloud to be encrypted by customer-managed encryption keys. You plan to use Cloud Key Management Service (KMS) to configure access to the keys. You need to follow the "separation of duties" principle and Google-recommended best practices. What should you do? (Choose two.)

  • A. Do not assign an owner to the Cloud KMS project.
  • B. Grant an owner role for the Cloud KMS project to a different user than the owner of the project where the keys from Cloud KMS are being used.
  • C. Provision Cloud KMS in the project where the keys are being used.
  • D. Provision Cloud KMS in its own project.
  • E. Grant the roles/cloudkms.admin role to the owner of the project where the keys from Cloud KMS are being used.

正解:A、D

解説:
Explanation
https://cloud.google.com/kms/docs/separation-of-duties#using_separate_project


質問 # 30
You are using Cloud Run to host a web application. You need to securely obtain the application project ID and region where the application is running and display this information to users. You want to use the most performant approach. What should you do?

  • A. In the Google Cloud console, navigate to the Project Dashboard and gather configuration details.
    Navigate to the Cloud Run "Variables & Secrets" tab, and add the desired environment variables in Key:Value format.
  • B. In the Google Cloud console, navigate to the Project Dashboard and gather configuration details. Write the application configuration information to Cloud Run's in-memory container filesystem.
  • C. Make an API call to the Cloud Asset Inventory API from the application and format the request to include instance metadata.
  • D. Use HTTP requests to query the available metadata server at the http://metadata.google.internal/ endpoint with the Metadata-Flavor: Google header.

正解:A


質問 # 31
......

信頼できるCloud Developer Professional-Cloud-Developer問題集PDF2024年11月15日最近更新された問題:https://jp.fast2test.com/Professional-Cloud-Developer-premium-file.html

最新Professional-Cloud-Developer試験問題集には合格保証付きます:https://drive.google.com/open?id=1lF3EltWObEqvPd039zFU8OEuKeYGG4NN


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어