Configure WCF services by using configuration settings

Which of the following items can be handled through configuration? (Choose all that apply)

Defining the service’s type.
Defining the service’s contract.
Adding metadata exchange.
Specifying a security configuration.