Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

Cloud Developer Changed Professional-Cloud-Developer Questions

Page: 5 / 9
Question 20

You have a mixture of packaged and internally developed applications hosted on a Compute Engine instance that is running Linux. These applications write log records as text in local files. You want the logs to be written to Cloud Logging. What should you do?

Options:

A.

Pipe the content of the files to the Linux Syslog daemon.

B.

Install a Google version of fluentd on the Compute Engine instance.

C.

Install a Google version of collectd on the Compute Engine instance.

D.

Using cron, schedule a job to copy the log files to Cloud Storage once a day.

Question 21

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?

Options:

A.

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

B.

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

C.

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.

D.

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.

Question 22

You recently developed a new application. You want to deploy the application on Cloud Run without a Dockerfile. Your organization requires that all container images are pushed to a centrally managed container repository. How should you build your container using Google Cloud services? (Choose two.)

Options:

A.

Push your source code to Artifact Registry.

B.

Submit a Cloud Build job to push the image.

C.

Use the pack build command with pack CLI.

D.

Include the --source flag with the gcloud run deploy CLI command.

E.

Include the --platform=kubernetes flag with the gcloud run deploy CLI command.

Question 23

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?

Options:

A.

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.

B.

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.

C.

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/.

D.

Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url

https://[API_NAME]/[API_VERSION] /.

Page: 5 / 9
Exam Name: Google Certified Professional - Cloud Developer
Last Update: Nov 21, 2024
Questions: 265
Professional-Cloud-Developer pdf

Professional-Cloud-Developer PDF

$28  $80
Professional-Cloud-Developer Engine

Professional-Cloud-Developer Testing Engine

$33.25  $95
Professional-Cloud-Developer PDF + Engine

Professional-Cloud-Developer PDF + Testing Engine

$45.5  $130