def get_key_val_of_max_key(dict_obj):
    """Returns the key-value pair with the largest key in the given dict.

    Example:
    --------
    >>> dict_obj = {5: 'g', 3: 'z'}
    >>> print(get_key_val_of_max_key(dict_obj))
    (5, 'g')
    """
    return max(dict_obj.items(), key=lambda item: item[0])