Cookie and Online Advertising Quiz 4
30 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is Evercookie?

  • A browser add-on for managing cookies
  • A type of cookie that expires after a single session
  • A JavaScript API that produces extremely persistent cookies in a browser (correct)
  • A cookie management tool in web browsers
  • What is the 'do not track' option in browser settings?

  • A feature to delete all cookies in the browser
  • A setting to enable all types of cookies
  • A tool to view current cookies in the browser
  • An option to request websites not to track browsing activity (correct)
  • What is the purpose of downloading opt-out cookies?

  • To increase the number of cookies in the browser
  • To improve browser performance
  • To enable all types of cookies
  • To set preferences for opting out of targeted advertising cookies (correct)
  • What is the function of session cookies in web browsers?

    <p>They expire after the browsing session ends</p> Signup and view all the answers

    What does Ghostery browser add-on do?

    <p>Turns off cookies and may prevent access to some sites</p> Signup and view all the answers

    What is the main difference between virtual machines (VMs) and containers?

    <p>VMs virtualize the hardware, while containers virtualize the operating system.</p> Signup and view all the answers

    What was the revolutionary aspect of virtual machines (VMs) according to the text?

    <p>They allowed multiple operating systems to run concurrently on a single physical machine, isolating different computing tasks and applications from each other.</p> Signup and view all the answers

    What is a drawback of virtual machines (VMs) mentioned in the text?

    <p>They are expensive.</p> Signup and view all the answers

    What is the purpose of running each individual application on a separate virtual machine?

    <p>To isolate different computing tasks and applications from each other.</p> Signup and view all the answers

    What is the main difference between virtualization and containers according to the text?

    <p>Virtualization virtualizes the hardware, while containers virtualize the operating system.</p> Signup and view all the answers

    What is important for serverless computing platforms in terms of programming languages?

    <p>Support for multiple programming languages</p> Signup and view all the answers

    What is crucial for triggering functions and mapping HTTP verbs to functions in serverless environments?

    <p>API Gateway integration</p> Signup and view all the answers

    What type of support is important for understanding application health and debugging in serverless platforms?

    <p>Extensive logging and monitoring</p> Signup and view all the answers

    What is a key feature of AWS Lambda as a compute service?

    <p>Subsecond metering</p> Signup and view all the answers

    What is important for designing microservices-based applications on FaaS in terms of responsiveness?

    <p>Consideration for startup latency and invocation delay</p> Signup and view all the answers

    What is a key feature of serverless architectures?

    <p>Automatic scaling with the number of requests</p> Signup and view all the answers

    Which technology abstracted the execution environment from the code, a first of its kind?

    <p>AWS Lambda</p> Signup and view all the answers

    What is a key characteristic of containers?

    <p>Share the host system’s kernel</p> Signup and view all the answers

    What does Docker enable for software development?

    <p>Packaging applications with dependencies into a standardized unit</p> Signup and view all the answers

    What is a key attribute of serverless computing platforms?

    <p>Event-driven architecture</p> Signup and view all the answers

    What is the pricing for Cloud Functions after the free 2 million invocations per month?

    <p>$0.40 per million invocations</p> Signup and view all the answers

    What is the purpose of cookies in relation to website customization?

    <p>To allow customization of sites without repeating preferences</p> Signup and view all the answers

    What is the key characteristic of secure/"protected" cookies?

    <p>The secure attribute enabled and only used via https</p> Signup and view all the answers

    What type of cookies are referred to as 3rd party cookies?

    <p>Doubleclick cookies</p> Signup and view all the answers

    What is the role of the browser in the cookie processing algorithm?

    <p>Scanning its cookie database for any cookies whose domain and path matches the requested URL</p> Signup and view all the answers

    What happens when a new cookie with the same NAME, domain, and path as an existing cookie is encountered?

    <p>The old cookie is discarded and the new one overwrites it</p> Signup and view all the answers

    What is a common hack for deleting cookies?

    <p>Overwriting a cookie with a bogus value and backdated or short-lived expires=</p> Signup and view all the answers

    What does the 'secure' keyword on a cookie indicate?

    <p>The cookie should only be sent over HTTPS</p> Signup and view all the answers

    How does JavaScript set and send cookies?

    <p>Via the document object's 'cookie' property</p> Signup and view all the answers

    What is the purpose of cookie-based marketing?

    <p>To utilize cookies and databases to create, maintain, and utilize consumer profiles for customized online advertising</p> Signup and view all the answers

    Study Notes

    Understanding Cookies and Online Advertising

    • Cookies can have an "expires=" parameter to specify when they should expire and be dropped.
    • Overwriting cookies occurs when a new cookie with the same NAME, domain, and path as an existing cookie is encountered, resulting in the old cookie being discarded.
    • There is no specific mechanism for deleting cookies, but a common hack is to overwrite a cookie with a bogus value and backdated or short-lived expires= to reset the expiration to the past.
    • Some cookies may be marked with a special secure keyword, causing them to be sent over HTTPS only as a security feature.
    • JavaScript can set and send cookies via the document object's "cookie" property, which maintains all defined cookies that can be read and written.
    • Browsers need not store more than 300 cookies, nor more than 20 cookies per web server, nor more than 4K per cookie, and cookies can be removed when they expire or when the cookie file gets too large.
    • Cookie values should not contain specific symbols and need to be encoded into their hex equivalents using escape(s) and unescape(s).
    • Advertisers use cookies to target specific ads and track users through 3rd party cookies in online advertising networks.
    • An online advertising network connects advertisers to websites that want to host advertisements and involves advertisers, website owners, ad networks, and visitors.
    • Cookie-based marketing utilizes cookies and databases to create, maintain, and utilize consumer profiles to customize online advertising.
    • Doubleclick, purchased by Google, is an Ad Network that uses cookies to customize ads based on user profiles.
    • Google Analytics is a free web analytics tool that uses its own set of cookies to track visitor interactions, and visitors are not tracked across sites.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Test your knowledge of cookies and online advertising with this quiz. Explore topics such as cookie expiration, overwriting, secure cookies, JavaScript usage, and limitations. Learn about the role of cookies in online advertising, including targeting ads, tracking users, ad networks, and the use of cookies in Google Analytics and Doubleclick.

    More Like This

    Use Quizgecko on...
    Browser
    Browser