28.02.2024 Views

[2024-Feb-New]Braindump2go Professional-Cloud-Developer PDF Dumps(102-268)

1.2024 Latest Braindump2go Professional-Cloud-Developer Exam Dumps (PDF & VCE) Free Share: https://www.braindump2go.com/professional-cloud-developer.html 2.2024 Latest Braindump2go Professional-Cloud-Developer PDF and VCE Dumps Free Share: https://drive.google.com/drive/folders/1hREpSE6JvZvoMSPoAaoVVcT119oNcgdG?usp=sharing

1.2024 Latest Braindump2go Professional-Cloud-Developer Exam Dumps (PDF & VCE) Free Share:
https://www.braindump2go.com/professional-cloud-developer.html

2.2024 Latest Braindump2go Professional-Cloud-Developer PDF and VCE Dumps Free Share:
https://drive.google.com/drive/folders/1hREpSE6JvZvoMSPoAaoVVcT119oNcgdG?usp=sharing

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Braindump2go</strong> Guarantee All Exams 100% Pass<br />

One Time!<br />

QUESTION 234<br />

Your team detected a spike of errors in an application running on <strong>Cloud</strong> Run in your production project. The application<br />

is configured to read messages from Pub/Sub topic A, process the messages, and write the messages to topic B. You<br />

want to conduct tests to identify the cause of the errors. You can use a set of mock messages for testing. What should<br />

you do?<br />

A. Deploy the Pub/Sub and <strong>Cloud</strong> Run emulators on your local machine. Deploy the application<br />

locally, and change the logging level in the application to DEBUG or INFO. Write mock messages<br />

to topic A, and then analyze the logs.<br />

B. Use the gcloud CLI to write mock messages to topic A. Change the logging level in the<br />

application to DEBUG or INFO, and then analyze the logs.<br />

C. Deploy the Pub/Sub emulator on your local machine. Point the production application to your local<br />

Pub/Sub topics. Write mock messages to topic A, and then analyze the logs.<br />

D. Use the Google <strong>Cloud</strong> console to write mock messages to topic A. Change the logging level in<br />

the application to DEBUG or INFO, and then analyze the logs.<br />

Answer: A<br />

Explanation:<br />

https://cloud.google.com/pubsub/docs/emulator<br />

QUESTION 235<br />

You are developing a Java Web Server that needs to interact with Google <strong>Cloud</strong> services via the Google <strong>Cloud</strong> API on<br />

the user's behalf. Users should be able to authenticate to the Google <strong>Cloud</strong> API using their Google <strong>Cloud</strong> identities.<br />

Which workflow should you implement in your web application?<br />

A. 1. When a user arrives at your application, prompt them for their Google username and<br />

password.<br />

2. Store an SHA password hash in your application's database along with the user's username.<br />

3. The application authenticates to the Google <strong>Cloud</strong> API using HTTPs requests with the user's<br />

username and password hash in the Authorization request header.<br />

B. 1. When a user arrives at your application, prompt them for their Google username and<br />

password.<br />

2. Forward the user's username and password in an HTTPS request to the Google <strong>Cloud</strong><br />

authorization server, and request an access token.<br />

3. The Google server validates the user's credentials and returns an access token to the<br />

application.<br />

4. The application uses the access token to call the Google <strong>Cloud</strong> API.<br />

C. 1. When a user arrives at your application, route them to a Google <strong>Cloud</strong> consent screen with a<br />

list of requested permissions that prompts the user to sign in with SSO to their Google Account.<br />

2. After the user signs in and provides consent, your application receives an authorization code<br />

from a Google server.<br />

3. The Google server returns the authorization code to the user, which is stored in the browser's<br />

cookies.<br />

4. The user authenticates to the Google <strong>Cloud</strong> API using the authorization code in the cookie.<br />

D. 1. When a user arrives at your application, route them to a Google <strong>Cloud</strong> consent screen with a<br />

list of requested permissions that prompts the user to sign in with SSO to their Google Account.<br />

2. After the user signs in and provides consent, your application receives an authorization code<br />

from a Google server.<br />

3. The application requests a Google Server to exchange the authorization code with an access<br />

token.<br />

4. The Google server responds with the access token that is used by the application to call the<br />

Google <strong>Cloud</strong> API.<br />

Answer: D<br />

<strong>Professional</strong>-<strong>Cloud</strong>-<strong>Developer</strong> Exam <strong>Dumps</strong> <strong>Professional</strong>-<strong>Cloud</strong>-<strong>Developer</strong> Exam Questions<br />

<strong>Professional</strong>-<strong>Cloud</strong>-<strong>Developer</strong> <strong>PDF</strong> <strong>Dumps</strong> <strong>Professional</strong>-<strong>Cloud</strong>-<strong>Developer</strong> VCE <strong>Dumps</strong><br />

https://www.braindump2go.com/professional-cloud-developer.html

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!