President Uhuru Kenyatta has taken oath of allegiance and due execution of his office at a ceremony presided over by Chief Justice David Maraga.