Become a GOLD member of Deccansoft and get access to 40+ courses!!
NewBatches/Webinars
Packages
Gold Membership
Bestseller
Microsoft Azure Suite & Suite Plus
Power Platform Acadamy
New
Azure DevOps Expert & Expert Plus
MS.NET Foundation For Beginners
MS.NET Full Stack Developer
UI / Web Development
SQL Server & MSBI Tools
Software Testing
Courses
MS.NET Courses (Includes Live Project)
Complete C#, OOPs and Windows Programing
ASP.NET MVC Online Training
ASP.NET WebForms
ASP.NET Core
WCF incl. Web Services and Remoting
WPF incl. MVVM and Prism
LINQ and Entity Framework
Live Project Training for Developing Enterprise Application
Live Project using Ntier Arch (.NET5 + EF Core + Angular)
Microservices using .NET Core
Gold Membership
CareerStep IT Program
Client-side UI Technologies
Building Static Web Pages using HTML and CSS
JavaScript and HTML DOM
jQuery, AJAX and JSON
Building Interactive Web Pages using HTML5 and CSS3
BootStrap + Live Examples
AngularJS + Live Project
Angular + Typescript
ReactJS
KnockoutJS
Xamarin
SQL Server + MSBI
SQL Server 2017
Querying Data with Transact-SQL(70-761)
SQL Server Integration Service (SSIS)
SQL Server Reporting Service (SSRS)
SQL Service Analysis Service (SSAS)
Cloud Computing / Azure / AWS
AZ-900: Microsoft Azure Fundamentals
Azure Suite (AZ-104+AZ-204+AZ-305+ AZ-500)
AZ-104: Microsoft Azure Administrator
AZ-204: Developing Solutions for Microsoft Azure
AZ-305: Microsoft Azure Architect Technologies and Design
DP-203: Data Engineering on Microsoft Azure
Amazon Web Services (AWS)
DevOps Expert
AZ-400: Microsoft Azure DevOps
Docker by Sandeep Soni
Kubernetes by Sandeep Soni
Docker & Kubernetes by Rahul Rampurkar
IaC Using Terraform
Powershell
Microsoft Power Platform
Microsoft Power Platform
Data Analytics using PowerBI (DA-100)
Testing Tools
Manual Testing
Selenium Testing with Java(Live Training)
Others
Python Programming
C and Data Structure
Core Java
OOPs and C++
Advance Java
Complete Azure Training
Pricing
Videos
Testimonials
Azure Certification
Contact Us
Login
Login or Register
×
Sign In
Register
Forgot Password?
How did you find us
WhatsApp
YouTube
LinkedIn
Facebook
Telegram
Twitter
Google
Referred by Friend
Refresh
Input symbols
By clicking Register, you accept to the
terms and conditions
and that you have read our
privacy policy.
Recover Password
×
Submit
Enquiry Now
Where did you come to know about us
WhatsApp
YouTube
LinkedIn
Facebook
LinkedIn Ad
Email
Twitter
Google
Referred
Other
Refresh
Input symbols
Web Caching
Interview Questions and Answer
1. Which object can be used to store frequently used items in the server’s memory for quick retrieval?
Options:
a. Cache
b. Data
c. System.Object
d. Generic class
Reveal Answer
2. Is the cache object available for all web forms with in a web application?
Options:
a. Yes
b. No
Reveal Answer
3. What are the different ways to store data in the Cache object?
Options:
a. Use the assignment
b. Use the insert method
c. Use the Add method
d. Above All
Reveal Answer
4. What are the parameters of the insert and add methods?
Options:
a. AbsoluteExpiration
b. SlidingExpiration
c. Both
d. None
Reveal Answer
5. How do you retrieve the value of a cache item stored in the servers memory?
Options:
a. Item’s Key
b. Index
c. address of the object
d. using pointer
Reveal Answer
6. We can use the ___________ directive to control page output caching in ASP.NET.
Options:
a. @OutputCache
b. @OutputCaching
c. @CacheOutput
d. @InputCaching
Reveal Answer
7. We can Use the ____________ class to store arbitrary objects, such as datasets, to server memory.
Options:
a. HttpCaching
b. HttpCacheServerPolicy
c. HttpCachePolicy
d. CacheMemoryPolicy
Reveal Answer
8. ______________ is a technique of persisting the data in memory for immediate access to requesting program calls.
Options:
a. Caching
b. Request
c. Response
d. Sessions
Reveal Answer
9. With ______________ caching one cannot cache objects between pages within an application.
Options:
a. Page level output caching
b. Page fragment caching
c. Data caching
d. Application Level caching
Reveal Answer
10. The __________________method translates the @Output Cache directive into HttpCachePolicy class methods
Options:
a. Page.OutputCache
b. Page.InitOutputCache
c. Page.InitCache
d. Page.InputOutputCache
Reveal Answer
11. ____________ is the attribute of @OutputCache directive, which determines cache entries by Get or Post parameters
Options:
a. VaryByParameter
b. VarByParam
c. VaryByParam
d. VaryByCustom
e. VarByParamater
Reveal Answer
12. The _______________ attribute of @Output Cache directive determines where the item is to be cached.
Options:
a. Location
b. Place
c. Status
d. CachingLocation
Reveal Answer
13. The _____________ attribute of @Output Cache directive contains the default setting Browser, which means that a different instance of an item is cached for each browser version that requests it.
Options:
a. VaryByParameter
b. VaryByParam
c. VaryByCustom
d. VarByParamater
Reveal Answer
14. When we use _________, changes to the Query String variable's case result in additional cache entries.
Options:
a. VaryByParam
b. VarByParameter
c. VaryByCustom
d. VaryByHeader
Reveal Answer
15. ___________ caching, caches the dynamic response generated by a request.
Options:
a. Output
b. Fragment
c. Data
d. Application
Reveal Answer
16. __________ caching, caches portions of a response generated by a request.
Options:
a. Output
b. Fragment
c. Data
d. Application
Reveal Answer
17. _________ caching refers to the caching of individual user controls (.ascx) within a Web Form.
Options:
a. Output
b. Fragment
c. Data
d. Application
Reveal Answer
18. . ____________ caching is useful when we need to cache only a subset of a page.
Options:
a. Output
b. Fragment
c. Data
d. Application
Reveal Answer
19. The ____________ attribute varies the cached fragment by controls within the user control.
Options:
a. VaryByParam
b. VaryByControl
c. VaryByHeader
d. VaryByCustom
Reveal Answer
20. In addition to @OutputCaching directive, we can also adjust the caching options programmatically using
Options:
a. CacheAPI
b. OutputCacheAPI
c. OutputCache
d. None of the above
Reveal Answer
21. ______________ is used to notify applications when their objects are removed from the cache.
Options:
a. OnRemoveCallBack
b. OnRemoveCallReturn
c. RemoveOnCallBack
d. RemoveOnCallReturn
Reveal Answer
22. _____________ enables you to make the cache entry dependent on the database, so the cache entry will only be cleared when data in the database is changed.
Options:
a. SqlCacheInvalidation
b. SqlCacheValidation
c. CacheInvalidation
d. Polling-based Invalidation
e. None of the above
Reveal Answer
23. A ______________is a combination of concepts which define when a cache entry expires.
Options:
a. Cache policy
b. Expiration policy
c. Cache expiration duration policy
d. Cache expiration policy
Reveal Answer
24. ___________ refers to a specific point in time when the cache entry will expire. Once that point in time has elapsed, the cache entry is expired and can be removed from the cache.
Options:
a. Absolute expiration
b. Sliding expiration
c. Cache dependency
d. Cache priority
Reveal Answer
25. ____________ refers to a span of time in which the cache entry must be retrieved from the cache in order to prevent expiration.
Options:
a. Absolute expiration
b. Sliding expiration
c. Cache dependency
d. Cache priority
Reveal Answer
26. _______________ are references to other information about the cache entry. The dependency might be on a file or database record. When the dependency has changed, the cache entry is expired.
Options:
a. Absolute expiration
b. Sliding expiration
c. Cache dependency
d. Cache priority
Reveal Answer
27. _______________ indicates the importance of the data relative to other cache entries. This is used to determine which items to expire in the cache first when system resources become scarce.
Options:
a. Absolute expiration
b. Sliding expiration
c. Cache dependency
d. Cache priority
Reveal Answer
28. _______________method must be called somewhere in the application before the first SQL query is executed.
Options:
a. System.Data.SqlClient.SqlDependency.Start()
b. System.Data.SqlClient.SqlDependency.Stop()
c. System.Data.SqlClient.SqlDependency.Status()
d. None of the above
Reveal Answer
Packages
Gold Membership
Microsoft Azure Suite &Suite Plus
Azure DevOps Expert &Expert Plus
MS.NET Foundation For Beginners
MS.NET Full Stack Developer
UI / Web Development
SQL Server & MSBI Tools
Software Testing
Resources
Blog
Deccansoft
AzureA2Z
Wall of Fame
On-Job Tech Support
About
About BestDotNetTraining
About Trainer
Testimonials
FAQ
Other links
About Us
Contact Us
Leave us a feedback
Sitemap
Privacy Policy
Terms & Conditions
Proudly Powered by