ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 48 - Associate Cloud Engineer discussion

Report
Export

You host a static website on Cloud Storage. Recently, you began to include links to PDF files on this site. Currently, when users click on the links to these PDF files, their browsers prompt them to save the file onto their local system. Instead, you want the clicked PDF files to be displayed within the browser window directly, without prompting the user to save the file locally. What should you do?

A.
Enable Cloud CDN on the website frontend.
Answers
A.
Enable Cloud CDN on the website frontend.
B.
Enable 'Share publicly' on the PDF file objects.
Answers
B.
Enable 'Share publicly' on the PDF file objects.
C.
Set Content-Type metadata to application/pdf on the PDF file objects.
Answers
C.
Set Content-Type metadata to application/pdf on the PDF file objects.
D.
Add a label to the storage bucket with a key of Content-Type and value of application/pdf.
Answers
D.
Add a label to the storage bucket with a key of Content-Type and value of application/pdf.
Suggested answer: C

Explanation:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_Types#importance_of_setting_the_correct_mime_type

asked 18/09/2024
sergio sombrero
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first