What should you do?

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.
B . Enable ‘Share publicly’ on the PDF file objects.
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.

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments