One way to determine the type of bond that forms is by checking the difference in electronegativity of the elements. When the difference in electronegativity is less than 1.7, the bond formed will be a covalent bond, since neither element is capable of completely taking electrons from the other, and therefore they are shared.
When the difference is greater than 1.7, one of the elements is much more electronegative than the other, so they will not share electrons but one element will give its electrons to the other, this is an ionic bond. Now let's see the difference of electronegativities of the elements of these groups.
Difference of electronegativities: 2.99-0.84=2.15
If the electronegativity difference is greater than 1.7, therefore the bond will be an ionic bond. In addition, the most electronegative element will be the one that takes the electrons and the other group will donate them.
In summary, the answer would be:
The bond between group 1 and group 17 of the periodic table will be an ionic bond. Since the electronegativity difference is greater than 1.7. Group 1 will give its electron to the elements of group 17, since group 17 elements are more electronegative.