Salesforce archives the following activities:
Salesforce does not delete archived activities, but they can be deleted manually or use Archive to delete them from Salesforce and Archive into AWS/Azure.
You can read more about Salesforce Archiving here:
https://help.salesforce.com/articleView?id=activities_archived.htm&type=5
If you have NOT enabled the new policy configuration window (to archive records that are already archived by Salesforce into Archive) you must add the following specific clause to the query:
WHERE IsDeleted=False AND IsArchived=True Limit XXX
For Example:
The regular archive policy: Select Id From Task Where Title='' Limit 10, should be manually changed to: Select Id From Task Where Title = '' AND IsDeleted=False AND IsArchived=True Limit 10