Which code segment should you insert at line 21?

You develop a service that runs on a worker role in Azure. The service caches a large amount of data from a
database at startup. The service has a configuration file that includes two settings named ConnectionString and
SleepInterval.
The service must restart when the value of the ConnectionString setting changes. The service must NOT
restart when the value of the SleepInterval setting changes.
You have the following code. Line numbers are for reference only.

You need to configure the service.
Which code segment should you insert at line 21?

You develop a service that runs on a worker role in Azure. The service caches a large amount of data from a
database at startup. The service has a configuration file that includes two settings named ConnectionString and
SleepInterval.
The service must restart when the value of the ConnectionString setting changes. The service must NOT
restart when the value of the SleepInterval setting changes.
You have the following code. Line numbers are for reference only.

You need to configure the service.
Which code segment should you insert at line 21?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 0

Your email address will not be published. Required fields are marked *