A company runs SQL Server Database Engine and SQL Server Reporting Services (SSRS)
in native mode. Reports are based on data that is cached in multiple shared datasets.
Source data is archived each day at midnight for regulatory compliance purposes. The
shared datasets may continue to cache data that should not be used in reports. Shared
report schedules are often paused during nightly server maintenance windows.
Reports must not return archived data.
You need to create a fully automated solution to ensure that reports do not deliver archived
data.
What should you do? (More than one answer choice may achieve the goal. Select the BEST
answer.)
A.
Write a script that calls the flushcache method to clear individual items from the SSRS
cache. Create a SQL Server Agent job that runs rs.exe with the script as an input file, and
schedule the job to run every day after the archive process completes.
B.
Create a SQL Server Agent job that uses a Transact-SQL (T-SQL) step to truncate the
dbo.ExecutionCache table in the ReportServerTempDB database. Schedule the job to run
every day after the archive process completes.
C.
Create a SQL Server Agent job that restarts the SQL Server Reporting Services service.
Schedule the job to run every day after the archive process completes.
D.
Create a shared schedule. Configure the datasets to expire on the shared schedule.