30 Questions
What is Evercookie?
A JavaScript API that produces extremely persistent cookies in a browser
What is the 'do not track' option in browser settings?
An option to request websites not to track browsing activity
What is the purpose of downloading opt-out cookies?
To set preferences for opting out of targeted advertising cookies
What is the function of session cookies in web browsers?
They expire after the browsing session ends
What does Ghostery browser add-on do?
Turns off cookies and may prevent access to some sites
What is the main difference between virtual machines (VMs) and containers?
VMs virtualize the hardware, while containers virtualize the operating system.
What was the revolutionary aspect of virtual machines (VMs) according to the text?
They allowed multiple operating systems to run concurrently on a single physical machine, isolating different computing tasks and applications from each other.
What is a drawback of virtual machines (VMs) mentioned in the text?
They are expensive.
What is the purpose of running each individual application on a separate virtual machine?
To isolate different computing tasks and applications from each other.
What is the main difference between virtualization and containers according to the text?
Virtualization virtualizes the hardware, while containers virtualize the operating system.
What is important for serverless computing platforms in terms of programming languages?
Support for multiple programming languages
What is crucial for triggering functions and mapping HTTP verbs to functions in serverless environments?
API Gateway integration
What type of support is important for understanding application health and debugging in serverless platforms?
Extensive logging and monitoring
What is a key feature of AWS Lambda as a compute service?
Subsecond metering
What is important for designing microservices-based applications on FaaS in terms of responsiveness?
Consideration for startup latency and invocation delay
What is a key feature of serverless architectures?
Automatic scaling with the number of requests
Which technology abstracted the execution environment from the code, a first of its kind?
AWS Lambda
What is a key characteristic of containers?
Share the host system’s kernel
What does Docker enable for software development?
Packaging applications with dependencies into a standardized unit
What is a key attribute of serverless computing platforms?
Event-driven architecture
What is the pricing for Cloud Functions after the free 2 million invocations per month?
$0.40 per million invocations
What is the purpose of cookies in relation to website customization?
To allow customization of sites without repeating preferences
What is the key characteristic of secure/"protected" cookies?
The secure attribute enabled and only used via https
What type of cookies are referred to as 3rd party cookies?
Doubleclick cookies
What is the role of the browser in the cookie processing algorithm?
Scanning its cookie database for any cookies whose domain and path matches the requested URL
What happens when a new cookie with the same NAME, domain, and path as an existing cookie is encountered?
The old cookie is discarded and the new one overwrites it
What is a common hack for deleting cookies?
Overwriting a cookie with a bogus value and backdated or short-lived expires=
What does the 'secure' keyword on a cookie indicate?
The cookie should only be sent over HTTPS
How does JavaScript set and send cookies?
Via the document object's 'cookie' property
What is the purpose of cookie-based marketing?
To utilize cookies and databases to create, maintain, and utilize consumer profiles for customized online advertising
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.
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.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free